Cisco-IOS-XR-ipv4-bgp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-bgp package operational data. This module contains ...

  • Version: 2021-05-10

    Cisco-IOS-XR-ipv4-bgp-oper@2021-05-10


    
      module Cisco-IOS-XR-ipv4-bgp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oper";
    
        prefix ipv4-bgp-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ipv4-bgp-datatypes {
          prefix dt1;
        }
    
        include Cisco-IOS-XR-ipv4-bgp-oper-sub1 {
          revision-date "2021-05-10";
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for Cisco IOS-XR ipv4-bgp package operational data.
         
         This module contains definitions
         for the following management objects:
           bgp: BGP operational data
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-05-10" {
          description
            "Added platform capability mix srte CLI
           2021-03-15
             Added Export Allow Config for backup
           2021-03-05
             Deprecated Hidden commands
           2021-03-05
             Added SR Policy Path Prefernce in Bestpath Compare
           2020-10-04
             Added Soft NextHop Validation and Metric
           2020-09-30
             Added LATEST bestpath comparison reason
           2020-09-18
             Added SRv6 TE BSID information
           2020-07-15
             Changed VRFDBVRFTable pathformat";
        }
    
        revision "2020-06-23" {
          description
            "changed the afi from integer to string in BPM entities
           2020-03-30
           Extended flags to 16 bits and changed leaf names as per convention";
        }
    
        revision "2020-01-11" {
          description
            "Fixing invalid range for prefix length.
           2019-08-31
           Fixing revision error in module.";
        }
    
        revision "2019-04-05" {
          description
            "Fixing backward compatibility error in module";
        }
    
        revision "2019-04-05" {
          description
            "Added schema for opercoverage missing paths";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-06-26" {
          description
            "Change identifiers to be more readable.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-08-27" {
          description "IOS XR 5.3.2 revision.";
        }
    
        semver:module-version "4.0.0";
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Bgp-rpki-edm-af {
          type enumeration {
            enum "ipv4" {
              value 2;
              description "IPv4";
            }
            enum "ipv6" {
              value 10;
              description "IPv6";
            }
          }
          description "Bgp rpki edm af";
        }
    
        typedef Bgp-epe-obj {
          type union {
            type enumeration {
              enum "epe-peer-type" {
                value 1;
                description
                  "Peer as an EPE object";
              }
              enum "epe-peer-set-type" {
                value 2;
                description
                  "Peer-Set as an EPE object";
              }
              enum "epe-adjacency-type" {
                value 3;
                description
                  "Firsthop Adjacency as an EPE object";
              }
            }
            type uint32 {
              range "1..3";
            }
          }
          description "Bgp epe obj";
        }
    
        typedef Bgp-route {
          type enumeration {
            enum "used" {
              value 0;
              description
                "Used path from neighbor";
            }
            enum "received-only" {
              value 1;
              description
                "Received only path from neighbor";
            }
            enum "safi-labeled-unicast-used" {
              value 2;
              description
                "Used path from neighbor received via
               labeled-unicast SAFI";
            }
            enum
              "safi-labeled-unicast-received-only" {
              value 3;
              description
                "Received only path from neighbor received via
               labeled-unicast SAFI";
            }
            enum "rib" {
              value 4;
              description
                "Redistributed from the RIB";
            }
            enum "aggregate" {
              value 5;
              description
                "Locally generated aggregate";
            }
          }
          description "Bgp route";
        }
    
        typedef Bgp-entity {
          type enumeration {
            enum "af-group" {
              value 0;
              description "Address family group";
            }
            enum "session-group" {
              value 1;
              description
                "BGP Peer Session group";
            }
            enum "neighbor-group" {
              value 2;
              description "BGP Peer group";
            }
            enum "neighbor" {
              value 3;
              description "BGP Neighbor";
            }
          }
          description "Bgp entity";
        }
    
        typedef Bgp-route-distinguisher {
          type string;
          description "Bgp route distinguisher";
        }
    
        container bgp {
          config false;
          description "BGP operational data";
          container config-instances {
            description
              "Instance specific BGP data";
            list config-instance {
              key "instance-name";
              description
                "Instance specific BGP data";
              container config-instance-default-vrf {
                description
                  "Default VRF related configuration data";
                container entity-configurations {
                  description
                    "The BGP Entity Configuration table";
                  list entity-configuration {
                    description
                      "A BGP Entity Configuration table entry";
                    leaf entity-type {
                      type Bgp-entity;
                      description
                        "Type of the Entity configuration  table entry";
                    }
    
                    leaf neighbor-address {
                      type inet:ip-address-no-zone;
                      description
                        "IPv4 or IPv6 Address of the BGP Neighbor";
                    }
    
                    leaf entity-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the Entity configuration table entry";
                    }
    
                    leaf length {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the subnet prefix";
                    }
    
                    container neighbor-address-xr {
                      description
                        "Neighbor Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container neighbor-address-xr
    
                    container af-independent-config {
                      description
                        "BGP address-family independentconfiguration";
                      container local-ip-address {
                        description
                          "Local ipv4 or ipv6 address for neighbor
    connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container local-ip-address
    
                      container local-address-subnet {
                        description
                          "local address ipv4 or ipv6 address mask";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container local-address-subnet
    
                      container remote-as-info {
                        description
                          "Remote AS number item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container remote-as-info
    
                      container speaker-id-info {
                        description
                          "Configured speaker ID item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container speaker-id-info
    
                      container min-advertisement-info {
                        description
                          "Minimum advertisement interval item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container min-advertisement-info
    
                      container description-info {
                        description
                          "Description informationof BGP configuration";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container description-info
    
                      container ebgp-hop-count-info {
                        description
                          "EBGP neighbors hop count item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container ebgp-hop-count-info
    
                      container tcpmss-info {
                        description
                          "TCP Maximum Segment Size item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container tcpmss-info
    
                      container bmp-servers-info {
                        description
                          "BMP Servers Configuredinfo";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container bmp-servers-info
    
                      container keychain-info {
                        description
                          "Neighbor Keychain item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container keychain-info
    
                      container local-as-info {
                        description
                          "Local AS number item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container local-as-info
    
                      container password-info {
                        description
                          "Neighbor password item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container password-info
    
                      container receive-buffer-info {
                        description
                          "Receive buffer sizes item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container receive-buffer-info
    
                      container send-buffer-info {
                        description
                          "Send buffer sizes item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container send-buffer-info
    
                      container shutdown-info {
                        description
                          "Shutdown item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container shutdown-info
    
                      container timers-info {
                        description
                          "Timers item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container timers-info
    
                      container local-address-info {
                        description
                          "Local address for theBGP configuration";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container local-address-info
    
                      container msg-log-in-info {
                        description
                          "Message Log Inbound item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container msg-log-in-info
    
                      container msg-log-out-info {
                        description
                          "Message Log Outbound item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container msg-log-out-info
    
                      container update-source-info {
                        description
                          "Updating the source information";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container update-source-info
    
                      container local-address-subnet-info {
                        description
                          "Local address of the subnet";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container local-address-subnet-info
    
                      container dmz-link-bandwidth-info {
                        description
                          "DMZ link bandwidth item ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container dmz-link-bandwidth-info
    
                      container ebgp-recv-dmz-info {
                        description
                          "EBGP receive DMZ link bandwidth item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container ebgp-recv-dmz-info
    
                      container ebgp-send-dmz-info {
                        description
                          "EBGP send DMZ link bandwidth item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container ebgp-send-dmz-info
    
                      container ttl-security-info {
                        description
                          "BGP TTL Security item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container ttl-security-info
    
                      container session-open-mode-info {
                        description
                          "TCP conn open mode info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container session-open-mode-info
    
                      container bfd-info {
                        description
                          "BFD item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container bfd-info
    
                      container bfd-mininterval-info {
                        description
                          "BFD Mininterval item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container bfd-mininterval-info
    
                      container bfd-multiplier-info {
                        description
                          "BFD Multiplier item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container bfd-multiplier-info
    
                      container tos-info {
                        description
                          "TOS item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container tos-info
    
                      container nsr-disabled-info {
                        description
                          "NSR item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container nsr-disabled-info
    
                      container graceful-restart-disabled-info {
                        description
                          "Information of disabled gracefulrestart";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container graceful-restart-disabled-info
    
                      container nbr-restart-time-info {
                        description
                          "Restart time item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container nbr-restart-time-info
    
                      container nbr-stale-path-time-info {
                        description
                          "Stale-path time item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container nbr-stale-path-time-info
    
                      container nbr-enforce-first-as-info {
                        description
                          "Neighbor enforce first AS info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container nbr-enforce-first-as-info
    
                      container cluster-id-info {
                        description
                          "Cluster ID item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container cluster-id-info
    
                      container ignore-connected-info {
                        description
                          "Connection information is ignored";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container ignore-connected-info
    
                      container internal-vpn-client-info {
                        description
                          "Internal VPN Client Info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container internal-vpn-client-info
    
                      container addpath-send-capability-info {
                        description
                          "BGP configuration additional pathcapability of
    sending";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container addpath-send-capability-info
    
                      container addpath-receive-capability-info {
                        description
                          "BGP configuration additional pathcapability of
    receiving";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container addpath-receive-capability-info
    
                      container egress-peer-engineering-info {
                        description
                          "Information for the peers egresstraffic";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container egress-peer-engineering-info
    
                      container epe-peer-set-segment-id-info {
                        description
                          "Information for the EPE Peer set";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container epe-peer-set-segment-id-info
    
                      container epe-peer-segment-id-info {
                        description
                          "Information for the EPE Peer SID";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container epe-peer-segment-id-info
    
                      container update-error-handling-no-reset-info {
                        description
                          "Error-handling avoid-reset config info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container update-error-handling-no-reset-info
    
                      container prefix-validation-disable-info {
                        description
                          "RPKI disable info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container prefix-validation-disable-info
    
                      container prefix-validation-use-validit-info {
                        description
                          "RPKI use validity";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container prefix-validation-use-validit-info
    
                      container prefix-validation-allow-invalid-info {
                        description
                          "RPKI allow invalid info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container prefix-validation-allow-invalid-info
    
                      container prefix-validation-signal-ibgp-info {
                        description
                          "RPKI signal ibgp info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container prefix-validation-signal-ibgp-info
    
                      container neighbor-update-filter-exists-info {
                        description
                          "Neighbor update filter configuration info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container neighbor-update-filter-exists-info
    
                      container neighbor-update-filter-message-buffer-count-info {
                        description
                          "Number of neighbor messages filtered";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container neighbor-update-filter-message-buffer-count-info
    
                      container neighbor-update-filter-syslog-disable-info {
                        description
                          "Update in filtering loggingdisable";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container neighbor-update-filter-syslog-disable-info
    
                      container neighbor-update-filter-attribute-info {
                        description
                          "Update in filteringattribute filter group";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container neighbor-update-filter-attribute-info
    
                      container graceful-shutdown-info {
                        description
                          "Graceful BGP session shutdown";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container graceful-shutdown-info
    
                      container graceful-shutdown-loc-pref-info {
                        description
                          "The local prefrence for graceful shutdown";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container graceful-shutdown-loc-pref-info
    
                      container graceful-shutdown-as-prepends-info {
                        description
                          "GracefulShutdownASPrepends info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container graceful-shutdown-as-prepends-info
    
                      container graceful-shutdown-activate-info {
                        description
                          "Information for the activation ofgraceful
    shutdown";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container graceful-shutdown-activate-info
    
                      container update-in-safi14-merge-info {
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor
    info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container update-in-safi14-merge-info
    
                      container capability-negotiation-suppressed-info {
                        description
                          "Information for the negotiation of suppressed
    capability";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container capability-negotiation-suppressed-info
    
                      container suppress4-bbyte-as-info {
                        description
                          "BGP suppress 4byte-as item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container suppress4-bbyte-as-info
    
                      container neighbor-remote-as-list-info {
                        description
                          "Neighbor range  remote-as-list group info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container neighbor-remote-as-list-info
    
                      container max-peers-info {
                        description
                          "Max dynamic nbrs in range info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container max-peers-info
    
                      container idle-watch-time-info {
                        description
                          "Idle Watch time item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container idle-watch-time-info
    
                      container ao-keychain-info {
                        description
                          "Neighbor AO keychain item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container ao-keychain-info
    
                      container extended-nh-encoding-capability-suppressed-info {
                        description
                          "Information for the extended nexthop encoding
    capability";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container extended-nh-encoding-capability-suppressed-info
    
                      leaf remote-as-number-xx {
                        type uint32;
                        description
                          "First half of Remote ASN";
                      }
    
                      leaf remote-as-number-yy {
                        type uint32;
                        description
                          "Second half of Remote ASN";
                      }
    
                      leaf configured-speaker-id {
                        type uint32;
                        description
                          "Identification for the configuredspeaker";
                      }
    
                      leaf tcp-mss {
                        type uint32;
                        description
                          "Maximum Segment Size";
                      }
    
                      leaf min-advertisement-interval {
                        type uint32;
                        description
                          "Minimum amount of time beforesending an
    advertisement";
                      }
    
                      leaf min-advertisement-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement time between updates for a
    neighborsession in  milliseconds";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP address-family independentconfiguration
    description";
                      }
    
                      leaf ebgp-hop-count {
                        type uint32;
                        description
                          "EBGP neighbors hop count";
                      }
    
                      leaf bmp-servers {
                        type uint32;
                        description
                          "BMP Servers activated";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf keychain {
                        type string;
                        description
                          "Neighbor keychain Name";
                      }
    
                      leaf local-as-number-xx {
                        type uint32;
                        description
                          "First half of Local ASN";
                      }
    
                      leaf local-as-number-yy {
                        type uint32;
                        description
                          "Second half of Local ASN";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Local AS no-prepend option";
                      }
    
                      leaf password {
                        type string;
                        description
                          "Neighbor password";
                      }
    
                      leaf socket-buffer-receive-size {
                        type uint32;
                        description
                          "Socket receive buffer size";
                      }
    
                      leaf bgp-buffer-receive-size {
                        type uint32;
                        description
                          "BGP receive buffer size";
                      }
    
                      leaf socket-buffer-send-size {
                        type uint32;
                        description
                          "Socket send buffer size";
                      }
    
                      leaf bgp-buffer-send-size {
                        type uint32;
                        description
                          "BGP send buffer size";
                      }
    
                      leaf adminstrative-shutdown {
                        type boolean;
                        description
                          "Flag to indicate peer is administratively
    shutdown";
                      }
    
                      leaf keepalive-interval {
                        type uint32;
                        description
                          "Timer for the keepalive event";
                      }
    
                      leaf hold-time-value {
                        type uint32;
                        description "Holdtime";
                      }
    
                      leaf min-acc-hold-time-value {
                        type uint32;
                        description
                          "Min acceptable holdtimefrom neighbor";
                      }
    
                      leaf msg-log-in-buf-count {
                        type uint32;
                        description
                          "Message Log buffer Inbound count";
                      }
    
                      leaf msg-log-out-buf-count {
                        type uint32;
                        description
                          "Message Log buffer Outbound count";
                      }
    
                      leaf route-updates-source {
                        type string;
                        description
                          "Source of routing updates";
                      }
    
                      leaf local-address-subnet-len {
                        type uint32;
                        description
                          "local address prefix len";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Propagate the DMZ link bandwidth";
                      }
    
                      leaf ebgp-recv-dmz {
                        type uint32;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Send DMZ link bandwidthto ebgp peer";
                      }
    
                      leaf ttl-security {
                        type uint32;
                        description
                          "Enable BGP TTL Security";
                      }
    
                      leaf update-in-safi14-merge {
                        type uint32;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf capability-negotiation-suppressed {
                        type uint32;
                        description
                          "Disabling the capabilitynegotiation completely";
                      }
    
                      leaf four-byte-as-capability-suppressed {
                        type uint32;
                        description
                          "Suppressing the 4-byte AS capability";
                      }
    
                      leaf extended-nh-encoding-capability-suppressed {
                        type uint32;
                        description
                          "Disabling the extendednexthop encoding
    capability";
                      }
    
                      leaf session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "TCP open mode to be used ";
                      }
    
                      leaf bfd {
                        type uint32;
                        description
                          "Fast failure detection using BFD";
                      }
    
                      leaf bfd-mininterval {
                        type uint32;
                        description
                          "BFD Minimum Interval";
                      }
    
                      leaf bfd-multiplier {
                        type uint32;
                        description
                          "BFD Multiplier";
                      }
    
                      leaf tos-type-info {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value-info {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf nsr-disabled {
                        type uint32;
                        description
                          "Support for NSR";
                      }
    
                      leaf graceful-restart-disabled {
                        type uint32;
                        description
                          "Support for graceful-restart";
                      }
    
                      leaf nbr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Restart time (in seconds)";
                      }
    
                      leaf nbr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Stale-path time(in seconds)";
                      }
    
                      leaf nbr-enforce-first-as-status {
                        type boolean;
                        description
                          "Flag to indicate whether BGPneighbor enforced as
    firstautonomous path";
                      }
    
                      leaf nbr-cluster-id-type-info {
                        type uint8;
                        description
                          "Cluster ID Type";
                      }
    
                      leaf nbr-cluster-id-info {
                        type uint32;
                        description
                          "Cluster ID value";
                      }
    
                      leaf ignore-connected-check {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, the VPN client isan iBGP CE peer";
                      }
    
                      leaf addpath-send-capability {
                        type uint32;
                        description
                          "Indicates if addpath send capability is enabled
    or disabled";
                      }
    
                      leaf update-error-handling-no-reset {
                        type uint32;
                        description
                          "Indicates if avoid-reset behavior is enabled
    during update error-handling";
                      }
    
                      leaf addpath-receive-capability {
                        type uint32;
                        description
                          "Indicates if addpath receive capability is
    enabled or disabled";
                      }
    
                      leaf egress-peer-engineering {
                        type uint32;
                        description
                          "Indicates egress peer engineering is enabled";
                      }
    
                      leaf epe-peer-sets {
                        type string;
                        description
                          "Bitfields representing which EPE peer sets the
    neighbor belongs to";
                      }
    
                      leaf epe-peer-segment-id {
                        type uint32;
                        description
                          "Manual segment Index assigned for this neighbor";
                      }
    
                      leaf prefix-validation-disable {
                        type uint32;
                        description
                          "Disabeling the BGP bestpathprefix validation";
                      }
    
                      leaf bestpath-use-origin-as-validity {
                        type uint32;
                        description
                          "Bestpath Use Origin-AS Va";
                      }
    
                      leaf prefix-validation-allow-invalid {
                        type uint32;
                        description
                          "Allowing an invalid prefixas the BGP best path";
                      }
    
                      leaf prefix-validation-signal-ibgp {
                        type uint32;
                        description
                          "Performs a prefix origin validationfor internal
    BGP";
                      }
    
                      leaf neighbor-update-filter-exists {
                        type boolean;
                        description
                          "Indicates if neighbor filter configuration
    exists";
                      }
    
                      leaf neighbor-update-filter-message-buffer-count {
                        type uint32;
                        description
                          "Count of neighbor filter message buffers";
                      }
    
                      leaf neighbor-update-filter-message-buffer-is-non-circular {
                        type boolean;
                        description
                          "Indicates if neighbor update filter message
    buffer is circular or not";
                      }
    
                      leaf neighbor-update-filter-logging-disable {
                        type boolean;
                        description
                          "Indicates if neighbor filter logging is disabled";
                      }
    
                      leaf neighbor-update-filter-attribute-filter-group-name {
                        type string;
                        description
                          "Name of the update filter attributefilter of the
    neighbor";
                      }
    
                      leaf graceful-shutdown-exists {
                        type uint32;
                        description
                          "re-advertise all routes to and from this
    neighbor with the GSHUT community during
    Shutdown or bring-up";
                      }
    
                      leaf graceful-shutdown-loc-pref {
                        type uint32;
                        description
                          "Local Preference to advertise routes with during
    Graceful Shutdown to IBGP. Default=No Touch";
                      }
    
                      leaf graceful-shutdown-as-prepends {
                        type uint32;
                        description
                          "Prepend the local AS this many times to the AS
    path of routes advertised during Graceful
    Shutdown";
                      }
    
                      leaf graceful-shutdown-activate {
                        type uint32;
                        description
                          "Graceful Shutdown state is activated";
                      }
    
                      leaf neighbor-remote-as-list-group-name {
                        type string;
                        description
                          "Name of the remote atonomous system list group
    of neighbor";
                      }
    
                      leaf max-peers {
                        type uint32;
                        description
                          "Maximum dynamic nbrs in range";
                      }
    
                      leaf idle-watch-time {
                        type uint32;
                        units "second";
                        description
                          "Idle Watch time(in seconds)";
                      }
    
                      leaf ao-keychain {
                        type string;
                        description
                          "Neighbor AO keychain name";
                      }
    
                      leaf ao-include-tcp-options {
                        type uint32;
                        description
                          "Include TCP options AO";
                      }
    
                      leaf ao-accept-mismatch-connection {
                        type uint32;
                        description
                          "Accepting mismatch connectionfor AO";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
                    }  // container af-independent-config
    
                    leaf group-name {
                      type string;
                      description
                        "Entity/group name";
                    }
    
                    leaf configuration-type {
                      type Bgp-entities;
                      description "Entity type";
                    }
    
                    leaf address-family-identifier {
                      type string;
                      description
                        "AF identifier";
                    }
    
                    list af-dependent-config {
                      max-elements 25;
                      description
                        "Dependent configuration peraddress-family";
                      container orf-capability-info {
                        description
                          "ORF capability item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container orf-capability-info
    
                      container default-originate-info {
                        description
                          "The configuration of the defaultinformation
    originate";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container default-originate-info
    
                      container max-prefixes-info {
                        description
                          "Maximum prefixes to accept item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container max-prefixes-info
    
                      container orr-group-info {
                        description
                          "ORR group info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container orr-group-info
    
                      container next-hop-self-info {
                        description
                          "Nexthop attribute for receivedupdates to its own
    IP address";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container next-hop-self-info
    
                      container next-hop-unchanged-info {
                        description
                          "An attribute is unchanged for nexthop";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container next-hop-unchanged-info
    
                      container route-policy-in-info {
                        description
                          "Inbound route policy item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container route-policy-in-info
    
                      container route-policy-out-info {
                        description
                          "Outbound route policy item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container route-policy-out-info
    
                      container prefix-filter-info {
                        description
                          "Inbound prefix based filter item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container prefix-filter-info
    
                      container remove-private-as-info {
                        description
                          "Outbound private-AS removal item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container remove-private-as-info
    
                      container remove-private-as-in-info {
                        description
                          "Inbound private-AS removal item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container remove-private-as-in-info
    
                      container route-reflector-info {
                        description
                          "Route-reflector client item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container route-reflector-info
    
                      container legacy-pe-rt-info {
                        description
                          "Accept-legacy-pe-RT item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container legacy-pe-rt-info
    
                      container af-enabled-info {
                        description
                          "Address family activate item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container af-enabled-info
    
                      container send-community-info {
                        description
                          "Send community attribute item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container send-community-info
    
                      container send-graceful-shutdown-community-info {
                        description
                          "Send Graceful shutdown related community
    attribute item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container send-graceful-shutdown-community-info
    
                      container send-extended-community-info {
                        description
                          "Sending information aboutBGP extended community";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container send-extended-community-info
    
                      container soft-reconfig-info {
                        description
                          "Information about the BGPsoft-reconfig";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container soft-reconfig-info
    
                      container so-o-info {
                        description
                          "BGP Site-of-Origin info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container so-o-info
    
                      container upd-orig-loopchk-disable-info {
                        description
                          "Disable originator loopchk info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container upd-orig-loopchk-disable-info
    
                      container weight-info {
                        description
                          "Default weight item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container weight-info
    
                      container allowas-in-info {
                        description
                          "Allowas-in item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container allowas-in-info
    
                      container af-long-lived-graceful-start-stale-time-info {
                        description
                          "Long-lived-time item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container af-long-lived-graceful-start-stale-time-info
    
                      container af-long-lived-graceful-start-capable-info {
                        description
                          "Long-lived-time item info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container af-long-lived-graceful-start-capable-info
    
                      container as-override-info {
                        description
                          "Overriding the autonomous number";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container as-override-info
    
                      container aigp-info {
                        description "AIGP info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container aigp-info
    
                      container aigp-cost-community-info {
                        description
                          "AIGP Cost Community info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container aigp-cost-community-info
    
                      container aigp-med {
                        description
                          "AIGP MED info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container aigp-med
    
                      container accept-own-info {
                        description
                          "Information of an attributeaccept own";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container accept-own-info
    
                      container multipath-info {
                        description
                          "Information about BGP multipath";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container multipath-info
    
                      container fspec-valid-info {
                        description
                          "FSPEC Valid info";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container fspec-valid-info
    
                      container next-hop-unchanged-mpath-info {
                        description
                          "Next hop attribute is unchangedin multipath";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container next-hop-unchanged-mpath-info
    
                      container permanent-network-info {
                        description
                          "BGP network is permanent";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container permanent-network-info
    
                      container send-mcast-attr-info {
                        description
                          "Sending the BGP multicast attributeinformation";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container send-mcast-attr-info
    
                      container advertise-v4-afi-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-v4-afi-info
    
                      container advertise-v6-afi-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-v6-afi-info
    
                      container advertise-l2vpn-evpn-afi-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-l2vpn-evpn-afi-info
    
                      container advertise-dis-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-dis-info
    
                      container advertise-def-vrf-imp-disable-afi-v4-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-def-vrf-imp-disable-afi-v4-info
    
                      container advertise-def-vrf-imp-disable-afi-v6-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-def-vrf-imp-disable-afi-v6-info
    
                      container advertise-vrf-re-imp-disable-afi-v4-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-vrf-re-imp-disable-afi-v4-info
    
                      container advertise-vrf-re-imp-disable-afi-v6-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-vrf-re-imp-disable-afi-v6-info
    
                      container advertise-vrf-evpn-re-imp-disable-afi-v4-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-vrf-evpn-re-imp-disable-afi-v4-info
    
                      container advertise-vrf-evpn-re-imp-disable-afi-v6-info {
                        description
                          "Advertise Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-vrf-evpn-re-imp-disable-afi-v6-info
    
                      container af-encapsulation-type-info {
                        description
                          "The type of the encapsulation";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container af-encapsulation-type-info
    
                      container import-afi-info {
                        description
                          "Import Afi Info ";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container import-afi-info
    
                      container advertise-local-labeled-route-info {
                        description
                          "Advertise routes with local-label";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container advertise-local-labeled-route-info
    
                      container enforce-multiple-labels-info {
                        description
                          "BGP multiple lables enforcementinformation";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container enforce-multiple-labels-info
    
                      container cluster-id-allow-equal-info {
                        description
                          "Cluster ID check disabled info. This is the
    check that allows BGP to accept routes that
    contain a cluster list in which the first
    cluster ID is not equal to therouter's own
    cluster ID.";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container cluster-id-allow-equal-info
    
                      container srv6-version4-info {
                        description
                          "Enable srv6 version 4";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container srv6-version4-info
    
                      container slow-peer-info {
                        description
                          "Slow peer update group splitrelate information";
                        container inheritance-chain {
                          description
                            "Pointer to the inheritance chain";
                          list bgp-config-entid {
                            description
                              "Next entry in the list";
                            container neighbor-address {
                              description
                                "Ip address of the neighor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf address-family-identifier {
                              type string;
                              description
                                "Identifier of the BGPconfig group entity";
                            }
    
                            leaf configuration-type {
                              type Bgp-entities;
                              description
                                "Entity type";
                            }
    
                            leaf group-name {
                              type string;
                              description
                                "Name of the BGP configgroup entity";
                            }
                          }  // list bgp-config-entid
                        }  // container inheritance-chain
    
                        leaf is-item-configured {
                          type boolean;
                          description
                            "TRUE if the item value is a configured value
    different from the default";
                        }
                      }  // container slow-peer-info
    
                      leaf has-orf-capability {
                        type uint32;
                        description
                          "ORF capability";
                      }
    
                      leaf is-default-originate-not-disabled {
                        type boolean;
                        description
                          "Flag to indicate defaultoriginate is not
    disabled";
                      }
    
                      leaf address-family-identifier {
                        type string;
                        description
                          "Address Family Name";
                      }
    
                      leaf default-originate-route-policy {
                        type string;
                        description
                          "The name of the default-originateroute policy";
                      }
    
                      leaf max-prefixes {
                        type uint32;
                        description
                          "Maximum prefixes to accept";
                      }
    
                      leaf max-prefix-warn-threshold {
                        type uint32;
                        description
                          "Warning message threshhold";
                      }
    
                      leaf is-max-prefix-warn-only {
                        type boolean;
                        description
                          "Warning messages only";
                      }
    
                      leaf max-prefix-restart-time {
                        type uint32;
                        description
                          "Restart time Value";
                      }
    
                      leaf orrg-roup-name {
                        type string;
                        description
                          "Name of Optimal Route reflectiongroup the
    neighbor is part of";
                      }
    
                      leaf is-max-prefix-discard-extra-paths {
                        type boolean;
                        description
                          "Discard extra paths";
                      }
    
                      leaf is-next-hop-self-disabled {
                        type boolean;
                        description
                          "Disable next-hop calc";
                      }
    
                      leaf is-next-hop-unchanged {
                        type boolean;
                        description
                          "Don't change next-hop";
                      }
    
                      leaf permanent-network {
                        type boolean;
                        description
                          "Flag to indicate BGP networkis permanent";
                      }
    
                      leaf route-policy-in {
                        type string;
                        description
                          "Inbound route policy name";
                      }
    
                      leaf route-policy-out {
                        type string;
                        description
                          "Outbound route policy name";
                      }
    
                      leaf prefix-orf-filter {
                        type string;
                        description
                          "Inbound prefix based filter";
                      }
    
                      leaf remove-private-as-out {
                        type boolean;
                        description
                          "Outbound private-AS removal";
                      }
    
                      leaf entire-aspath-out {
                        type boolean;
                        description
                          "Outbound private-AS removalif the entire AS Path
    hasprivate ASes";
                      }
    
                      leaf remove-private-as-int {
                        type boolean;
                        description
                          "Remove private-AS internalif the internal AS
    Path hasprivate ASes";
                      }
    
                      leaf remove-private-asin {
                        type boolean;
                        description
                          "Inbound private-AS removal";
                      }
    
                      leaf entire-aspath-in {
                        type boolean;
                        description
                          "Inbound private-AS removal if the entire AS Path
    has private ASes";
                      }
    
                      leaf client-route-reflector {
                        type boolean;
                        description
                          "Route-reflector client";
                      }
    
                      leaf accept-route-legacy-pe-rt {
                        type boolean;
                        description
                          "accept-legacy-pe RT route";
                      }
    
                      leaf is-af-enabled {
                        type boolean;
                        description
                          "Entity is activated for this address family";
                      }
    
                      leaf send-community-attribute {
                        type boolean;
                        description
                          "Flag to indicate communityattribute is sent";
                      }
    
                      leaf send-graceful-shut-community-attributes {
                        type boolean;
                        description
                          "Flag to indicate graceful shutdown related
    community attributes are sent";
                      }
    
                      leaf send-extended-community-attribute {
                        type boolean;
                        description
                          "Flag to indicate BGP extended community
    attribute is sent";
                      }
    
                      leaf soft-reconfig-not-disabled {
                        type boolean;
                        description
                          "Flag to indicate if BGP soft reconfiguration is
    not disabled";
                      }
    
                      leaf alway-use-soft-reconfig {
                        type boolean;
                        description
                          "Flag to indicate if soft reconfig is always used";
                      }
    
                      leaf upd-orig-loopchk-disable {
                        type boolean;
                        description
                          "Disable originator loop check";
                      }
    
                      leaf site-of-origin {
                        type string;
                        description
                          "The routes that are originatedfrom site";
                      }
    
                      leaf default-weight {
                        type uint32;
                        description
                          "The default value of the BGP weight";
                      }
    
                      leaf default-allowas {
                        type uint32;
                        description
                          "Default allowas_in count";
                      }
    
                      leaf af-long-lived-graceful-restart-stale-time-send {
                        type uint32;
                        description
                          "Stale time to be sent in long-lived
    graceful-restart capability";
                      }
    
                      leaf af-long-lived-graceful-restart-stale-time-accept {
                        type uint32;
                        description
                          "Maxmimum acceptable long-lived stale time
    acceptable from neighbor";
                      }
    
                      leaf af-long-lived-graceful-restart-capable {
                        type uint32;
                        description
                          "The time of the long-lived BGPgraceful-restart";
                      }
    
                      leaf is-as-override-disabled {
                        type boolean;
                        description
                          "Disable as override";
                      }
    
                      leaf is-aigp-enabled {
                        type boolean;
                        description
                          "AIGP enabled";
                      }
    
                      leaf is-aigp-cost-community-enabled {
                        type boolean;
                        description
                          "Flag to indicate cost of theAIGP community is
    enabled";
                      }
    
                      leaf is-aigp-cost-community-id {
                        type uint32;
                        description
                          "AIGP cost community ID";
                      }
    
                      leaf is-aigp-cost-community-transitive {
                        type uint32;
                        description
                          "AIGP cost community ID is transitive";
                      }
    
                      leaf aigp-cost-community-poi {
                        type uint32;
                        description
                          "Point of insertion for AIGP cost community";
                      }
    
                      leaf is-aigp-med-enabled {
                        type boolean;
                        description
                          "AIGP to MED enabled";
                      }
    
                      leaf accept-own {
                        type boolean;
                        description "Accept Own";
                      }
    
                      leaf multipath {
                        type boolean;
                        description
                          "Flag to indicate BGP multipath";
                      }
    
                      leaf is-fspec-valid-enabled {
                        type boolean;
                        description
                          "FSPEC VALID enabled";
                      }
    
                      leaf is-next-hop-unchanged-mpath {
                        type boolean;
                        description
                          "Don't change mpath next-hop";
                      }
    
                      leaf is-send-mcast-attr-enabled {
                        type boolean;
                        description
                          "Flag to indicate multicastattribute enabled is
    sent";
                      }
    
                      leaf advertise-v4 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-v6 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-l2vpn-evpn {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-disable {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-def-vrf-imp-disable-v4 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-def-vrf-imp-disable-v6 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-vrf-re-imp-disable-v4 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-vrf-re-imp-disable-v6 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-vrf-evpn-re-imp-disable-v4 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf advertise-vrf-evpn-re-imp-disable-v6 {
                        type uint8;
                        description
                          "Advertise afi";
                      }
    
                      leaf encapsulation-type {
                        type uint32;
                        description
                          "The type of the BGP encapsulation";
                      }
    
                      leaf import {
                        type boolean;
                        description
                          "Flag to indicate BGP importing";
                      }
    
                      leaf import-stitching {
                        type boolean;
                        description
                          "Flag to indicate if BGP stitching RTs are
    imported";
                      }
    
                      leaf import-reoriginate {
                        type boolean;
                        description
                          "Flag to indicate reoriginate import";
                      }
    
                      leaf import-reoriginate-stitching {
                        type boolean;
                        description
                          "Flag to indicate reoriginate stitchingis
    imported in RTs";
                      }
    
                      leaf advertise-local-labeled-route {
                        type uint32;
                        description
                          "Advertise routes with local-label";
                      }
    
                      leaf enforce-multiple-labels {
                        type uint32;
                        description
                          "BGP multiple labels enforced";
                      }
    
                      leaf srv6-version4 {
                        type boolean;
                        description
                          "SRV6 Version4 compatible neighbor";
                      }
    
                      leaf cluster-id-check-disabled {
                        type boolean;
                        description
                          "Flag to indicate cluster ID check is disabled.
    This allows BGP to accept routes that may
    contain a cluster list in which the first
    cluster ID is not equal to the router's own
    cluster ID.";
                      }
    
                      leaf slow-peer-detection-enable {
                        type boolean;
                        description
                          "Enable slow peer detection";
                      }
    
                      leaf slow-peer-static-flag {
                        type boolean;
                        description
                          "Static splitting";
                      }
    
                      leaf slow-peer-update-group-split-type {
                        type Bgp-slow-peer-updgrp-split;
                        description
                          "Disable or Permanent";
                      }
    
                      leaf rpki-options {
                        type uint32;
                        description
                          "Options to indicate if rpki tested paths are to
    be stored";
                      }
                    }  // list af-dependent-config
                  }  // list entity-configuration
                }  // container entity-configurations
    
                container configuration-users {
                  description
                    "The BGP configuration users table";
                  list configuration-user {
                    description
                      "A BGP configuration user table entry";
                    leaf entity-type {
                      type Bgp-entity;
                      description
                        "Type of the configuration user table entry";
                    }
    
                    leaf neighbor-address {
                      type inet:ip-address-no-zone;
                      description
                        "IPv4 or IPv6 Address of the BGP Neighbor";
                    }
    
                    leaf entity-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the configuration user table entry";
                    }
    
                    leaf length {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the subnet prefix";
                    }
    
                    container neighbor-address-xr {
                      description
                        "Neighbor Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container neighbor-address-xr
    
                    container af-independent-relatives {
                      description
                        "The relatives of theindependent address-family";
                      list bgp-config-entid {
                        description
                          "Next entry in the list";
                        container neighbor-address {
                          description
                            "Ip address of the neighor";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbor-address
    
                        leaf address-family-identifier {
                          type string;
                          description
                            "Identifier of the BGPconfig group entity";
                        }
    
                        leaf configuration-type {
                          type Bgp-entities;
                          description
                            "Entity type";
                        }
    
                        leaf group-name {
                          type string;
                          description
                            "Name of the BGP configgroup entity";
                        }
                      }  // list bgp-config-entid
                    }  // container af-independent-relatives
    
                    leaf group-name {
                      type string;
                      description
                        "Entity/group name";
                    }
    
                    leaf configuration-type {
                      type Bgp-entities;
                      description "Entity type";
                    }
    
                    leaf address-family-identifier {
                      type string;
                      description
                        "AF identifier";
                    }
    
                    list af-dependent-relative {
                      max-elements 25;
                      description
                        "The relatives of thedependent address-family";
                      list bgp-config-entid {
                        description
                          "Next entry in the list";
                        container neighbor-address {
                          description
                            "Ip address of the neighor";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbor-address
    
                        leaf address-family-identifier {
                          type string;
                          description
                            "Identifier of the BGPconfig group entity";
                        }
    
                        leaf configuration-type {
                          type Bgp-entities;
                          description
                            "Entity type";
                        }
    
                        leaf group-name {
                          type string;
                          description
                            "Name of the BGP configgroup entity";
                        }
                      }  // list bgp-config-entid
                    }  // list af-dependent-relative
                  }  // list configuration-user
                }  // container configuration-users
    
                container configuration-inheritances {
                  description
                    "The BGP configuration inheritance table";
                  list configuration-inheritance {
                    description
                      "A BGP configuration inheritance table entry";
                    leaf entity-type {
                      type Bgp-entity;
                      description
                        "Type of the entity configuration inheritance
    table entry";
                    }
    
                    leaf neighbor-address {
                      type inet:ip-address-no-zone;
                      description
                        "IPv4 or IPv6 Address of the BGP Neighbor";
                    }
    
                    leaf entity-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the entity configuration inheritance
    table entry";
                    }
    
                    leaf length {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the subnet prefix";
                    }
    
                    container neighbor-address-xr {
                      description
                        "Neighbor Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container neighbor-address-xr
    
                    container af-independent-relatives {
                      description
                        "The relatives of theindependent address-family";
                      list bgp-config-entid {
                        description
                          "Next entry in the list";
                        container neighbor-address {
                          description
                            "Ip address of the neighor";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbor-address
    
                        leaf address-family-identifier {
                          type string;
                          description
                            "Identifier of the BGPconfig group entity";
                        }
    
                        leaf configuration-type {
                          type Bgp-entities;
                          description
                            "Entity type";
                        }
    
                        leaf group-name {
                          type string;
                          description
                            "Name of the BGP configgroup entity";
                        }
                      }  // list bgp-config-entid
                    }  // container af-independent-relatives
    
                    leaf group-name {
                      type string;
                      description
                        "Entity/group name";
                    }
    
                    leaf configuration-type {
                      type Bgp-entities;
                      description "Entity type";
                    }
    
                    leaf address-family-identifier {
                      type string;
                      description
                        "AF identifier";
                    }
    
                    list af-dependent-relative {
                      max-elements 25;
                      description
                        "The relatives of thedependent address-family";
                      list bgp-config-entid {
                        description
                          "Next entry in the list";
                        container neighbor-address {
                          description
                            "Ip address of the neighor";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbor-address
    
                        leaf address-family-identifier {
                          type string;
                          description
                            "Identifier of the BGPconfig group entity";
                        }
    
                        leaf configuration-type {
                          type Bgp-entities;
                          description
                            "Entity type";
                        }
    
                        leaf group-name {
                          type string;
                          description
                            "Name of the BGP configgroup entity";
                        }
                      }  // list bgp-config-entid
                    }  // list af-dependent-relative
                  }  // list configuration-inheritance
                }  // container configuration-inheritances
              }  // container config-instance-default-vrf
    
              container config-vrfs {
                description
                  "VRF related configuration data";
                list config-vrf {
                  key "vrf-name";
                  description
                    "Configuration data for a particular VRF";
                  leaf vrf-name {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Name of the VRF";
                  }
    
                  container entity-configurations {
                    description
                      "The BGP Entity Configuration table";
                    list entity-configuration {
                      description
                        "A BGP Entity Configuration table entry";
                      leaf entity-type {
                        type Bgp-entity;
                        description
                          "Type of the Entity configuration  table entry";
                      }
    
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      leaf entity-name {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Name of the Entity configuration table entry";
                      }
    
                      leaf length {
                        type uint32 {
                          range "0..128";
                        }
                        description
                          "Length of the subnet prefix";
                      }
    
                      container neighbor-address-xr {
                        description
                          "Neighbor Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbor-address-xr
    
                      container af-independent-config {
                        description
                          "BGP address-family independentconfiguration";
                        container local-ip-address {
                          description
                            "Local ipv4 or ipv6 address for neighbor
    connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container local-ip-address
    
                        container local-address-subnet {
                          description
                            "local address ipv4 or ipv6 address mask";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container local-address-subnet
    
                        container remote-as-info {
                          description
                            "Remote AS number item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container remote-as-info
    
                        container speaker-id-info {
                          description
                            "Configured speaker ID item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container speaker-id-info
    
                        container min-advertisement-info {
                          description
                            "Minimum advertisement interval item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container min-advertisement-info
    
                        container description-info {
                          description
                            "Description informationof BGP configuration";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container description-info
    
                        container ebgp-hop-count-info {
                          description
                            "EBGP neighbors hop count item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container ebgp-hop-count-info
    
                        container tcpmss-info {
                          description
                            "TCP Maximum Segment Size item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container tcpmss-info
    
                        container bmp-servers-info {
                          description
                            "BMP Servers Configuredinfo";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container bmp-servers-info
    
                        container keychain-info {
                          description
                            "Neighbor Keychain item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container keychain-info
    
                        container local-as-info {
                          description
                            "Local AS number item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container local-as-info
    
                        container password-info {
                          description
                            "Neighbor password item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container password-info
    
                        container receive-buffer-info {
                          description
                            "Receive buffer sizes item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container receive-buffer-info
    
                        container send-buffer-info {
                          description
                            "Send buffer sizes item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container send-buffer-info
    
                        container shutdown-info {
                          description
                            "Shutdown item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container shutdown-info
    
                        container timers-info {
                          description
                            "Timers item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container timers-info
    
                        container local-address-info {
                          description
                            "Local address for theBGP configuration";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container local-address-info
    
                        container msg-log-in-info {
                          description
                            "Message Log Inbound item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container msg-log-in-info
    
                        container msg-log-out-info {
                          description
                            "Message Log Outbound item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container msg-log-out-info
    
                        container update-source-info {
                          description
                            "Updating the source information";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container update-source-info
    
                        container local-address-subnet-info {
                          description
                            "Local address of the subnet";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container local-address-subnet-info
    
                        container dmz-link-bandwidth-info {
                          description
                            "DMZ link bandwidth item ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container dmz-link-bandwidth-info
    
                        container ebgp-recv-dmz-info {
                          description
                            "EBGP receive DMZ link bandwidth item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container ebgp-recv-dmz-info
    
                        container ebgp-send-dmz-info {
                          description
                            "EBGP send DMZ link bandwidth item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container ebgp-send-dmz-info
    
                        container ttl-security-info {
                          description
                            "BGP TTL Security item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container ttl-security-info
    
                        container session-open-mode-info {
                          description
                            "TCP conn open mode info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container session-open-mode-info
    
                        container bfd-info {
                          description
                            "BFD item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container bfd-info
    
                        container bfd-mininterval-info {
                          description
                            "BFD Mininterval item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container bfd-mininterval-info
    
                        container bfd-multiplier-info {
                          description
                            "BFD Multiplier item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container bfd-multiplier-info
    
                        container tos-info {
                          description
                            "TOS item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container tos-info
    
                        container nsr-disabled-info {
                          description
                            "NSR item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container nsr-disabled-info
    
                        container graceful-restart-disabled-info {
                          description
                            "Information of disabled gracefulrestart";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container graceful-restart-disabled-info
    
                        container nbr-restart-time-info {
                          description
                            "Restart time item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container nbr-restart-time-info
    
                        container nbr-stale-path-time-info {
                          description
                            "Stale-path time item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container nbr-stale-path-time-info
    
                        container nbr-enforce-first-as-info {
                          description
                            "Neighbor enforce first AS info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container nbr-enforce-first-as-info
    
                        container cluster-id-info {
                          description
                            "Cluster ID item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container cluster-id-info
    
                        container ignore-connected-info {
                          description
                            "Connection information is ignored";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container ignore-connected-info
    
                        container internal-vpn-client-info {
                          description
                            "Internal VPN Client Info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container internal-vpn-client-info
    
                        container addpath-send-capability-info {
                          description
                            "BGP configuration additional pathcapability of
    sending";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container addpath-send-capability-info
    
                        container addpath-receive-capability-info {
                          description
                            "BGP configuration additional pathcapability of
    receiving";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container addpath-receive-capability-info
    
                        container egress-peer-engineering-info {
                          description
                            "Information for the peers egresstraffic";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container egress-peer-engineering-info
    
                        container epe-peer-set-segment-id-info {
                          description
                            "Information for the EPE Peer set";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container epe-peer-set-segment-id-info
    
                        container epe-peer-segment-id-info {
                          description
                            "Information for the EPE Peer SID";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container epe-peer-segment-id-info
    
                        container update-error-handling-no-reset-info {
                          description
                            "Error-handling avoid-reset config info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container update-error-handling-no-reset-info
    
                        container prefix-validation-disable-info {
                          description
                            "RPKI disable info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container prefix-validation-disable-info
    
                        container prefix-validation-use-validit-info {
                          description
                            "RPKI use validity";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container prefix-validation-use-validit-info
    
                        container prefix-validation-allow-invalid-info {
                          description
                            "RPKI allow invalid info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container prefix-validation-allow-invalid-info
    
                        container prefix-validation-signal-ibgp-info {
                          description
                            "RPKI signal ibgp info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container prefix-validation-signal-ibgp-info
    
                        container neighbor-update-filter-exists-info {
                          description
                            "Neighbor update filter configuration info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container neighbor-update-filter-exists-info
    
                        container neighbor-update-filter-message-buffer-count-info {
                          description
                            "Number of neighbor messages filtered";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container neighbor-update-filter-message-buffer-count-info
    
                        container neighbor-update-filter-syslog-disable-info {
                          description
                            "Update in filtering loggingdisable";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container neighbor-update-filter-syslog-disable-info
    
                        container neighbor-update-filter-attribute-info {
                          description
                            "Update in filteringattribute filter group";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container neighbor-update-filter-attribute-info
    
                        container graceful-shutdown-info {
                          description
                            "Graceful BGP session shutdown";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container graceful-shutdown-info
    
                        container graceful-shutdown-loc-pref-info {
                          description
                            "The local prefrence for graceful shutdown";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container graceful-shutdown-loc-pref-info
    
                        container graceful-shutdown-as-prepends-info {
                          description
                            "GracefulShutdownASPrepends info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container graceful-shutdown-as-prepends-info
    
                        container graceful-shutdown-activate-info {
                          description
                            "Information for the activation ofgraceful
    shutdown";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container graceful-shutdown-activate-info
    
                        container update-in-safi14-merge-info {
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor
    info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container update-in-safi14-merge-info
    
                        container capability-negotiation-suppressed-info {
                          description
                            "Information for the negotiation of suppressed
    capability";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container capability-negotiation-suppressed-info
    
                        container suppress4-bbyte-as-info {
                          description
                            "BGP suppress 4byte-as item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container suppress4-bbyte-as-info
    
                        container neighbor-remote-as-list-info {
                          description
                            "Neighbor range  remote-as-list group info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container neighbor-remote-as-list-info
    
                        container max-peers-info {
                          description
                            "Max dynamic nbrs in range info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container max-peers-info
    
                        container idle-watch-time-info {
                          description
                            "Idle Watch time item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container idle-watch-time-info
    
                        container ao-keychain-info {
                          description
                            "Neighbor AO keychain item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container ao-keychain-info
    
                        container extended-nh-encoding-capability-suppressed-info {
                          description
                            "Information for the extended nexthop encoding
    capability";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container extended-nh-encoding-capability-suppressed-info
    
                        leaf remote-as-number-xx {
                          type uint32;
                          description
                            "First half of Remote ASN";
                        }
    
                        leaf remote-as-number-yy {
                          type uint32;
                          description
                            "Second half of Remote ASN";
                        }
    
                        leaf configured-speaker-id {
                          type uint32;
                          description
                            "Identification for the configuredspeaker";
                        }
    
                        leaf tcp-mss {
                          type uint32;
                          description
                            "Maximum Segment Size";
                        }
    
                        leaf min-advertisement-interval {
                          type uint32;
                          description
                            "Minimum amount of time beforesending an
    advertisement";
                        }
    
                        leaf min-advertisement-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement time between updates for a
    neighborsession in  milliseconds";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP address-family independentconfiguration
    description";
                        }
    
                        leaf ebgp-hop-count {
                          type uint32;
                          description
                            "EBGP neighbors hop count";
                        }
    
                        leaf bmp-servers {
                          type uint32;
                          description
                            "BMP Servers activated";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf keychain {
                          type string;
                          description
                            "Neighbor keychain Name";
                        }
    
                        leaf local-as-number-xx {
                          type uint32;
                          description
                            "First half of Local ASN";
                        }
    
                        leaf local-as-number-yy {
                          type uint32;
                          description
                            "Second half of Local ASN";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Local AS no-prepend option";
                        }
    
                        leaf password {
                          type string;
                          description
                            "Neighbor password";
                        }
    
                        leaf socket-buffer-receive-size {
                          type uint32;
                          description
                            "Socket receive buffer size";
                        }
    
                        leaf bgp-buffer-receive-size {
                          type uint32;
                          description
                            "BGP receive buffer size";
                        }
    
                        leaf socket-buffer-send-size {
                          type uint32;
                          description
                            "Socket send buffer size";
                        }
    
                        leaf bgp-buffer-send-size {
                          type uint32;
                          description
                            "BGP send buffer size";
                        }
    
                        leaf adminstrative-shutdown {
                          type boolean;
                          description
                            "Flag to indicate peer is administratively
    shutdown";
                        }
    
                        leaf keepalive-interval {
                          type uint32;
                          description
                            "Timer for the keepalive event";
                        }
    
                        leaf hold-time-value {
                          type uint32;
                          description "Holdtime";
                        }
    
                        leaf min-acc-hold-time-value {
                          type uint32;
                          description
                            "Min acceptable holdtimefrom neighbor";
                        }
    
                        leaf msg-log-in-buf-count {
                          type uint32;
                          description
                            "Message Log buffer Inbound count";
                        }
    
                        leaf msg-log-out-buf-count {
                          type uint32;
                          description
                            "Message Log buffer Outbound count";
                        }
    
                        leaf route-updates-source {
                          type string;
                          description
                            "Source of routing updates";
                        }
    
                        leaf local-address-subnet-len {
                          type uint32;
                          description
                            "local address prefix len";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Propagate the DMZ link bandwidth";
                        }
    
                        leaf ebgp-recv-dmz {
                          type uint32;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Send DMZ link bandwidthto ebgp peer";
                        }
    
                        leaf ttl-security {
                          type uint32;
                          description
                            "Enable BGP TTL Security";
                        }
    
                        leaf update-in-safi14-merge {
                          type uint32;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf capability-negotiation-suppressed {
                          type uint32;
                          description
                            "Disabling the capabilitynegotiation completely";
                        }
    
                        leaf four-byte-as-capability-suppressed {
                          type uint32;
                          description
                            "Suppressing the 4-byte AS capability";
                        }
    
                        leaf extended-nh-encoding-capability-suppressed {
                          type uint32;
                          description
                            "Disabling the extendednexthop encoding
    capability";
                        }
    
                        leaf session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "TCP open mode to be used ";
                        }
    
                        leaf bfd {
                          type uint32;
                          description
                            "Fast failure detection using BFD";
                        }
    
                        leaf bfd-mininterval {
                          type uint32;
                          description
                            "BFD Minimum Interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD Multiplier";
                        }
    
                        leaf tos-type-info {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value-info {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf nsr-disabled {
                          type uint32;
                          description
                            "Support for NSR";
                        }
    
                        leaf graceful-restart-disabled {
                          type uint32;
                          description
                            "Support for graceful-restart";
                        }
    
                        leaf nbr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time (in seconds)";
                        }
    
                        leaf nbr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Stale-path time(in seconds)";
                        }
    
                        leaf nbr-enforce-first-as-status {
                          type boolean;
                          description
                            "Flag to indicate whether BGPneighbor enforced as
    firstautonomous path";
                        }
    
                        leaf nbr-cluster-id-type-info {
                          type uint8;
                          description
                            "Cluster ID Type";
                        }
    
                        leaf nbr-cluster-id-info {
                          type uint32;
                          description
                            "Cluster ID value";
                        }
    
                        leaf ignore-connected-check {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, the VPN client isan iBGP CE peer";
                        }
    
                        leaf addpath-send-capability {
                          type uint32;
                          description
                            "Indicates if addpath send capability is enabled
    or disabled";
                        }
    
                        leaf update-error-handling-no-reset {
                          type uint32;
                          description
                            "Indicates if avoid-reset behavior is enabled
    during update error-handling";
                        }
    
                        leaf addpath-receive-capability {
                          type uint32;
                          description
                            "Indicates if addpath receive capability is
    enabled or disabled";
                        }
    
                        leaf egress-peer-engineering {
                          type uint32;
                          description
                            "Indicates egress peer engineering is enabled";
                        }
    
                        leaf epe-peer-sets {
                          type string;
                          description
                            "Bitfields representing which EPE peer sets the
    neighbor belongs to";
                        }
    
                        leaf epe-peer-segment-id {
                          type uint32;
                          description
                            "Manual segment Index assigned for this neighbor";
                        }
    
                        leaf prefix-validation-disable {
                          type uint32;
                          description
                            "Disabeling the BGP bestpathprefix validation";
                        }
    
                        leaf bestpath-use-origin-as-validity {
                          type uint32;
                          description
                            "Bestpath Use Origin-AS Va";
                        }
    
                        leaf prefix-validation-allow-invalid {
                          type uint32;
                          description
                            "Allowing an invalid prefixas the BGP best path";
                        }
    
                        leaf prefix-validation-signal-ibgp {
                          type uint32;
                          description
                            "Performs a prefix origin validationfor internal
    BGP";
                        }
    
                        leaf neighbor-update-filter-exists {
                          type boolean;
                          description
                            "Indicates if neighbor filter configuration
    exists";
                        }
    
                        leaf neighbor-update-filter-message-buffer-count {
                          type uint32;
                          description
                            "Count of neighbor filter message buffers";
                        }
    
                        leaf neighbor-update-filter-message-buffer-is-non-circular {
                          type boolean;
                          description
                            "Indicates if neighbor update filter message
    buffer is circular or not";
                        }
    
                        leaf neighbor-update-filter-logging-disable {
                          type boolean;
                          description
                            "Indicates if neighbor filter logging is disabled";
                        }
    
                        leaf neighbor-update-filter-attribute-filter-group-name {
                          type string;
                          description
                            "Name of the update filter attributefilter of the
    neighbor";
                        }
    
                        leaf graceful-shutdown-exists {
                          type uint32;
                          description
                            "re-advertise all routes to and from this
    neighbor with the GSHUT community during
    Shutdown or bring-up";
                        }
    
                        leaf graceful-shutdown-loc-pref {
                          type uint32;
                          description
                            "Local Preference to advertise routes with during
    Graceful Shutdown to IBGP. Default=No Touch";
                        }
    
                        leaf graceful-shutdown-as-prepends {
                          type uint32;
                          description
                            "Prepend the local AS this many times to the AS
    path of routes advertised during Graceful
    Shutdown";
                        }
    
                        leaf graceful-shutdown-activate {
                          type uint32;
                          description
                            "Graceful Shutdown state is activated";
                        }
    
                        leaf neighbor-remote-as-list-group-name {
                          type string;
                          description
                            "Name of the remote atonomous system list group
    of neighbor";
                        }
    
                        leaf max-peers {
                          type uint32;
                          description
                            "Maximum dynamic nbrs in range";
                        }
    
                        leaf idle-watch-time {
                          type uint32;
                          units "second";
                          description
                            "Idle Watch time(in seconds)";
                        }
    
                        leaf ao-keychain {
                          type string;
                          description
                            "Neighbor AO keychain name";
                        }
    
                        leaf ao-include-tcp-options {
                          type uint32;
                          description
                            "Include TCP options AO";
                        }
    
                        leaf ao-accept-mismatch-connection {
                          type uint32;
                          description
                            "Accepting mismatch connectionfor AO";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
                      }  // container af-independent-config
    
                      leaf group-name {
                        type string;
                        description
                          "Entity/group name";
                      }
    
                      leaf configuration-type {
                        type Bgp-entities;
                        description
                          "Entity type";
                      }
    
                      leaf address-family-identifier {
                        type string;
                        description
                          "AF identifier";
                      }
    
                      list af-dependent-config {
                        max-elements 25;
                        description
                          "Dependent configuration peraddress-family";
                        container orf-capability-info {
                          description
                            "ORF capability item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container orf-capability-info
    
                        container default-originate-info {
                          description
                            "The configuration of the defaultinformation
    originate";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container default-originate-info
    
                        container max-prefixes-info {
                          description
                            "Maximum prefixes to accept item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container max-prefixes-info
    
                        container orr-group-info {
                          description
                            "ORR group info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container orr-group-info
    
                        container next-hop-self-info {
                          description
                            "Nexthop attribute for receivedupdates to its own
    IP address";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container next-hop-self-info
    
                        container next-hop-unchanged-info {
                          description
                            "An attribute is unchanged for nexthop";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container next-hop-unchanged-info
    
                        container route-policy-in-info {
                          description
                            "Inbound route policy item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container route-policy-in-info
    
                        container route-policy-out-info {
                          description
                            "Outbound route policy item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container route-policy-out-info
    
                        container prefix-filter-info {
                          description
                            "Inbound prefix based filter item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container prefix-filter-info
    
                        container remove-private-as-info {
                          description
                            "Outbound private-AS removal item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container remove-private-as-info
    
                        container remove-private-as-in-info {
                          description
                            "Inbound private-AS removal item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container remove-private-as-in-info
    
                        container route-reflector-info {
                          description
                            "Route-reflector client item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container route-reflector-info
    
                        container legacy-pe-rt-info {
                          description
                            "Accept-legacy-pe-RT item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container legacy-pe-rt-info
    
                        container af-enabled-info {
                          description
                            "Address family activate item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container af-enabled-info
    
                        container send-community-info {
                          description
                            "Send community attribute item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container send-community-info
    
                        container send-graceful-shutdown-community-info {
                          description
                            "Send Graceful shutdown related community
    attribute item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container send-graceful-shutdown-community-info
    
                        container send-extended-community-info {
                          description
                            "Sending information aboutBGP extended community";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container send-extended-community-info
    
                        container soft-reconfig-info {
                          description
                            "Information about the BGPsoft-reconfig";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container soft-reconfig-info
    
                        container so-o-info {
                          description
                            "BGP Site-of-Origin info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container so-o-info
    
                        container upd-orig-loopchk-disable-info {
                          description
                            "Disable originator loopchk info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container upd-orig-loopchk-disable-info
    
                        container weight-info {
                          description
                            "Default weight item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container weight-info
    
                        container allowas-in-info {
                          description
                            "Allowas-in item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container allowas-in-info
    
                        container af-long-lived-graceful-start-stale-time-info {
                          description
                            "Long-lived-time item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container af-long-lived-graceful-start-stale-time-info
    
                        container af-long-lived-graceful-start-capable-info {
                          description
                            "Long-lived-time item info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container af-long-lived-graceful-start-capable-info
    
                        container as-override-info {
                          description
                            "Overriding the autonomous number";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container as-override-info
    
                        container aigp-info {
                          description
                            "AIGP info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container aigp-info
    
                        container aigp-cost-community-info {
                          description
                            "AIGP Cost Community info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container aigp-cost-community-info
    
                        container aigp-med {
                          description
                            "AIGP MED info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container aigp-med
    
                        container accept-own-info {
                          description
                            "Information of an attributeaccept own";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container accept-own-info
    
                        container multipath-info {
                          description
                            "Information about BGP multipath";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container multipath-info
    
                        container fspec-valid-info {
                          description
                            "FSPEC Valid info";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container fspec-valid-info
    
                        container next-hop-unchanged-mpath-info {
                          description
                            "Next hop attribute is unchangedin multipath";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container next-hop-unchanged-mpath-info
    
                        container permanent-network-info {
                          description
                            "BGP network is permanent";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container permanent-network-info
    
                        container send-mcast-attr-info {
                          description
                            "Sending the BGP multicast attributeinformation";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container send-mcast-attr-info
    
                        container advertise-v4-afi-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-v4-afi-info
    
                        container advertise-v6-afi-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-v6-afi-info
    
                        container advertise-l2vpn-evpn-afi-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-l2vpn-evpn-afi-info
    
                        container advertise-dis-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-dis-info
    
                        container advertise-def-vrf-imp-disable-afi-v4-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-def-vrf-imp-disable-afi-v4-info
    
                        container advertise-def-vrf-imp-disable-afi-v6-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-def-vrf-imp-disable-afi-v6-info
    
                        container advertise-vrf-re-imp-disable-afi-v4-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-vrf-re-imp-disable-afi-v4-info
    
                        container advertise-vrf-re-imp-disable-afi-v6-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-vrf-re-imp-disable-afi-v6-info
    
                        container advertise-vrf-evpn-re-imp-disable-afi-v4-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-vrf-evpn-re-imp-disable-afi-v4-info
    
                        container advertise-vrf-evpn-re-imp-disable-afi-v6-info {
                          description
                            "Advertise Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-vrf-evpn-re-imp-disable-afi-v6-info
    
                        container af-encapsulation-type-info {
                          description
                            "The type of the encapsulation";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container af-encapsulation-type-info
    
                        container import-afi-info {
                          description
                            "Import Afi Info ";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container import-afi-info
    
                        container advertise-local-labeled-route-info {
                          description
                            "Advertise routes with local-label";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container advertise-local-labeled-route-info
    
                        container enforce-multiple-labels-info {
                          description
                            "BGP multiple lables enforcementinformation";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container enforce-multiple-labels-info
    
                        container cluster-id-allow-equal-info {
                          description
                            "Cluster ID check disabled info. This is the
    check that allows BGP to accept routes that
    contain a cluster list in which the first
    cluster ID is not equal to therouter's own
    cluster ID.";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container cluster-id-allow-equal-info
    
                        container srv6-version4-info {
                          description
                            "Enable srv6 version 4";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container srv6-version4-info
    
                        container slow-peer-info {
                          description
                            "Slow peer update group splitrelate information";
                          container inheritance-chain {
                            description
                              "Pointer to the inheritance chain";
                            list bgp-config-entid {
                              description
                                "Next entry in the list";
                              container neighbor-address {
                                description
                                  "Ip address of the neighor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf address-family-identifier {
                                type string;
                                description
                                  "Identifier of the BGPconfig group entity";
                              }
    
                              leaf configuration-type {
                                type Bgp-entities;
                                description
                                  "Entity type";
                              }
    
                              leaf group-name {
                                type string;
                                description
                                  "Name of the BGP configgroup entity";
                              }
                            }  // list bgp-config-entid
                          }  // container inheritance-chain
    
                          leaf is-item-configured {
                            type boolean;
                            description
                              "TRUE if the item value is a configured value
    different from the default";
                          }
                        }  // container slow-peer-info
    
                        leaf has-orf-capability {
                          type uint32;
                          description
                            "ORF capability";
                        }
    
                        leaf is-default-originate-not-disabled {
                          type boolean;
                          description
                            "Flag to indicate defaultoriginate is not
    disabled";
                        }
    
                        leaf address-family-identifier {
                          type string;
                          description
                            "Address Family Name";
                        }
    
                        leaf default-originate-route-policy {
                          type string;
                          description
                            "The name of the default-originateroute policy";
                        }
    
                        leaf max-prefixes {
                          type uint32;
                          description
                            "Maximum prefixes to accept";
                        }
    
                        leaf max-prefix-warn-threshold {
                          type uint32;
                          description
                            "Warning message threshhold";
                        }
    
                        leaf is-max-prefix-warn-only {
                          type boolean;
                          description
                            "Warning messages only";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint32;
                          description
                            "Restart time Value";
                        }
    
                        leaf orrg-roup-name {
                          type string;
                          description
                            "Name of Optimal Route reflectiongroup the
    neighbor is part of";
                        }
    
                        leaf is-max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths";
                        }
    
                        leaf is-next-hop-self-disabled {
                          type boolean;
                          description
                            "Disable next-hop calc";
                        }
    
                        leaf is-next-hop-unchanged {
                          type boolean;
                          description
                            "Don't change next-hop";
                        }
    
                        leaf permanent-network {
                          type boolean;
                          description
                            "Flag to indicate BGP networkis permanent";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Inbound route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outbound route policy name";
                        }
    
                        leaf prefix-orf-filter {
                          type string;
                          description
                            "Inbound prefix based filter";
                        }
    
                        leaf remove-private-as-out {
                          type boolean;
                          description
                            "Outbound private-AS removal";
                        }
    
                        leaf entire-aspath-out {
                          type boolean;
                          description
                            "Outbound private-AS removalif the entire AS Path
    hasprivate ASes";
                        }
    
                        leaf remove-private-as-int {
                          type boolean;
                          description
                            "Remove private-AS internalif the internal AS
    Path hasprivate ASes";
                        }
    
                        leaf remove-private-asin {
                          type boolean;
                          description
                            "Inbound private-AS removal";
                        }
    
                        leaf entire-aspath-in {
                          type boolean;
                          description
                            "Inbound private-AS removal if the entire AS Path
    has private ASes";
                        }
    
                        leaf client-route-reflector {
                          type boolean;
                          description
                            "Route-reflector client";
                        }
    
                        leaf accept-route-legacy-pe-rt {
                          type boolean;
                          description
                            "accept-legacy-pe RT route";
                        }
    
                        leaf is-af-enabled {
                          type boolean;
                          description
                            "Entity is activated for this address family";
                        }
    
                        leaf send-community-attribute {
                          type boolean;
                          description
                            "Flag to indicate communityattribute is sent";
                        }
    
                        leaf send-graceful-shut-community-attributes {
                          type boolean;
                          description
                            "Flag to indicate graceful shutdown related
    community attributes are sent";
                        }
    
                        leaf send-extended-community-attribute {
                          type boolean;
                          description
                            "Flag to indicate BGP extended community
    attribute is sent";
                        }
    
                        leaf soft-reconfig-not-disabled {
                          type boolean;
                          description
                            "Flag to indicate if BGP soft reconfiguration is
    not disabled";
                        }
    
                        leaf alway-use-soft-reconfig {
                          type boolean;
                          description
                            "Flag to indicate if soft reconfig is always used";
                        }
    
                        leaf upd-orig-loopchk-disable {
                          type boolean;
                          description
                            "Disable originator loop check";
                        }
    
                        leaf site-of-origin {
                          type string;
                          description
                            "The routes that are originatedfrom site";
                        }
    
                        leaf default-weight {
                          type uint32;
                          description
                            "The default value of the BGP weight";
                        }
    
                        leaf default-allowas {
                          type uint32;
                          description
                            "Default allowas_in count";
                        }
    
                        leaf af-long-lived-graceful-restart-stale-time-send {
                          type uint32;
                          description
                            "Stale time to be sent in long-lived
    graceful-restart capability";
                        }
    
                        leaf af-long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          description
                            "Maxmimum acceptable long-lived stale time
    acceptable from neighbor";
                        }
    
                        leaf af-long-lived-graceful-restart-capable {
                          type uint32;
                          description
                            "The time of the long-lived BGPgraceful-restart";
                        }
    
                        leaf is-as-override-disabled {
                          type boolean;
                          description
                            "Disable as override";
                        }
    
                        leaf is-aigp-enabled {
                          type boolean;
                          description
                            "AIGP enabled";
                        }
    
                        leaf is-aigp-cost-community-enabled {
                          type boolean;
                          description
                            "Flag to indicate cost of theAIGP community is
    enabled";
                        }
    
                        leaf is-aigp-cost-community-id {
                          type uint32;
                          description
                            "AIGP cost community ID";
                        }
    
                        leaf is-aigp-cost-community-transitive {
                          type uint32;
                          description
                            "AIGP cost community ID is transitive";
                        }
    
                        leaf aigp-cost-community-poi {
                          type uint32;
                          description
                            "Point of insertion for AIGP cost community";
                        }
    
                        leaf is-aigp-med-enabled {
                          type boolean;
                          description
                            "AIGP to MED enabled";
                        }
    
                        leaf accept-own {
                          type boolean;
                          description
                            "Accept Own";
                        }
    
                        leaf multipath {
                          type boolean;
                          description
                            "Flag to indicate BGP multipath";
                        }
    
                        leaf is-fspec-valid-enabled {
                          type boolean;
                          description
                            "FSPEC VALID enabled";
                        }
    
                        leaf is-next-hop-unchanged-mpath {
                          type boolean;
                          description
                            "Don't change mpath next-hop";
                        }
    
                        leaf is-send-mcast-attr-enabled {
                          type boolean;
                          description
                            "Flag to indicate multicastattribute enabled is
    sent";
                        }
    
                        leaf advertise-v4 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-v6 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-l2vpn-evpn {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-disable {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-def-vrf-imp-disable-v4 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-def-vrf-imp-disable-v6 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-vrf-re-imp-disable-v4 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-vrf-re-imp-disable-v6 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-vrf-evpn-re-imp-disable-v4 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf advertise-vrf-evpn-re-imp-disable-v6 {
                          type uint8;
                          description
                            "Advertise afi";
                        }
    
                        leaf encapsulation-type {
                          type uint32;
                          description
                            "The type of the BGP encapsulation";
                        }
    
                        leaf import {
                          type boolean;
                          description
                            "Flag to indicate BGP importing";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Flag to indicate if BGP stitching RTs are
    imported";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Flag to indicate reoriginate import";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Flag to indicate reoriginate stitchingis
    imported in RTs";
                        }
    
                        leaf advertise-local-labeled-route {
                          type uint32;
                          description
                            "Advertise routes with local-label";
                        }
    
                        leaf enforce-multiple-labels {
                          type uint32;
                          description
                            "BGP multiple labels enforced";
                        }
    
                        leaf srv6-version4 {
                          type boolean;
                          description
                            "SRV6 Version4 compatible neighbor";
                        }
    
                        leaf cluster-id-check-disabled {
                          type boolean;
                          description
                            "Flag to indicate cluster ID check is disabled.
    This allows BGP to accept routes that may
    contain a cluster list in which the first
    cluster ID is not equal to the router's own
    cluster ID.";
                        }
    
                        leaf slow-peer-detection-enable {
                          type boolean;
                          description
                            "Enable slow peer detection";
                        }
    
                        leaf slow-peer-static-flag {
                          type boolean;
                          description
                            "Static splitting";
                        }
    
                        leaf slow-peer-update-group-split-type {
                          type Bgp-slow-peer-updgrp-split;
                          description
                            "Disable or Permanent";
                        }
    
                        leaf rpki-options {
                          type uint32;
                          description
                            "Options to indicate if rpki tested paths are to
    be stored";
                        }
                      }  // list af-dependent-config
                    }  // list entity-configuration
                  }  // container entity-configurations
    
                  container configuration-users {
                    description
                      "The BGP configuration users table";
                    list configuration-user {
                      description
                        "A BGP configuration user table entry";
                      leaf entity-type {
                        type Bgp-entity;
                        description
                          "Type of the configuration user table entry";
                      }
    
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      leaf entity-name {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Name of the configuration user table entry";
                      }
    
                      leaf length {
                        type uint32 {
                          range "0..128";
                        }
                        description
                          "Length of the subnet prefix";
                      }
    
                      container neighbor-address-xr {
                        description
                          "Neighbor Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbor-address-xr
    
                      container af-independent-relatives {
                        description
                          "The relatives of theindependent address-family";
                        list bgp-config-entid {
                          description
                            "Next entry in the list";
                          container neighbor-address {
                            description
                              "Ip address of the neighor";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          leaf address-family-identifier {
                            type string;
                            description
                              "Identifier of the BGPconfig group entity";
                          }
    
                          leaf configuration-type {
                            type Bgp-entities;
                            description
                              "Entity type";
                          }
    
                          leaf group-name {
                            type string;
                            description
                              "Name of the BGP configgroup entity";
                          }
                        }  // list bgp-config-entid
                      }  // container af-independent-relatives
    
                      leaf group-name {
                        type string;
                        description
                          "Entity/group name";
                      }
    
                      leaf configuration-type {
                        type Bgp-entities;
                        description
                          "Entity type";
                      }
    
                      leaf address-family-identifier {
                        type string;
                        description
                          "AF identifier";
                      }
    
                      list af-dependent-relative {
                        max-elements 25;
                        description
                          "The relatives of thedependent address-family";
                        list bgp-config-entid {
                          description
                            "Next entry in the list";
                          container neighbor-address {
                            description
                              "Ip address of the neighor";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          leaf address-family-identifier {
                            type string;
                            description
                              "Identifier of the BGPconfig group entity";
                          }
    
                          leaf configuration-type {
                            type Bgp-entities;
                            description
                              "Entity type";
                          }
    
                          leaf group-name {
                            type string;
                            description
                              "Name of the BGP configgroup entity";
                          }
                        }  // list bgp-config-entid
                      }  // list af-dependent-relative
                    }  // list configuration-user
                  }  // container configuration-users
    
                  container configuration-inheritances {
                    description
                      "The BGP configuration inheritance table";
                    list configuration-inheritance {
                      description
                        "A BGP configuration inheritance table entry";
                      leaf entity-type {
                        type Bgp-entity;
                        description
                          "Type of the entity configuration inheritance
    table entry";
                      }
    
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      leaf entity-name {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Name of the entity configuration inheritance
    table entry";
                      }
    
                      leaf length {
                        type uint32 {
                          range "0..128";
                        }
                        description
                          "Length of the subnet prefix";
                      }
    
                      container neighbor-address-xr {
                        description
                          "Neighbor Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbor-address-xr
    
                      container af-independent-relatives {
                        description
                          "The relatives of theindependent address-family";
                        list bgp-config-entid {
                          description
                            "Next entry in the list";
                          container neighbor-address {
                            description
                              "Ip address of the neighor";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          leaf address-family-identifier {
                            type string;
                            description
                              "Identifier of the BGPconfig group entity";
                          }
    
                          leaf configuration-type {
                            type Bgp-entities;
                            description
                              "Entity type";
                          }
    
                          leaf group-name {
                            type string;
                            description
                              "Name of the BGP configgroup entity";
                          }
                        }  // list bgp-config-entid
                      }  // container af-independent-relatives
    
                      leaf group-name {
                        type string;
                        description
                          "Entity/group name";
                      }
    
                      leaf configuration-type {
                        type Bgp-entities;
                        description
                          "Entity type";
                      }
    
                      leaf address-family-identifier {
                        type string;
                        description
                          "AF identifier";
                      }
    
                      list af-dependent-relative {
                        max-elements 25;
                        description
                          "The relatives of thedependent address-family";
                        list bgp-config-entid {
                          description
                            "Next entry in the list";
                          container neighbor-address {
                            description
                              "Ip address of the neighor";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          leaf address-family-identifier {
                            type string;
                            description
                              "Identifier of the BGPconfig group entity";
                          }
    
                          leaf configuration-type {
                            type Bgp-entities;
                            description
                              "Entity type";
                          }
    
                          leaf group-name {
                            type string;
                            description
                              "Name of the BGP configgroup entity";
                          }
                        }  // list bgp-config-entid
                      }  // list af-dependent-relative
                    }  // list configuration-inheritance
                  }  // container configuration-inheritances
                }  // list config-vrf
              }  // container config-vrfs
    
              leaf instance-name {
                type xr:Cisco-ios-xr-string;
                description
                  "Name of the BGP instance";
              }
            }  // list config-instance
          }  // container config-instances
    
          container instances {
            description
              "Instance specific BGP data";
            list instance {
              key "instance-name";
              description
                "Instance specific BGP data";
              container instance-active {
                description
                  "Active BGP operational data";
                container segment-routing {
                  description
                    "Segment Routing related Operational Data";
                  container srv6 {
                    description
                      "SRv6 related Operational Data";
                    container summary {
                      description
                        "BGP SRv6 Summary";
                      leaf locator-count {
                        type uint32;
                        description
                          "Number of locators in bgp";
                      }
    
                      leaf srv6-enabled {
                        type boolean;
                        description
                          "Flag to indicate SRv6 is enabled";
                      }
    
                      leaf stale {
                        type boolean;
                        description "stale";
                      }
    
                      leaf update-count {
                        type uint32;
                        description
                          "number of SIDMGR updates";
                      }
                    }  // container summary
    
                    container locator-entries {
                      description
                        "BGP SRv6 Locator Table";
                      list locator-entry {
                        key "locator-name";
                        description
                          "BGP SRv6 Locator Table Entry";
                        leaf locator-name {
                          type xr:Cisco-ios-xr-string;
                          description
                            "Locator Name";
                        }
    
                        container entry {
                          description
                            "The entry of the BGP srv6 locator";
                          leaf locator-name {
                            type string;
                            description
                              "The name of the BGP edmlocator";
                          }
    
                          leaf locator-id {
                            type uint32;
                            description
                              "Locator Id";
                          }
    
                          leaf locator-address {
                            type Ipv6-address;
                            description
                              "The address of the BGP locator";
                          }
    
                          leaf locator-address-len {
                            type uint8;
                            description
                              "The length of the BGP locatoraddress";
                          }
    
                          leaf operation {
                            type uint32;
                            description
                              "Locator operation";
                          }
    
                          leaf oor-state {
                            type boolean;
                            description
                              "Locator OOR";
                          }
    
                          leaf locator-format {
                            type uint32;
                            description
                              "Locator Format";
                          }
                        }  // container entry
                      }  // list locator-entry
                    }  // container locator-entries
    
                    container sid-manager {
                      description
                        "BGP SRv6 SID Manager";
                      container first-sid-mgr-connection-up-time-stamp {
                        description
                          "First SID Manager Connection Up time";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-sid-mgr-connection-up-time-stamp
    
                      container last-sid-mgr-connection-up-time-stamp {
                        description
                          "Last SID Manager Connection Up time";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-sid-mgr-connection-up-time-stamp
    
                      container first-sid-mgr-connection-down-time-stamp {
                        description
                          "First SID Manager Connection Down time";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-sid-mgr-connection-down-time-stamp
    
                      container last-sid-mgr-connection-down-time-stamp {
                        description
                          "Last SID Manager Connection Down time";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-sid-mgr-connection-down-time-stamp
    
                      leaf sid-mgr-connection-up-count {
                        type uint32;
                        description
                          "Numer of SID Manager Up events";
                      }
    
                      leaf last-sid-mgr-connection-up-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last SID Manager Connection Up event
    in seconds";
                      }
    
                      leaf sid-mgr-connection-down-count {
                        type uint32;
                        description
                          "Numer of SID Manager Down events";
                      }
    
                      leaf last-sid-mgr-connection-down-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last SID Manager Connection Down
    event in seconds";
                      }
    
                      leaf sid-mgr-alive {
                        type boolean;
                        description
                          "SID Manager connection is Up";
                      }
                    }  // container sid-manager
                  }  // container srv6
                }  // container segment-routing
    
                container label-entries {
                  description "BGP Label Table";
                  list label-entry {
                    key "label";
                    description
                      "BGP Label Entry";
                    leaf label {
                      type uint32 {
                        range "0..1048575";
                      }
                      description "Label index";
                    }
    
                    container entry {
                      description
                        "The entry for the BGP label";
                      leaf label {
                        type uint32;
                        description
                          "The label of the BGP edm entry";
                      }
    
                      leaf rds {
                        type string;
                        description
                          "The BGP edm route-distinguishers";
                      }
    
                      leaf vrf {
                        type string;
                        description
                          "The BGP external data manager labelvirtual
    routing and forwarding";
                      }
    
                      leaf ip {
                        type inet:ipv4-address;
                        description
                          "The ip address of the BGP edm label";
                      }
    
                      leaf ip6 {
                        type inet:ipv6-address;
                        description
                          "The ipv6 address of the BGP edm label";
                      }
    
                      leaf rpc-set-id {
                        type uint32;
                        description
                          "The id of the rpc set";
                      }
    
                      leaf masklen {
                        type uint16;
                        description
                          "The length of the mask";
                      }
    
                      leaf ts-sec {
                        type uint32;
                        units "second";
                        description
                          "The timestamp of the label allocationin seconds";
                      }
    
                      leaf ts-ssec {
                        type uint32;
                        units "second";
                        description
                          "The timestamp of the label allocationin
    subseconds";
                      }
    
                      leaf info {
                        type uint16;
                        description
                          "The BGP edm label entry information";
                      }
    
                      leaf refcount {
                        type uint32;
                        description
                          "The number of references updated";
                      }
    
                      leaf inactive {
                        type boolean;
                        description
                          "Flag to indicate BGP edm label entryis inactive";
                      }
                    }  // container entry
                  }  // list label-entry
                }  // container label-entries
    
                container label-summary {
                  description
                    "BGP Label Summary";
                  container stats {
                    description
                      "The statistics of the BGP label summary";
                    leaf nbgp-label-alloc-type-gbl-ipv4 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE GBL IPv4";
                    }
    
                    leaf nbgp-label-alloc-type-gbl-ipv6 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE GBL IPv6";
                    }
    
                    leaf nbgp-label-alloc-type-vrf-ipv4 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE VRF IPv4";
                    }
    
                    leaf nbgp-label-alloc-type-vrf-ipv6 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE VRF IPv6";
                    }
    
                    leaf nbgp-label-alloc-type-ce-ipv4 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE CE IPv4";
                    }
    
                    leaf nbgp-label-alloc-type-ce-ipv6 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE CE IPv6";
                    }
    
                    leaf nbgp-label-alloc-type-tbl-ipv4 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE TBL IPv4";
                    }
    
                    leaf nbgp-label-alloc-type-tbl-ipv6 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE TBL IPv6";
                    }
    
                    leaf nbgp-label-alloc-type-vpn-ipv4 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE VPN IPv4";
                    }
    
                    leaf nbgp-label-alloc-type-vpn-ipv6 {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE VPN IPv6";
                    }
    
                    leaf nbgp-label-alloc-type-asbr-nh {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE ASBR NH";
                    }
    
                    leaf nbgp-label-alloc-type-l2vpn-evpn {
                      type uint32;
                      description
                        "nBGP LABEL ALLOC TYPE L2VPN EVPN";
                    }
    
                    leaf nbgp-labels {
                      type uint32;
                      description "nBGP LABELS";
                    }
    
                    leaf bgp-label-rpf-lists {
                      type uint32;
                      description
                        "The rpf lists associated withthe label";
                    }
    
                    leaf bgp-label-rpf-nodes {
                      type uint32;
                      description
                        "The rpf nodes associated withthe label";
                    }
                  }  // container stats
                }  // container label-summary
    
                container graceful-maintenance {
                  description
                    "BGP graceful maintenance related Operational
                   Data";
                  container all-neighbor-entries {
                    description
                      "BGP graceful-maintenance  nbr-all Table";
                    list all-neighbor-entry {
                      key "nbr-all";
                      description
                        "BGP graceful-maintenance nbr-all Table
                       Entry";
                      leaf nbr-all {
                        type uint32;
                        description
                          "All neighbor state";
                      }
    
                      container nbr-all-entry {
                        description
                          "The entry of gshut nbr all";
                        container gshut-nbr-all-ts {
                          description
                            "BGP gshut nbr-all timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-nbr-all-ts
    
                        container gshut-nbr-all-age {
                          description
                            "BGP gshut nbr-all age";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-nbr-all-age
    
                        leaf nbr-all {
                          type uint32;
                          description
                            "BGP gshut nbr-all entry";
                        }
                      }  // container nbr-all-entry
                    }  // list all-neighbor-entry
                  }  // container all-neighbor-entries
    
                  container location-entries {
                    description
                      "BGP graceful-maintenance Location Table";
                    list location-entry {
                      key "node-id";
                      description
                        "BGP graceful-maintenance Location Table
                       Entry";
                      leaf node-id {
                        type xr:Node-id;
                        description
                          "NodeID of the Location";
                      }
    
                      container loc-entry {
                        description
                          "The entry of gshut location";
                        container gshut-loc-time-stap {
                          description
                            "BGP gshut locationb timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-loc-time-stap
    
                        container gshut-loc-age {
                          description
                            "BGP gshut location age";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-loc-age
    
                        leaf loc {
                          type uint32;
                          description
                            "BGP gshut location nodeif";
                        }
                      }  // container loc-entry
                    }  // list location-entry
                  }  // container location-entries
    
                  container interface-entries {
                    description
                      "BGP graceful-maintenance Interface Table";
                    list interface-entry {
                      key "interface-name";
                      description
                        "BGP graceful-maintenance Interface Table
                       Entry";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Interface Name";
                      }
    
                      container if-entry {
                        description
                          "The entry of gshut interface";
                        container gshut-if-time-stamp {
                          description
                            "BGP gshut timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-if-time-stamp
    
                        container gshut-if-age {
                          description
                            "BGP gshut if age";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-if-age
    
                        leaf name {
                          type string;
                          description "Name";
                        }
                      }  // container if-entry
                    }  // list interface-entry
                  }  // container interface-entries
                }  // container graceful-maintenance
    
                container label-rpf-entries {
                  description
                    "BGP Label RPF Table";
                  list label-rpf-entry {
                    key "label";
                    description
                      "BGP Label RPF Entry";
                    leaf label {
                      type uint32 {
                        range "0..1048575";
                      }
                      description "Label index";
                    }
    
                    container rpf {
                      description
                        "The reverse path forwarding (RPF) of BGP label";
                      leaf label {
                        type uint32;
                        description
                          "The label of the BGP rpf";
                      }
    
                      leaf flags {
                        type uint32;
                        description
                          "The flags of the BGP rpf";
                      }
    
                      leaf install {
                        type Bgp-label-rpf-install;
                        description
                          "The BGP label rpf install";
                      }
    
                      list rpf {
                        description "rpf";
                        leaf ip {
                          type inet:ipv4-address;
                          description
                            "The ip address of the BGP edm rpf nbr";
                        }
    
                        leaf ip6 {
                          type inet:ipv6-address;
                          description
                            "The ipv6 address of the BGP edm rpf nbr";
                        }
    
                        leaf count {
                          type uint32;
                          description
                            "The number of prefixes for rpf";
                        }
    
                        leaf flags {
                          type uint32;
                          description
                            "RPF neighbor node flags";
                        }
                      }  // list rpf
                    }  // container rpf
                  }  // list label-rpf-entry
                }  // container label-rpf-entries
    
                container update-generation-process {
                  description
                    "The BGP Update generate table for the process";
                  container update-statistics {
                    description
                      "BGP process update statistics";
                    container last-update-discard-timestamp {
                      description
                        "Last Discarded time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-discard-timestamp
    
                    container last-update-cleared-timestamp {
                      description
                        "Last Cleared time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-cleared-timestamp
    
                    container last-update-throttle-timestamp {
                      description
                        "Last Throttled time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-throttle-timestamp
    
                    container last-update-recovery-timestamp {
                      description
                        "Last Recovery time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-recovery-timestamp
    
                    container last-update-memory-allocation-fail-timestamp {
                      description
                        "Memory allocation failure time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-memory-allocation-fail-timestamp
    
                    leaf update-out-queue-messages-high {
                      type uint32;
                      description
                        "OutQueue High Messages";
                    }
    
                    leaf update-out-queue-messages-cumulative {
                      type uint32;
                      description
                        "OutQueue Cumulative Messages";
                    }
    
                    leaf update-out-queue-messages-discarded {
                      type uint32;
                      description
                        "OutQueue Discarded Messages";
                    }
    
                    leaf update-out-queue-messages-cleared {
                      type uint32;
                      description
                        "OutQueue Cleared Messages";
                    }
    
                    leaf update-out-queue-size-high {
                      type uint32;
                      description
                        "OutQueue Hi Size";
                    }
    
                    leaf update-out-queue-size-cumulative {
                      type uint64;
                      description
                        "OutQueue Cumulative Size";
                    }
    
                    leaf update-out-queue-size-discarded {
                      type uint64;
                      description
                        "OutQueue Discarded Size";
                    }
    
                    leaf update-out-queue-size-cleared {
                      type uint64;
                      description
                        "OutQueue Cleared Size";
                    }
    
                    leaf last-update-discard-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Discard event (in seconds)";
                    }
    
                    leaf last-update-cleard-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Clear event (in seconds)";
                    }
    
                    leaf update-throttle-count {
                      type uint32;
                      description
                        "Throttle Count";
                    }
    
                    leaf last-update-throttle-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Throttle event (in seconds)";
                    }
    
                    leaf update-recovery-count {
                      type uint32;
                      description
                        "Recovery Count";
                    }
    
                    leaf last-update-recovery-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Recovery event (in seconds)";
                    }
    
                    leaf update-memory-allocation-fail-count {
                      type uint32;
                      description
                        "Number of times there was failure when
    allocatingmemory for BGP update generation";
                    }
    
                    leaf last-update-memory-allocation-fail-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last memory allocation failure event
    (in seconds)";
                    }
                  }  // container update-statistics
    
                  leaf update-out-logging {
                    type boolean;
                    description
                      "Enable syslog messages for update generation
    events";
                  }
    
                  leaf current-update-limit-process {
                    type uint32;
                    description
                      "Current Process update limit";
                  }
    
                  leaf configured-update-limit-process {
                    type uint32;
                    description
                      "Configured Process update limit";
                  }
    
                  leaf update-out-queue-messages {
                    type uint32;
                    description
                      "OutQueue messages";
                  }
    
                  leaf update-out-queue-size {
                    type uint32;
                    description "OutQueue size";
                  }
    
                  leaf update-throttled {
                    type boolean;
                    description
                      "Flag for BGP address-family summary updates
    throttled";
                  }
    
                  list update-address-family {
                    description
                      "List of address-families";
                    leaf update-group-af-name {
                      type Bgp-afi;
                      description
                        "Address family identifier";
                    }
    
                    leaf current-update-limit-af {
                      type uint32;
                      description
                        "BGP address-family current AF update limit";
                    }
    
                    leaf update-out-queue-messages {
                      type uint32;
                      description
                        "OutQueue messages";
                    }
    
                    leaf update-out-queue-size {
                      type uint32;
                      description
                        "OutQueue size";
                    }
    
                    leaf update-throttled {
                      type boolean;
                      description
                        "BGP sub-group updates throttled because write
    limit reached";
                    }
    
                    leaf update-update-group-count {
                      type uint32;
                      description
                        "Update-group count";
                    }
    
                    leaf update-sub-group-count {
                      type uint32;
                      description
                        "Sub-group count";
                    }
    
                    leaf sub-group-throttled-count {
                      type uint32;
                      description
                        "Throttled sub-group count";
                    }
    
                    leaf refresh-sub-group-count {
                      type uint32;
                      description
                        "BGP address-family refresh sub-group count";
                    }
    
                    leaf refresh-sub-group-throttled-count {
                      type uint32;
                      description
                        "Throttled refresh sub-group count";
                    }
    
                    leaf filter-group-count {
                      type uint32;
                      description
                        "BGP address-family filter-group count";
                    }
    
                    leaf neighbor-count {
                      type uint32;
                      description
                        "BGP sub-group neighbor count";
                    }
                  }  // list update-address-family
                }  // container update-generation-process
    
                container vrfs {
                  description
                    "VRF related operational data";
                  list vrf {
                    key "vrf-name";
                    description
                      "Operational data for a particular VRF";
                    leaf vrf-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the VRF";
                    }
    
                    container update-inbound-error-vrf {
                      description
                        "Update inbound error information for the VRF";
                      container last-update-malformed-timestamp {
                        description
                          "Last malformed messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-malformed-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-malformed-message-count {
                        type uint32;
                        description
                          "BGP virtual routing & forwarding  malformed
    messages count";
                      }
    
                      leaf update-malformed-neighbor-count {
                        type uint32;
                        description
                          "Count of neighbors that received malformed
    messages";
                      }
    
                      leaf last-update-malformed-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last malformed messages received
    event (in seconds)";
                      }
                    }  // container update-inbound-error-vrf
    
                    container afs {
                      description
                        "BGP address family table";
                      list af {
                        key "af-name";
                        description
                          "A particular address family";
                        container rpki-refresh-af-table {
                          description
                            "RPKI Refresh Table (per AF)";
                          container rpki-refresh-af {
                            description
                              "RPKI Refresh List";
                            list refresh-entry {
                              description
                                "Array of refresh entries";
                              leaf af-name {
                                type Bgp-rpki-af;
                                description
                                  "Address Family";
                              }
    
                              leaf neighbor {
                                type string;
                                description
                                  "BGP neighbor";
                              }
    
                              leaf policy {
                                type string;
                                description
                                  "Route Policy";
                              }
    
                              leaf paths {
                                type uint32;
                                description
                                  "Number of BGP paths modified or dropped";
                              }
    
                              leaf drop {
                                type boolean;
                                description
                                  "BGP paths were dropped";
                              }
                            }  // list refresh-entry
                          }  // container rpki-refresh-af
                        }  // container rpki-refresh-af-table
    
                        container remote-nh-table {
                          description
                            "A BGP Remote Nexthop table entry";
                          leaf lrnh-table {
                            type uint32;
                            description
                              "RNH Table ID";
                          }
    
                          list local-rnh-entry {
                            max-elements 2;
                            description
                              "Local RNH Entries";
                            container local-rnhesi {
                              description
                                "Local RNH ESI";
                              leaf esi {
                                type yang:hex-string;
                                description
                                  "esi";
                              }
                            }  // container local-rnhesi
    
                            leaf lrnh-present {
                              type boolean;
                              description
                                "RNH present boolean";
                            }
    
                            leaf lrnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf lrnhvni {
                              type uint32;
                              description
                                "RNH VNI";
                            }
    
                            leaf lrnh-addr {
                              type inet:ipv4-address;
                              description
                                "RNH Address";
                            }
    
                            leaf lrnhv6-addr {
                              type inet:ipv6-address;
                              description
                                "RNH IPv6 Address";
                            }
    
                            leaf lrnh-mac {
                              type Mac-address;
                              description
                                "RNH MAC Address";
                            }
                          }  // list local-rnh-entry
    
                          list rnh-entry-info {
                            description
                              "List of Dependency Tables ";
                            leaf lrnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf lrnh-table {
                              type uint32;
                              description
                                "RNH Table ID";
                            }
    
                            leaf lrnhvni {
                              type uint32;
                              description
                                "RNH VNI";
                            }
    
                            leaf lrnh-addr {
                              type inet:ipv4-address;
                              description
                                "RNH Address";
                            }
    
                            leaf lrnh-mac {
                              type Mac-address;
                              description
                                "RNH MAC Address";
                            }
    
                            leaf frnh-as {
                              type uint8;
                              description
                                "RNH Flags";
                            }
    
                            leaf rrnh-as {
                              type uint32;
                              description
                                "RNH Refcount";
                            }
                          }  // list rnh-entry-info
                        }  // container remote-nh-table
    
                        container policies {
                          description
                            "The BGP Policy Table";
                          list policy {
                            description
                              "A BGP Policy table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container neighbor-address-xr {
                              description
                                "Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address-xr
    
                            container path-info-after-policy-in {
                              description
                                "Path information after inbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-in
    
                            container path-info-after-policy-out {
                              description
                                "Path information after outbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-out
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            container attributes-after-policy-out {
                              description
                                "Attributes after outbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-out
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path with advertised Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path advertised Source Route Distinguisher";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list policy
                        }  // container policies
    
                        container convergence {
                          description
                            "A BGP Convergence table entry";
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf has-converged {
                            type boolean;
                            description
                              "Convergence has been reached";
                          }
    
                          leaf are-write-queues-empty {
                            type boolean;
                            description
                              "All neighbor write queues are empty";
                          }
                        }  // container convergence
    
                        container af-process-info {
                          description
                            "A BGP Process address family table entry";
                          container global {
                            description
                              "Global information";
                            container version-wrap-time-spec {
                              description
                                "Version Wrap timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-wrap-time-spec
    
                            container version-wrap-start-time-spec {
                              description
                                "Version Wrap handle start timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-wrap-start-time-spec
    
                            container version-wrap-done-time-spec {
                              description
                                "Version Wrap handle Done timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-wrap-done-time-spec
    
                            container trigger-rib {
                              description
                                "Trigger RIB";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-rib
    
                            container trigger-import {
                              description
                                "Flag to keep track of import triggers to each of
    the threads";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-import
    
                            container trigger-update {
                              description
                                "Flag to keep track of update triggers for each
    thread";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-update
    
                            container trigger-label {
                              description
                                "Label to keep track of trigger for each thread";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-label
    
                            container rib-install {
                              description
                                "RIB install info";
                              container update-time {
                                description
                                  "The time taken for routing information base
    download ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container update-time
    
                              container install-time {
                                description
                                  "The time taken for the route installation ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container install-time
    
                              leaf installed-count {
                                type uint32;
                                description
                                  "Count of installed routes";
                              }
    
                              leaf modified-count {
                                type uint32;
                                description
                                  "Count of modified routes";
                              }
    
                              leaf skipped-count {
                                type uint32;
                                description
                                  "Count of skipped routes";
                              }
    
                              leaf withdrawn-count {
                                type uint32;
                                description
                                  "Count of withdrawn routes";
                              }
    
                              leaf start-version {
                                type uint32;
                                description
                                  "Start version of the BGP routing information
    base ";
                              }
    
                              leaf target-version {
                                type uint32;
                                description
                                  "Target version of BGProuting information
    baseupdate ";
                              }
                            }  // container rib-install
    
                            leaf router-state {
                              type Bgp-rtr-state;
                              description
                                "BGP router state for the address family ";
                            }
    
                            leaf table-version {
                              type uint32;
                              description
                                "BGP main routing table version";
                            }
    
                            leaf version-wrapped {
                              type uint32;
                              description
                                "Number of times Version Wrap happened";
                            }
    
                            leaf version-wrapped-tid {
                              type uint32;
                              description
                                "Version Wrapped trigger tid";
                            }
    
                            leaf max-active-pelem-version {
                              type uint32;
                              description
                                "Maximum Active Pelem Version";
                            }
    
                            leaf merged-table-version {
                              type uint32;
                              description
                                "The merged Bgp table version after RPFO";
                            }
    
                            leaf route-download-go-active-done-pending {
                              type uint32;
                              description
                                "To indicate whether routedownload go-active-done
    pulse is sent or not";
                            }
    
                            leaf rib-brib-received-version {
                              type uint32;
                              description
                                "Version received from ";
                            }
    
                            leaf table-brib-version {
                              type uint32;
                              description
                                "Version sent to RIB/bRIB";
                            }
    
                            leaf label-version {
                              type uint32;
                              description
                                "Version updated by label thread";
                            }
    
                            leaf import-version {
                              type uint32;
                              description
                                "Version updated by import thread";
                            }
    
                            leaf standby-version {
                              type uint32;
                              description
                                "Version updated by sync thread";
                            }
    
                            leaf send-version {
                              type uint32;
                              description
                                "Version for sending updates to peers";
                            }
    
                            leaf num-init-sync-pfx {
                              type uint32;
                              description
                                "Num of prefix synced during Initsync";
                            }
    
                            leaf max-label-stack-depth-v4-next-hop {
                              type uint32;
                              description
                                "Max supported label stack depth  for IPv4
    Nexthop";
                            }
    
                            leaf max-label-stack-depth-v6-next-hop {
                              type uint32;
                              description
                                "Max supported label stack depth  for IPv6
    Nexthop";
                            }
    
                            leaf local-networks-num {
                              type uint32;
                              description
                                "Total local networks";
                            }
    
                            leaf local-networks-memory {
                              type uint32;
                              description
                                "Total number of networks memory in global BGP
    address-family ";
                            }
    
                            leaf local-networks-malloced-num {
                              type uint32;
                              description
                                "Total number of networks for which memory is
    allocated";
                            }
    
                            leaf local-networks-freed-num {
                              type uint32;
                              description
                                "Total local networks freed";
                            }
    
                            leaf local-paths-num {
                              type uint32;
                              description
                                "Total local paths";
                            }
    
                            leaf local-paths-memory {
                              type uint32;
                              description
                                "Total memory allocated for local paths in BGP
    process";
                            }
    
                            leaf local-paths-malloced-num {
                              type uint32;
                              description
                                "Total local paths for which memory allocated";
                            }
    
                            leaf local-paths-freed-num {
                              type uint32;
                              description
                                "Total local paths freed";
                            }
    
                            leaf imported-paths-num {
                              type uint32;
                              description
                                "Total imported paths";
                            }
    
                            leaf imported-paths-memory {
                              type uint32;
                              description
                                "Total memory allocated for imported paths in BGP
    process";
                            }
    
                            leaf networks-num {
                              type uint32;
                              description
                                "Total Num of networks";
                            }
    
                            leaf networks-memory {
                              type uint32;
                              description
                                "Total memory allocated for networks in BGP
    process";
                            }
    
                            leaf networks-malloced-num {
                              type uint32;
                              description
                                "Total networks for which memory allocated";
                            }
    
                            leaf networks-freed-num {
                              type uint32;
                              description
                                "Total networks freed";
                            }
    
                            leaf paths-num {
                              type uint32;
                              description
                                "Total Num of paths";
                            }
    
                            leaf paths-memory {
                              type uint32;
                              description
                                "Total paths memory";
                            }
    
                            leaf paths-malloced-num {
                              type uint32;
                              description
                                "Total paths for which memory allocated";
                            }
    
                            leaf paths-freed-num {
                              type uint32;
                              description
                                "Total paths freed";
                            }
    
                            leaf path-elems-num {
                              type uint32;
                              description
                                "Total Num of path-elems";
                            }
    
                            leaf path-elems-memory {
                              type uint32;
                              description
                                "Total memory allocated for path-elements in BGP
    process";
                            }
    
                            leaf path-elems-malloced-num {
                              type uint32;
                              description
                                "Total memory allocated for path-element number";
                            }
    
                            leaf path-elems-freed-num {
                              type uint32;
                              description
                                "Total path-elems freed";
                            }
    
                            leaf label-last-trigger {
                              type uint64;
                              description
                                "Timestamp when Label thread is last triggered";
                            }
    
                            leaf last-label-version {
                              type uint32;
                              description
                                "Label thread version when last triggered";
                            }
    
                            leaf label-bgp-version {
                              type uint32;
                              description
                                "BGP version when label thread is last triggered";
                            }
    
                            leaf label-triggers {
                              type uint32;
                              description
                                "Label thread triggers";
                            }
    
                            leaf rib-last-trigger {
                              type uint64;
                              description
                                "Timestamp when RIB thread is last triggered";
                            }
    
                            leaf last-rib-version {
                              type uint32;
                              description
                                "RIB thread version when last triggered";
                            }
    
                            leaf rib-bgp-version {
                              type uint32;
                              description
                                "BGP version when RIB thread is last triggered";
                            }
    
                            leaf rib-triggers {
                              type uint32;
                              description
                                "RIB thread triggers";
                            }
    
                            leaf import-last-trigger {
                              type uint64;
                              description
                                "Timestamp when Import thread is last triggered";
                            }
    
                            leaf last-import-version {
                              type uint32;
                              description
                                "Import thread version when last triggered";
                            }
    
                            leaf import-bgp-version {
                              type uint32;
                              description
                                "BGP version when Import thread is last triggered";
                            }
    
                            leaf import-triggers {
                              type uint32;
                              description
                                "Import thread triggers";
                            }
    
                            leaf update-gen-last-trigger {
                              type uint64;
                              description
                                "Timestamp when Update generation thread is last
    triggered";
                            }
    
                            leaf update-gen-bgp-version {
                              type uint32;
                              description
                                "BGP version when Update generation thread is
    last triggered";
                            }
    
                            leaf update-triggers {
                              type uint32;
                              description
                                "Update thread triggers";
                            }
    
                            leaf total-r-ds-num {
                              type uint32;
                              description
                                "Total Num of RDs";
                            }
    
                            leaf total-remote-r-ds-num {
                              type uint32;
                              description
                                "Total Num of remote RDs";
                            }
    
                            leaf total-same-r-ds-num {
                              type uint32;
                              description
                                "Total Num of same RDs";
                            }
    
                            leaf malloced-rd-count {
                              type uint32;
                              description
                                "Activity: Number of RDs malloced";
                            }
    
                            leaf freed-rd-count {
                              type uint32;
                              description
                                "Activity: Number of RDs freed";
                            }
    
                            leaf rd-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by RD data";
                            }
    
                            leaf multipath-network-entry-count {
                              type uint32;
                              description
                                "Number of multipath network entries";
                            }
    
                            leaf multipath-network-entry-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used bymultipath network
    entries";
                            }
    
                            leaf multipath-paths-count {
                              type uint32;
                              description
                                "Number of multipath paths";
                            }
    
                            leaf multipath-paths-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used bymultimpath paths";
                            }
    
                            leaf update-wait-install-enabled {
                              type uint32;
                              description
                                "BGP process update wait until install is
    configured";
                            }
    
                            leaf rib-acked-table-version {
                              type uint32;
                              description
                                "Table version acked by routing information base";
                            }
    
                            leaf rib-ack-requests {
                              type uint32;
                              description
                                "Count for RIB ack requests";
                            }
    
                            leaf rib-acks-received {
                              type uint32;
                              description
                                "Count for RIB ack received";
                            }
    
                            leaf rib-slow-acks {
                              type uint32;
                              description
                                "Count for slow RIB acks";
                            }
                          }  // container global
    
                          container vrf {
                            description
                              "VRF information";
                            leaf network-entry-count {
                              type uint32;
                              description
                                "Number of network entries";
                            }
    
                            leaf paths-count {
                              type uint32;
                              description
                                "Number of paths";
                            }
    
                            leaf imported-paths {
                              type uint32;
                              description
                                "Number of imported paths";
                            }
    
                            leaf local-paths {
                              type uint32;
                              description
                                "Number of local paths";
                            }
    
                            leaf path-elems-count {
                              type uint32;
                              description
                                "Number of path elems";
                            }
    
                            leaf path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by path data";
                            }
    
                            leaf imported-path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by imported paths";
                            }
    
                            leaf local-path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by local paths";
                            }
    
                            leaf prefix-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by prefix data";
                            }
    
                            leaf path-elem-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by pathelem data";
                            }
    
                            leaf received-path-count {
                              type uint32;
                              description
                                "Number of (unused) received paths for inbound
    soft reconfiguration";
                            }
    
                            leaf history-path-count {
                              type uint32;
                              description
                                "Number of history paths (for dampening)";
                            }
    
                            leaf damped-path-count {
                              type uint32;
                              description
                                "Number of dampened paths";
                            }
    
                            leaf malloced-prefix-count {
                              type uint32;
                              description
                                "Activity: Number of prefixes malloced";
                            }
    
                            leaf freed-prefix-count {
                              type uint32;
                              description
                                "Activity: Number of prefixes freed";
                            }
    
                            leaf malloced-path-count {
                              type uint32;
                              description
                                "Activity: Number of paths malloced";
                            }
    
                            leaf freed-path-count {
                              type uint32;
                              description
                                "Activity: Number of paths freed";
                            }
    
                            leaf malloced-path-elem-count {
                              type uint32;
                              description
                                "Activity: Number of path elems malloced";
                            }
    
                            leaf freed-path-elem-count {
                              type uint32;
                              description
                                "Activity: Number of pathelems freed";
                            }
    
                            leaf any-ebgp-neighbor-missing-policy {
                              type boolean;
                              description
                                "Is there any neighbor which is missing either
    inbound or outbound or both routing policy for
    this address family?";
                            }
    
                            leaf attribute-download {
                              type boolean;
                              description
                                "BGP virtual routing and forwarding attribute
    download ";
                            }
    
                            leaf route-target-download {
                              type boolean;
                              description
                                "Route Target download is enabled";
                            }
    
                            leaf srms-prefix-sid {
                              type boolean;
                              description
                                "SRMS Prefix SID is ";
                            }
    
                            leaf add-path-install-enable {
                              type boolean;
                              description
                                "Additional paths installation is enabled";
                            }
    
                            leaf add-path-install-disable {
                              type boolean;
                              description
                                "Additional paths installation is disabled";
                            }
    
                            leaf best-external {
                              type boolean;
                              description
                                "Best External is enabled";
                            }
    
                            leaf best-external-disable {
                              type boolean;
                              description
                                "Best External is enabled";
                            }
    
                            leaf best-external-labeled-unicast {
                              type boolean;
                              description
                                "Best External is limited toLabeled-Unicast";
                            }
    
                            leaf label-retain {
                              type boolean;
                              description
                                "Label retention is enabled";
                            }
    
                            leaf label-retainvalue {
                              type uint32;
                              description
                                "Label retention value enabled";
                            }
    
                            leaf tbl-bitf-size {
                              type uint16;
                              description
                                "Bitfield size on table";
                            }
    
                            leaf tbl-chunk-bitf-size {
                              type uint16;
                              description
                                "Chunk Bitfield size on table";
                            }
    
                            leaf tbl-filter-group-bitf-resize-pending {
                              type boolean;
                              description
                                "Filter Group bitfield resize is pending for this
    table";
                            }
    
                            leaf is-route-reflector {
                              type boolean;
                              description
                                "Router is an RR for this AF";
                            }
    
                            leaf asbr {
                              type boolean;
                              description
                                "Router is an ASBR for this AF";
                            }
    
                            leaf retain-rt-all {
                              type boolean;
                              description
                                "Retain-RT-All enabled";
                            }
    
                            leaf ibgp-nexthop-self-count {
                              type uint32;
                              description
                                "Number of iBGP sessions configured with nh-self";
                            }
    
                            leaf use-igpsr-label {
                              type boolean;
                              description
                                "Use IGP SR label for resolution";
                            }
    
                            leaf bmp-network-entry-count {
                              type uint32;
                              description
                                "Number of BMP net entries";
                            }
    
                            leaf bmp-paths-count {
                              type uint32;
                              description
                                "Total Number of BMP paths";
                            }
    
                            leaf bmp-prefix-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by prefix data";
                            }
    
                            leaf bmp-path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by path data";
                            }
                          }  // container vrf
    
                          container performance-statistics {
                            description
                              "BGP process address familyperformance statistics
    info";
                            container global {
                              description
                                "Global information";
                              leaf has-converged {
                                type boolean;
                                description
                                  "TRUE if process has converged";
                              }
    
                              leaf first-nbr-up-time {
                                type uint32;
                                units "second";
                                description
                                  "Time when first peer came up (seconds since Jan
    1 1970)";
                              }
    
                              leaf total-pim-install {
                                type uint32;
                                description
                                  "Total number of install to PIM";
                              }
    
                              leaf total-pim-callbacks {
                                type uint32;
                                description
                                  "Total number of PIM callbacks";
                              }
    
                              leaf total-pim-callback-batch {
                                type uint32;
                                description
                                  "Total number of Pim callback batches";
                              }
    
                              list mode-enter-time {
                                max-elements 7;
                                description
                                  "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                                leaf entry {
                                  type uint32;
                                  units "second";
                                  description
                                    "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                                }
                              }  // list mode-enter-time
    
                              list total-pim-install-add {
                                max-elements 7;
                                description
                                  "Total number of install to PIM for add";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of install to PIM for add";
                                }
                              }  // list total-pim-install-add
    
                              list total-pim-install-del {
                                max-elements 7;
                                description
                                  "Total number of install to PIM for del";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of install to PIM for del";
                                }
                              }  // list total-pim-install-del
    
                              list total-pim-callback-add {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for add";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for add";
                                }
                              }  // list total-pim-callback-add
    
                              list total-pim-callback-del {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for del";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for del";
                                }
                              }  // list total-pim-callback-del
    
                              list total-pim-callback-add-local {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for local add";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for local add";
                                }
                              }  // list total-pim-callback-add-local
    
                              list total-pim-callback-del-local {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for Local del";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for Local del";
                                }
                              }  // list total-pim-callback-del-local
                            }  // container global
    
                            container vrf {
                              description
                                "VRF information";
                              container time-rib-coverged {
                                description
                                  "Time last RIB ack was sent ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container time-rib-coverged
    
                              container time-rib-down {
                                description
                                  "Time last RIB down wassent. This field is
    deprecated";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container time-rib-down
    
                              container first-rib-table-full-timestamp {
                                description
                                  "Timestamp when RIB table was full for the first
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container first-rib-table-full-timestamp
    
                              container last-rib-table-full-timestamp {
                                description
                                  "Timestamp when RIB table was full for the last
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-rib-table-full-timestamp
    
                              container first-rib-table-has-space-timestamp {
                                description
                                  "Timestamp when RIB table had space for the first
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container first-rib-table-has-space-timestamp
    
                              container last-rib-table-has-space-timestamp {
                                description
                                  "Timestamp when RIB table had space for the last
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-rib-table-has-space-timestamp
    
                              container time-label-retain {
                                description
                                  "Time last label retentiontriggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container time-label-retain
    
                              leaf update-generation-calls {
                                type uint32;
                                description
                                  "No. of calls to update generation function";
                              }
    
                              leaf update-generation-prefixes-count {
                                type uint32;
                                description
                                  "No. of prefixes updates generated for";
                              }
    
                              leaf update-generation-be-prefixes-count {
                                type uint32;
                                description
                                  "No. of be prefixes updates generated for";
                              }
    
                              leaf update-generation-messages-count {
                                type uint32;
                                description
                                  "No. of update messages generated";
                              }
    
                              leaf update-generation-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent generating updates (milliseconds)";
                              }
    
                              leaf rib-update-calls {
                                type uint32;
                                description
                                  "No. of calls to RIB update function";
                              }
    
                              leaf rib-update-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent sending RIB updates (milliseconds)";
                              }
    
                              leaf prefixes-sent-to-rib {
                                type uint32;
                                description
                                  "No. of prefixes sent to RIB";
                              }
    
                              leaf prefixes-resent-to-rib {
                                type uint32;
                                description
                                  "No. of prefixes re-sent to RIB";
                              }
    
                              leaf prefixes-not-sent-to-rib {
                                type uint32;
                                description
                                  "No. of prefixes not sent to RIB due to
    unsupported label stack size";
                              }
    
                              leaf prefixes-removed-from-rib {
                                type uint32;
                                description
                                  "No. of prefixes withdrawn from RIB";
                              }
    
                              leaf attributes-sent-to-rib {
                                type uint32;
                                description
                                  "No. of attributes sent to RIB";
                              }
    
                              leaf attributes-removed-from-rib {
                                type uint32;
                                description
                                  "No. of attributes withdrawn from RIB";
                              }
    
                              leaf attributes-recover-from-rib {
                                type uint32;
                                description
                                  "No. of attributes recovered from RIB";
                              }
    
                              leaf scanner-runs {
                                type uint32;
                                description
                                  "# of times scanner has run";
                              }
    
                              leaf scanner-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent running scanner (milliseconds)";
                              }
    
                              leaf rib-tbl-del-calls {
                                type uint32;
                                description
                                  "No. of rib update skipped on account of table
    delete";
                              }
    
                              leaf rib-tbl-invalid-calls {
                                type uint32;
                                description
                                  "No. of  rib update skipped due to table invalid";
                              }
    
                              leaf rib-tbl-skip-calls {
                                type uint32;
                                description
                                  "No. of rib update skipped";
                              }
    
                              leaf rib-tbl-local-label {
                                type uint32;
                                description
                                  "No. of rib update skipped. due to no local label";
                              }
    
                              leaf rib-tbl-retry {
                                type uint32;
                                description
                                  "No. of table rib retires.";
                              }
    
                              leaf time-last-update-sent {
                                type uint32;
                                units "second";
                                description
                                  "Time last update was sent (seconds since Jan 1
    1970)";
                              }
    
                              leaf is-rib-table-full {
                                type boolean;
                                description
                                  "Indicates if RIB table is in prefix-limit state";
                              }
    
                              leaf rib-table-full-version {
                                type uint32;
                                description
                                  "Version when RIB table became full (from
    non-full)";
                              }
    
                              leaf first-rib-table-full-version {
                                type uint32;
                                description
                                  "Version when RIB table was full for the first
    time";
                              }
    
                              leaf last-rib-table-full-version {
                                type uint32;
                                description
                                  "Version when RIB table was full for the last
    time";
                              }
    
                              leaf last-rib-table-full-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since RIB table was full for the last time
    (in seconds)";
                              }
    
                              leaf first-rib-table-has-space-version {
                                type uint32;
                                description
                                  "Version when RIB table had space for the first
    time";
                              }
    
                              leaf last-rib-table-has-space-version {
                                type uint32;
                                description
                                  "Version when RIB table had space for the last
    time";
                              }
    
                              leaf last-rib-table-has-space-age {
                                type uint32;
                                units "second";
                                description
                                  "Times since RIB table had space for the last
    time (in seconds)";
                              }
    
                              leaf rib-trigger {
                                type boolean;
                                description
                                  "Rib trigger enabled";
                              }
    
                              leaf vrf-flags {
                                type uint32;
                                description
                                  "VRF flags for debug display";
                              }
    
                              leaf label-calls {
                                type uint32;
                                description
                                  "No. of calls to label allocation processing
    function";
                              }
    
                              leaf label-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent running label processing
    (milliseconds)";
                              }
    
                              leaf label-rewrite-count {
                                type uint32;
                                description
                                  "Number of label rewrites created";
                              }
    
                              leaf label-release-count {
                                type uint32;
                                description
                                  "Number of labels released";
                              }
    
                              leaf label-added-count {
                                type uint32;
                                description
                                  "Number of labels requested";
                              }
    
                              leaf import-calls {
                                type uint32;
                                description
                                  "Number of calls to import processing function";
                              }
    
                              leaf import-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent in import processing (milliseconds)
    Note time accounted against source nets.";
                              }
    
                              leaf import-src-net-processed-count {
                                type uint32;
                                description
                                  "Number of source nets processed";
                              }
    
                              leaf import-dest-net-processed-count {
                                type uint32;
                                description
                                  "Number of destination nets processed";
                              }
    
                              leaf import-added-path-count {
                                type uint32;
                                description
                                  "Number of imported paths added";
                              }
    
                              leaf import-removed-path-count {
                                type uint32;
                                description
                                  "Number of imported paths removed";
                              }
    
                              leaf import-replaced-path-count {
                                type uint32;
                                description
                                  "Number of imported paths ";
                              }
    
                              leaf update-group-count {
                                type uint32;
                                description
                                  "No. of update group";
                              }
    
                              leaf subgroup-count {
                                type uint32;
                                description
                                  "No. of update subgroup";
                              }
                            }  // container vrf
                          }  // container performance-statistics
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family id";
                          }
    
                          leaf process-instance {
                            type uint8;
                            description
                              "ID for the BGP process instance";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf vrf-totals {
                            type boolean;
                            description
                              "per VRF information aggregated across all VRFs";
                          }
                        }  // container af-process-info
    
                        container path-used-table {
                          description
                            "The BGP Path Used Table";
                          list path {
                            description
                              "A BGP path table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address for the BGP neighbor";
                            }
    
                            leaf route-type {
                              type Bgp-route;
                              description
                                "Route Type";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list path
                        }  // container path-used-table
    
                        container bmp-path-table-generic {
                          description
                            "Summary Info about BMP Table";
                          container bmp-version-wrap-time-spec {
                            description
                              "Version Wrap timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-version-wrap-time-spec
    
                          container bmp-version-wrap-start-time-spec {
                            description
                              "Version Wrap handle start timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-version-wrap-start-time-spec
    
                          container bmp-version-wrap-done-time-spec {
                            description
                              "Version Wrap handle Done timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-version-wrap-done-time-spec
    
                          leaf bmp-route-monitoringe-enabled {
                            type boolean;
                            description
                              "Is Route Monitoring mode enabled";
                          }
    
                          leaf bmp-table-version {
                            type uint32;
                            description
                              "Table version";
                          }
    
                          leaf network-count {
                            type uint32;
                            description
                              "Number of nets in the table";
                          }
    
                          leaf path-count {
                            type uint32;
                            description
                              "Number of paths in the table";
                          }
    
                          leaf bmp-version-wrapped {
                            type uint32;
                            description
                              "Number of times Table Version Wrapped";
                          }
    
                          leaf bmp-version-wrapped-tid {
                            type uint32;
                            description
                              "Version Wrapped trigger thread id";
                          }
    
                          leaf bmp-version-inprogress {
                            type boolean;
                            description
                              "Is Version wrap in progress";
                          }
    
                          leaf bmp-version-incremented {
                            type boolean;
                            description
                              "Is Version being incremented";
                          }
                        }  // container bmp-path-table-generic
    
                        container rpc-sets {
                          description
                            "BGP next-hop set table";
                          list rpc-set {
                            key "rpc-set-index";
                            description
                              "A BGP next-hop set";
                            leaf rpc-set-index {
                              type uint32;
                              description
                                "Nexthop set index";
                            }
    
                            leaf next-hop-xr {
                              type uint32;
                              description
                                "Number of multipath next-hops";
                            }
    
                            leaf label {
                              type uint32;
                              description
                                "Label assigned to the RPCnext-hop set";
                            }
    
                            leaf ref-count {
                              type uint32;
                              description
                                "Reference for the count";
                            }
    
                            leaf srv6-sid-address {
                              type Ipv6-address;
                              description
                                "SRv6 SID address value";
                            }
    
                            leaf srv6-sid-address-len {
                              type uint32;
                              description
                                "SRv6 SID address Length";
                            }
    
                            leaf locator-format {
                              type uint32;
                              description
                                "Locator Format";
                            }
    
                            list next-hop {
                              description
                                "List of multipath next-hops";
                              container nexthop-addr {
                                description
                                  "List of multipath next-hops";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container nexthop-addr
    
                              leaf received-label {
                                type uint32;
                                description
                                  "Received labl for the path";
                              }
                            }  // list next-hop
                          }  // list rpc-set
                        }  // container rpc-sets
    
                        container global-af-process-info {
                          description
                            "The Global Address Family Process information
    table";
                          container global {
                            description
                              "Global information";
                            container rib-install {
                              description
                                "RIB install info";
                              container update-time {
                                description
                                  "The time taken for routing information base
    download ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container update-time
    
                              container install-time {
                                description
                                  "The time taken for the route installation ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container install-time
    
                              leaf installed-count {
                                type uint32;
                                description
                                  "Count of installed routes";
                              }
    
                              leaf modified-count {
                                type uint32;
                                description
                                  "Count of modified routes";
                              }
    
                              leaf skipped-count {
                                type uint32;
                                description
                                  "Count of skipped routes";
                              }
    
                              leaf withdrawn-count {
                                type uint32;
                                description
                                  "Count of withdrawn routes";
                              }
    
                              leaf start-version {
                                type uint32;
                                description
                                  "Start version of the BGP routing information
    base ";
                              }
    
                              leaf target-version {
                                type uint32;
                                description
                                  "Target version of BGProuting information
    baseupdate ";
                              }
                            }  // container rib-install
    
                            leaf scanner-period {
                              type uint16;
                              units "second";
                              description
                                "Period (in seconds) of address-family scanner
    runs";
                            }
    
                            leaf nh-tunnel-version {
                              type uint32;
                              description
                                "NH Tunnel Version";
                            }
    
                            leaf scan-prefixes {
                              type uint32;
                              description
                                "Total prefixes of address-family scanned";
                            }
    
                            leaf scan-segment-prefixes {
                              type uint32;
                              description
                                "Number of prefixes scanned in a segment of
    address-family";
                            }
    
                            leaf scan-segments {
                              type uint8;
                              description
                                "Number of segments to scan all prefixes of
    address-family";
                            }
    
                            leaf inter-as-install-enabled {
                              type boolean;
                              description
                                "Is inter-AS install to pim on ASBR enabled";
                            }
    
                            leaf global-mcast-enabled {
                              type boolean;
                              description
                                "Flag to indicate if global routing table
    multicast is enabled";
                            }
    
                            leaf segmented-mcast-enabled {
                              type boolean;
                              description
                                "Flag to indicate if BGP segmented multicast is
    enabled";
                            }
    
                            leaf gblafrpki-disable {
                              type boolean;
                              description
                                "Prefix validation disabled";
                            }
    
                            leaf gblafrpki-use-validity {
                              type boolean;
                              description
                                "Prefix v. use validity";
                            }
    
                            leaf gblafrpki-allow-invalid {
                              type boolean;
                              description
                                "Prefix v. allow invalid";
                            }
    
                            leaf gblafrpki-signal-ibgp {
                              type boolean;
                              description
                                "Prefix v. signal ibgp";
                            }
    
                            leaf update-wait-install-enabled {
                              type boolean;
                              description
                                "Flag to wait for installation update";
                            }
    
                            leaf rib-ack-requests {
                              type uint32;
                              description
                                "Counter for RIB ack requests";
                            }
    
                            leaf rib-acks-received {
                              type uint32;
                              description
                                "Counter for RIB ack received";
                            }
    
                            leaf rib-slow-acks {
                              type uint32;
                              description
                                "Counter for slow RIB acks";
                            }
    
                            leaf is-perm-net-cfg {
                              type boolean;
                              description
                                "Permanent Network Enabled";
                            }
    
                            leaf perm-net-del-count {
                              type uint16;
                              description
                                "Count of removed perm paths";
                            }
    
                            leaf perm-net-stale-del-count {
                              type uint16;
                              description
                                "Count of stale perm paths";
                            }
    
                            leaf perm-net-stale-mark-count {
                              type uint16;
                              description
                                "Count of stale marked perm paths";
                            }
    
                            leaf perm-net-insert-count {
                              type uint16;
                              description
                                "Count of inserted perm paths";
                            }
    
                            leaf perm-net-existing-count {
                              type uint16;
                              description
                                "Count of existing perm paths";
                            }
    
                            leaf perm-net-rpl-query-count {
                              type uint16;
                              description
                                "Count of perm nets given by RPL";
                            }
    
                            leaf perm-net-rpl-process-count {
                              type uint16;
                              description
                                "Count of perm nets processed in RPL";
                            }
    
                            leaf perm-nbr-count {
                              type uint16;
                              description
                                "Count of neighbors configured with perm net";
                            }
    
                            leaf rib-perm-pelem-not-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-perm-path-not-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-perm-pelem-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-reg-path-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-perm-path-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf perm-pelem-free-count {
                              type uint16;
                              description
                                "Count of freed perm pelems";
                            }
    
                            leaf perm-path-refresh-count {
                              type uint16;
                              description
                                "Count of perm paths refreshed";
                            }
    
                            leaf perm-pelem-bump-count {
                              type uint16;
                              description
                                "Count of bumped perm pelems";
                            }
    
                            leaf perm-pelem-all-bump-count {
                              type uint16;
                              description
                                "Count of bumped perm pelems";
                            }
    
                            leaf af-srv6-sid-alloc-mode {
                              type uint32;
                              description
                                "SID alloc mode of SRv6 under AF";
                            }
    
                            leaf af-srv6-locator {
                              type string;
                              description
                                "SRv6 Locator Name under AF";
                            }
    
                            list syncgrp-version {
                              max-elements 2;
                              description
                                "Sync-group Version";
                              leaf entry {
                                type uint32;
                                description
                                  "Sync-group Version";
                              }
                            }  // list syncgrp-version
                          }  // container global
    
                          container vrf {
                            description
                              "VRF information";
                            leaf table-is-active {
                              type boolean;
                              description
                                "Table state is active";
                            }
    
                            leaf table-id {
                              type uint32;
                              description
                                "Table ID";
                            }
    
                            leaf def-orig-enabled {
                              type boolean;
                              description
                                "Default Orig enabled for a vrf afi";
                            }
    
                            leaf table-version {
                              type uint32;
                              description
                                "BGP global process table version info";
                            }
    
                            leaf rd-version {
                              type uint32;
                              description
                                "RD version";
                            }
    
                            leaf rib-version {
                              type uint32;
                              description
                                "Table version synced to RIB";
                            }
    
                            leaf nsr-conv-version {
                              type uint32;
                              description
                                "Cache for non stop routingcurrent table version";
                            }
    
                            leaf nsr-is-conv {
                              type boolean;
                              description
                                "NSR is converged";
                            }
    
                            leaf client-reflection-enabled {
                              type boolean;
                              description
                                "Flag to indicate if client-to-client reflection
    is enabled";
                            }
    
                            leaf dampening-enabled {
                              type boolean;
                              description
                                "Flag to enable BGP address-family dampening";
                            }
    
                            leaf ebgp-distance {
                              type uint16;
                              description
                                "Distance for eBGP routes (external)";
                            }
    
                            leaf ibgp-distance {
                              type uint16;
                              description
                                "Distance for iBGP routes (internal)";
                            }
    
                            leaf aggregates-distance {
                              type uint16;
                              description
                                "Dist for aggregate routes (local)";
                            }
    
                            leaf dynamic-med-enabled {
                              type boolean;
                              description
                                "Update generation enabled for MED change";
                            }
    
                            leaf dynamic-med-interval {
                              type uint16;
                              units "minute";
                              description
                                "Delay in update generation after a MED change
    (in minutes)";
                            }
    
                            leaf dynamic-med-timer-running {
                              type boolean;
                              description
                                "Flag to indicate if dynamic multi exit
    discriminator (MED) timer is running";
                            }
    
                            leaf dynamic-med-timer-value {
                              type uint16;
                              units "second";
                              description
                                "Dynamic MED timer value (in seconds) left on the
    timer";
                            }
    
                            leaf dynamic-med-periodic-timer-running {
                              type boolean;
                              description
                                "Dynamic multi exit discriminatorperiodic timer
    running";
                            }
    
                            leaf dynamic-med-periodic-timer-value {
                              type uint16;
                              units "second";
                              description
                                "Dynamic MED periodic timer value (in seconds)
    left on the timer";
                            }
    
                            leaf rib-has-converged {
                              type boolean;
                              description
                                "Received convergence notification from RIB";
                            }
    
                            leaf rib-convergence-version {
                              type uint32;
                              description
                                "Last convergence version received from RIB";
                            }
    
                            leaf is-rib-table-full {
                              type boolean;
                              description
                                "Indicates if RIB table is in prefix-limit state";
                            }
    
                            leaf rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table became full (from
    non-full)";
                            }
    
                            leaf nexthop-resolution-minimum-prefix-length-configured {
                              type boolean;
                              description
                                "Flag to indicate if nexthop resolution minimum
    prefix-length is configured";
                            }
    
                            leaf nexthop-resolution-minimum-prefix-length {
                              type uint32;
                              description
                                "Used to validate prefix-length of resolving
    route of nexthopsin BGP";
                            }
    
                            leaf ipv6-nexthop-resolution-minimum-prefix-length-configured {
                              type boolean;
                              description
                                "Flag to indicate if ipv6 nexthop resolution
    minimum prefix-length is configured";
                            }
    
                            leaf ipv6-nexthop-resolution-minimum-prefix-length {
                              type uint32;
                              description
                                "Used to validate prefix-length of resolving
    route of ipv6 nexthopsin BGP";
                            }
    
                            leaf selective-ebgp-multipath-enabled {
                              type boolean;
                              description
                                "Flag to indicate if the Selective option is
    configured with multipath external bgp";
                            }
    
                            leaf selective-ibgp-multipath-enabled {
                              type boolean;
                              description
                                "Flag to indicate if the Selective option is
    configured with multipath internal bgp";
                            }
    
                            leaf selective-eibgp-multipath-enabled {
                              type boolean;
                              description
                                "Flag to indicate if the Selective option is
    configured with multipath external internal bgp";
                            }
    
                            leaf rib-acked-table-version {
                              type uint32;
                              description
                                "Table version acked by RIB";
                            }
    
                            leaf vrf-srv6-sid-alloc-mode {
                              type uint32;
                              description
                                "SID alloc mode of SRv6 under Vrf";
                            }
    
                            leaf isvrf-srv6-enabled {
                              type boolean;
                              description
                                "SRv6 info under a Vrf";
                            }
    
                            leaf vrf-srv6-locator {
                              type string;
                              description
                                "SRv6 Locator Name under Vrf";
                            }
    
                            leaf vrf-all-srv6-locator {
                              type string;
                              description
                                "SRv6 Locator Name under Vrf All";
                            }
    
                            leaf vrf-all-srv6-sid-alloc-mode {
                              type uint32;
                              description
                                "SRv6 SID alloc mode under Vrf All";
                            }
    
                            leaf isvrfall-srv6-enabled {
                              type boolean;
                              description
                                "SRv6 info under a Vrf All";
                            }
    
                            leaf rpki-version {
                              type uint32;
                              description
                                "RPKI table version walked";
                            }
    
                            leaf rpki-soft-reconf-version {
                              type uint32;
                              description
                                "RPKI soft reconfiguration version walked";
                            }
                          }  // container vrf
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family id";
                          }
    
                          leaf is-nsr-enabled {
                            type boolean;
                            description
                              "Non-stop routing enabled";
                          }
                        }  // container global-af-process-info
    
                        container advertised-path-xr {
                          description
                            "The BGP Advertised path table (bestpath)";
                          list advertised-path {
                            description
                              "A BGP Advertised path table entry (bestpath)";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of BGP Neighbor";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list advertised-path
                        }  // container advertised-path-xr
    
                        container sourced-networks {
                          description
                            "The BGP Convergence table";
                          list sourced-network {
                            key "network";
                            description
                              "A BGP network command table entry";
                            leaf network {
                              type inet:ip-prefix;
                              description
                                "Network in prefix/length format";
                            }
    
                            container sourced-prefix {
                              description
                                "Prefix length";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container sourced-prefix
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf is-backdoor {
                              type boolean;
                              description
                                "TRUE if net is a backdoor route";
                            }
                          }  // list sourced-network
                        }  // container sourced-networks
    
                        container update-groups {
                          description
                            "The BGP Update group table";
                          list update-group {
                            description
                              "A BGP Update group table entry";
                            leaf update-group-id {
                              type uint32;
                              description
                                "A BGP Update group table entry index";
                            }
    
                            leaf filter-group-id {
                              type uint32;
                              description
                                " A BGP Filter group index";
                            }
    
                            container performance-statistics {
                              description
                                "Aggregated performance statisticsacross all VRFs
    belonging to theparent address family";
                              leaf update-generation-calls {
                                type uint32;
                                description
                                  "No. of calls to update generation function";
                              }
    
                              leaf update-generation-prefixes-count {
                                type uint32;
                                description
                                  "No. of prefixes updates generated for";
                              }
    
                              leaf update-generation-be-prefixes-count {
                                type uint32;
                                description
                                  "No. of be prefixes updates generated for";
                              }
    
                              leaf update-generation-messages-count {
                                type uint32;
                                description
                                  "No. of update messages generated";
                              }
    
                              leaf update-generation-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent generating updates (milliseconds)";
                              }
    
                              leaf updgen-timer-start-time {
                                type uint64;
                                description
                                  "Timestamp when update timer started for updgrp";
                              }
    
                              leaf updgen-timer-stop-time {
                                type uint64;
                                description
                                  "Timestamp when update timer stopped for updgrp";
                              }
    
                              leaf updgen-timer-process-time {
                                type uint64;
                                description
                                  "Timestamp when update timer processed for updgrp";
                              }
    
                              list not-advertised-stat {
                                max-elements
                                  35;
                                description
                                  "Not Advertised Statistics";
                                container last-updated-time {
                                  description
                                    "Last update time";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-updated-time
    
                                leaf not-advertised-count {
                                  type uint32;
                                  description
                                    "Not advertised count";
                                }
                              }  // list not-advertised-stat
                            }  // container performance-statistics
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "Instance ID of the BGP processwhere the path
    originated";
                            }
    
                            leaf session-af-name {
                              type uint8;
                              description
                                "Neighbor session Address family";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family for update group";
                            }
    
                            leaf should-send-communities {
                              type boolean;
                              description
                                "Send communities";
                            }
    
                            leaf should-send-ext-communities {
                              type boolean;
                              description
                                "Send Extended communities";
                            }
    
                            leaf should-send-stitching-rt {
                              type boolean;
                              description
                                "Send Stitching RT";
                            }
    
                            leaf has-orf-receive-capability {
                              type boolean;
                              description
                                "ORF receive capability";
                            }
    
                            leaf is-route-reflector-client {
                              type boolean;
                              description
                                "Flag to indicate if peers in this update group
    are route-reflector clients";
                            }
    
                            leaf is-client-reflection-disabled {
                              type boolean;
                              description
                                "True if client-to-client reflection is disabled ";
                            }
    
                            leaf accepts-legacy-pe-rt-route {
                              type boolean;
                              description
                                "Flag to indicate if provider edge device as a
    legacy for the route target";
                            }
    
                            leaf updgrp-cluster-id {
                              type uint32;
                              description
                                "Cluster ID (populated ifclient-to-client
    reflectionis disabled)";
                            }
    
                            leaf updgrp-cluster-type {
                              type uint8;
                              description
                                "Cluster ID type:undefined/number/Ip address";
                            }
    
                            leaf orr-group-name {
                              type string;
                              description
                                "ORR Group Name";
                            }
    
                            leaf orr-group-index {
                              type uint32;
                              description
                                "ORR Group Index";
                            }
    
                            leaf is-orr-root-address-configured {
                              type boolean;
                              description
                                "ORR Root address configuredfor the neighbor
    connection";
                            }
    
                            leaf should-remove-private-a-ss {
                              type boolean;
                              description
                                "Remove private AS numbers";
                            }
    
                            leaf should-remove-private-as-ent-path {
                              type boolean;
                              description
                                "Remove private AS numbersif the entire path
    consistsof private ASes";
                            }
    
                            leaf use-next-hop-self {
                              type boolean;
                              description
                                "Next hop self";
                            }
    
                            leaf use-next-hop-unchanged-mpath {
                              type boolean;
                              description
                                "This update group have
    next-hop-unchangedmultipath configured";
                            }
    
                            leaf is-internal-peers {
                              type boolean;
                              description
                                "Peers in this update groupare internal";
                            }
    
                            leaf is-common-admin-peers {
                              type boolean;
                              description
                                "Flag to indicate if peers are undercommon
    administration in BGP update group";
                            }
    
                            leaf is4-byte-as-peer {
                              type boolean;
                              description
                                "4-byte AS capable peers";
                            }
    
                            leaf is-addpath-capable {
                              type boolean;
                              description
                                "Add-path capable peers";
                            }
    
                            leaf is-send-mcast-attr-enabled {
                              type boolean;
                              description
                                "Flag to indicate if protocol independent
    multicast attributes are sent in this update
    group";
                            }
    
                            leaf is-aigp-capable {
                              type boolean;
                              description
                                "AIGP capable peers";
                            }
    
                            leaf is-aigp-cost-community-capable {
                              type boolean;
                              description
                                "Send AIGP cost community to peers";
                            }
    
                            leaf is-aigp-med-capable {
                              type boolean;
                              description
                                "Send AIGP cost in MED";
                            }
    
                            leaf is-llgr-capable {
                              type boolean;
                              description
                                "Send Long-lived Stale paths";
                            }
    
                            leaf is-adv-capable {
                              type boolean;
                              description
                                "Send tranlsated paths";
                            }
    
                            leaf is-adv-reorg-capable {
                              type boolean;
                              description
                                "Send Re-orig paths";
                            }
    
                            leaf disable-native-advertisement {
                              type boolean;
                              description
                                "Disable advertising native routes";
                            }
    
                            leaf disable-def-vrf-imp-advertisement {
                              type boolean;
                              description
                                "Disable advertising default VRF  imported routes";
                            }
    
                            leaf disable-vrf-re-imp-advertisement {
                              type boolean;
                              description
                                "Disable advertising VRF re-imported routes";
                            }
    
                            leaf encapsulation-type {
                              type uint32;
                              description
                                "BGP update group encapsulation type";
                            }
    
                            leaf advertise-rt-type {
                              type uint8;
                              description
                                "BGP update group toadvertise route target type";
                            }
    
                            leaf is-directly-connected-ebgp-v6-peers {
                              type boolean;
                              description
                                "Flag to indicate an update group is directly
    connected eBGP peers";
                            }
    
                            leaf minimum-advertisement-interval {
                              type uint32;
                              units "second";
                              description
                                "Minimum advert time for peers in this
    update-group in seconds";
                            }
    
                            leaf minimum-advertisement-interval-msecs {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Minimum advert time for peers inthis update
    group in milliseconds";
                            }
    
                            leaf local-as {
                              type uint32;
                              description
                                "Local AS number";
                            }
    
                            leaf route-policy-out {
                              type string;
                              description
                                "Outbound route policy name";
                            }
    
                            leaf desync-count {
                              type uint32;
                              description
                                "Number of times the update has been
    desynchronized";
                            }
    
                            leaf subgrp-merge-count {
                              type uint32;
                              description
                                "Number of times sub-groups have been merged";
                            }
    
                            leaf refresh-subgrp-count {
                              type uint32;
                              description
                                "Current count of refresh subgroups";
                            }
    
                            leaf updates-formatted {
                              type uint32;
                              description
                                "Number of updates formatted";
                            }
    
                            leaf updates-replicated {
                              type uint32;
                              description
                                "Number of updates replicatedfor BGP update group";
                            }
    
                            leaf local-as-replace-as {
                              type boolean;
                              description
                                "Local AS Replace-AS option";
                            }
    
                            leaf as-override {
                              type boolean;
                              description
                                "AS Override option";
                            }
    
                            leaf soo-value {
                              type string;
                              description
                                "Site-of-origin value";
                            }
    
                            leaf split-horizon {
                              type boolean;
                              description
                                "Split horizon check";
                            }
    
                            leaf is-labeled-afi-enabled {
                              type boolean;
                              description
                                "Update group has labeled AFI enabled";
                            }
    
                            leaf is-unlabeled-afi-enabled {
                              type boolean;
                              description
                                "Update group has unlabeled AFI enabled";
                            }
    
                            leaf ext-nh-encoding {
                              type boolean;
                              description
                                "Extended nexthop encoding cap received";
                            }
    
                            leaf remote-as {
                              type uint32;
                              description
                                "Remote AS number";
                            }
    
                            leaf is-adv-perm-net-capable {
                              type boolean;
                              description
                                "Advertise Permanent-Net capable peers";
                            }
    
                            leaf should-send-gshut-community {
                              type boolean;
                              description
                                "Send GSHUT community";
                            }
    
                            leaf gshut-active {
                              type boolean;
                              description
                                "GSHUT active";
                            }
    
                            leaf gshut-locpref-set {
                              type boolean;
                              description
                                "GSHUT local preference set";
                            }
    
                            leaf gshut-locpref {
                              type uint32;
                              description
                                "GSHUT local preference";
                            }
    
                            leaf gshut-prepends {
                              type uint8;
                              description
                                "GSHUT AS prepends";
                            }
    
                            leaf advertise-local-labeled-route-unicast {
                              type boolean;
                              description
                                "Advertise routes with local-label via Unicast
    SAFI";
                            }
    
                            leaf enable-label-stack {
                              type boolean;
                              description
                                "Enable BGP upgrade group label stack";
                            }
    
                            leaf contains-slow-peer {
                              type boolean;
                              description
                                "This update group contains slow peers";
                            }
    
                            list neighbor {
                              description
                                "Neighbors in this update group which are not in
    any sub-group";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // list neighbor
    
                            list update-sub-group {
                              description
                                "List of child refresh subgroups inBGP update
    group";
                              leaf update-sub-group-number {
                                type uint32;
                                description
                                  "Update sub-group index";
                              }
    
                              leaf filter-group {
                                type uint16;
                                description
                                  "Update sub-group fgrp-num";
                              }
    
                              leaf wait-for-eo-rs {
                                type boolean;
                                description
                                  "Wait for  RT Nbr EoRs";
                              }
    
                              list update-filter-group {
                                description
                                  "Update f-group list";
                                leaf update-filter-group-number {
                                  type uint32;
                                  description
                                    "Update sub-group index";
                                }
    
                                leaf rts {
                                  type uint32;
                                  description
                                    "RT count per filter group";
                                }
    
                                leaf fgroup-flags {
                                  type uint8;
                                  description
                                    "Flags per filter group";
                                }
    
                                leaf fgroup-neighbors {
                                  type uint16;
                                  description
                                    "Nbrs per filter group";
                                }
    
                                leaf fgroup-created-message-elements {
                                  type uint32;
                                  description
                                    "Number of message elems created for filtergroup";
                                }
    
                                leaf fgroup-deleted-message-elements {
                                  type uint32;
                                  description
                                    "Number of message elems deleted";
                                }
    
                                leaf fgroup-queued-message-elements {
                                  type uint32;
                                  description
                                    "Number of message elems queued";
                                }
    
                                leaf fgroup-advertised-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes advertised to filtergroup in
    last update walk";
                                }
    
                                leaf fgroup-total-advertised-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes advertised to filtergroup in
    all update walk";
                                }
    
                                leaf fgroup-withdrawn-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes withdrawn f`rom filtergroupin
    last update walk";
                                }
    
                                leaf fgroup-total-withdrawn-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes withdrawn f`rom filtergroupin
    all update walk";
                                }
    
                                leaf fgroup-total-non-optimised-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes  non-optm from filtergroupin
    all update walk";
                                }
    
                                leaf fgroup-skipped-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes skipped for filtergroup in
    last update walk";
                                }
    
                                leaf fgroup-suppressed-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes suppressed for filtergroup in
    last update walk";
                                }
    
                                leaf is-rt-present {
                                  type boolean;
                                  description
                                    "RT attribute list present";
                                }
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list neighbor {
                                  description
                                    "Neighbors in this update sub-group";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // list neighbor
                              }  // list update-filter-group
    
                              list neighbor {
                                description
                                  "Neighbors in this subgrp not in any filtergrp";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // list neighbor
                            }  // list update-sub-group
                          }  // list update-group
                        }  // container update-groups
    
                        container update-generation-sub-groups {
                          description
                            "The BGP Update generate entries  for all
    sub-groups";
                          list update-generation-sub-group {
                            description
                              "A BGP Update generate table entry for
    sub-group";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "A BGP Update Group Entry index";
                            }
    
                            leaf sub-group-index {
                              type uint32;
                              description
                                "A BGP Update Sub group Table index";
                            }
    
                            leaf sub-group-id {
                              type uint32;
                              description
                                "A BGP Update Sub group table ID";
                            }
    
                            container creation-timestamp {
                              description
                                "Creation time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container creation-timestamp
    
                            container last-merge-timestamp {
                              description
                                "Last merge time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-merge-timestamp
    
                            container first-update-walk-start-timestamp {
                              description
                                "BGP update generation sub-group start time for
    the first update walk";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-walk-start-timestamp
    
                            container first-update-walk-end-timestamp {
                              description
                                "BGP update generation sub-group end time for
    thefirst update walk";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-walk-end-timestamp
    
                            container last-update-walk-start-timestamp {
                              description
                                "BGP update generation sub-group start for
    thelast update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-walk-start-timestamp
    
                            container last-update-walk-end-timestamp {
                              description
                                "BGP update generation sub-group end time for
    thelast update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-walk-end-timestamp
    
                            container last-update-queued-timestamp {
                              description
                                "Time when last update queued event";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-queued-timestamp
    
                            container update-statistics {
                              description
                                "BGP subgroup statistics update";
                              container last-update-discard-timestamp {
                                description
                                  "Last Discarded time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-discard-timestamp
    
                              container last-update-cleared-timestamp {
                                description
                                  "Last Cleared time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-cleared-timestamp
    
                              container last-update-throttle-timestamp {
                                description
                                  "Last Throttled time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-throttle-timestamp
    
                              container last-update-recovery-timestamp {
                                description
                                  "Last Recovery time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-recovery-timestamp
    
                              container last-update-memory-allocation-fail-timestamp {
                                description
                                  "Memory allocation failure time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-memory-allocation-fail-timestamp
    
                              leaf update-out-queue-messages-high {
                                type uint32;
                                description
                                  "OutQueue High Messages";
                              }
    
                              leaf update-out-queue-messages-cumulative {
                                type uint32;
                                description
                                  "OutQueue Cumulative Messages";
                              }
    
                              leaf update-out-queue-messages-discarded {
                                type uint32;
                                description
                                  "OutQueue Discarded Messages";
                              }
    
                              leaf update-out-queue-messages-cleared {
                                type uint32;
                                description
                                  "OutQueue Cleared Messages";
                              }
    
                              leaf update-out-queue-size-high {
                                type uint32;
                                description
                                  "OutQueue Hi Size";
                              }
    
                              leaf update-out-queue-size-cumulative {
                                type uint64;
                                description
                                  "OutQueue Cumulative Size";
                              }
    
                              leaf update-out-queue-size-discarded {
                                type uint64;
                                description
                                  "OutQueue Discarded Size";
                              }
    
                              leaf update-out-queue-size-cleared {
                                type uint64;
                                description
                                  "OutQueue Cleared Size";
                              }
    
                              leaf last-update-discard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Discard event (in seconds)";
                              }
    
                              leaf last-update-cleard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Clear event (in seconds)";
                              }
    
                              leaf update-throttle-count {
                                type uint32;
                                description
                                  "Throttle Count";
                              }
    
                              leaf last-update-throttle-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Throttle event (in seconds)";
                              }
    
                              leaf update-recovery-count {
                                type uint32;
                                description
                                  "Recovery Count";
                              }
    
                              leaf last-update-recovery-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Recovery event (in seconds)";
                              }
    
                              leaf update-memory-allocation-fail-count {
                                type uint32;
                                description
                                  "Number of times there was failure when
    allocatingmemory for BGP update generation";
                              }
    
                              leaf last-update-memory-allocation-fail-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last memory allocation failure event
    (in seconds)";
                              }
                            }  // container update-statistics
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf sub-group-index-xr {
                              type uint32;
                              description
                                "Index for BGP sub-group";
                            }
    
                            leaf sub-group-id-xr {
                              type uint32;
                              description
                                "Sub-group ID";
                            }
    
                            leaf parent-sub-group-index {
                              type uint32;
                              description
                                "Index of the  parent sub-group";
                            }
    
                            leaf parent-sub-group-id {
                              type uint32;
                              description
                                "Parent Sub-group identifier";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "Index of the this BGp update group";
                            }
    
                            leaf update-main-table-version {
                              type uint32;
                              description
                                "Main table version";
                            }
    
                            leaf update-vrf-table-rib-version {
                              type uint32;
                              description
                                "VRF Table RIB version";
                            }
    
                            leaf current-update-limit-sub-group {
                              type uint32;
                              description
                                "Current update limit";
                            }
    
                            leaf configured-update-limit-sub-group {
                              type uint32;
                              description
                                "Configured update limit";
                            }
    
                            leaf update-out-queue-messages {
                              type uint32;
                              description
                                "OutQueue messages";
                            }
    
                            leaf update-out-queue-size {
                              type uint32;
                              description
                                "OutQueue size";
                            }
    
                            leaf update-throttled {
                              type boolean;
                              description
                                "Flag to verify update throttled in BGPupdate
    generation sub-group";
                            }
    
                            leaf refresh-sub-group-count {
                              type uint32;
                              description
                                "Number of times BGP Update generation
    sub-grouprefreshed";
                            }
    
                            leaf filter-group-count {
                              type uint32;
                              description
                                "Number of filter groups are present in BGPupdate
    generation";
                            }
    
                            leaf neighbor-count {
                              type uint32;
                              description
                                "Number of neighbors in the sub-group";
                            }
    
                            leaf version {
                              type uint32;
                              description
                                "Version up to which we have generated updatesfor
    the entity";
                            }
    
                            leaf nsr-version {
                              type uint32;
                              description
                                "NSR version";
                            }
    
                            leaf pending-target-version {
                              type uint32;
                              description
                                "Target version for pending update generation";
                            }
    
                            leaf next-resume-version {
                              type uint32;
                              description
                                "Version number identifying the next net
    toprocess when an attribute table walk has been
    interrupted";
                            }
    
                            leaf update-refresh-target-version {
                              type uint32;
                              description
                                "Target version for update generation in response
    to arefresh request";
                            }
    
                            leaf io-write-event-pending {
                              type boolean;
                              description
                                "Flag for an event has been sent to the IO thread";
                            }
    
                            leaf merge-count {
                              type uint32;
                              description
                                "Number of times BGP update sub-groups have been
    merged";
                            }
    
                            leaf last-merged-sub-group-index {
                              type uint32;
                              description
                                "BGP subgroup index merge happened last time";
                            }
    
                            leaf eo-r-attempted {
                              type boolean;
                              description
                                "Sending EoR has been attempted";
                            }
    
                            leaf last-update-walk-end-age {
                              type uint32;
                              description
                                "Time since last update walk end event";
                            }
    
                            leaf last-update-queued-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last update queued event (in seconds)";
                            }
                          }  // list update-generation-sub-group
                        }  // container update-generation-sub-groups
    
                        container next-hop-address-families {
                          description
                            "Address family of nexthop table";
                          list next-hop-address-family {
                            key "next-hop-af-name";
                            description
                              "Address family of a nexthop entry";
                            container next-hop-af-vrf-af {
                              description
                                "A BGP Next-hop VRF AF table entry";
                              container performance-statistics {
                                description
                                  "BGP next hop virtual routingand forwarding
    performancestatistics";
                                leaf critical-notf-count {
                                  type uint32;
                                  description
                                    "Number of critical event notifications from RIB";
                                }
    
                                leaf noncritical-notf-count {
                                  type uint32;
                                  description
                                    "Number of non-critical event notifications from
    RIB";
                                }
    
                                leaf last-notf-bestpath-deletes {
                                  type uint32;
                                  description
                                    "Number of bestpath deletes due to last
    notification";
                                }
    
                                leaf last-notf-bestpath-changes {
                                  type uint32;
                                  description
                                    "Number of bestpath changes due to last
    notification";
                                }
    
                                leaf nh-sync-reg-calls {
                                  type uint32;
                                  description
                                    "NH sync register calls";
                                }
    
                                leaf nha-sync-reg-calls {
                                  type uint32;
                                  description
                                    "NH async register calls";
                                }
    
                                leaf nha-sync-un-reg-calls {
                                  type uint32;
                                  description
                                    "NH async unregister calls";
                                }
    
                                leaf nh-pending-registrations {
                                  type uint32;
                                  description
                                    "NH Registration List Count";
                                }
    
                                leaf nh-peak-registrations {
                                  type uint32;
                                  description
                                    "NH Registration List Count Peak";
                                }
    
                                leaf nh-batch-finish-calls {
                                  type uint32;
                                  description
                                    "Count of the batch finish calls for next hop";
                                }
    
                                leaf nh-flush-timer-calls {
                                  type uint32;
                                  description
                                    "Count of the flush timer calls for net hop";
                                }
    
                                leaf nh-last-sync-reg-ts {
                                  type uint32;
                                  description
                                    "NH Last sync Register TS";
                                }
    
                                leaf nh-last-a-sync-reg-ts {
                                  type uint32;
                                  description
                                    "NH Last async Register TS";
                                }
    
                                leaf nh-last-a-sync-un-reg-ts {
                                  type uint32;
                                  description
                                    "NH Last async UnRegister TS";
                                }
    
                                leaf nh-last-batch-finish-ts {
                                  type uint32;
                                  description
                                    "NH Last batch finish TS";
                                }
    
                                leaf nh-last-flush-timer-ts {
                                  type uint32;
                                  description
                                    "NH Last flush timer TS";
                                }
    
                                leaf nhrib-update-calls {
                                  type uint32;
                                  description
                                    "No. of calls to RIB update function";
                                }
    
                                leaf nhrib-update-time {
                                  type uint32;
                                  units
                                    "millisecond";
                                  description
                                    "Time spent sending RIB updates (milliseconds)";
                                }
    
                                leaf nexthops-sent-to-rib {
                                  type uint32;
                                  description
                                    "No. of nexthops sent to RIB";
                                }
    
                                leaf nexthops-resent-to-rib {
                                  type uint32;
                                  description
                                    "No. of nexthops re-sent to RIB";
                                }
    
                                leaf nexthops-removed-from-rib {
                                  type uint32;
                                  description
                                    "No. of nexthops withdrawn from RIB";
                                }
    
                                leaf rib-sync-registers-failed {
                                  type uint32;
                                  description
                                    "No. of sync registers with RIB that failed";
                                }
    
                                leaf riba-sync-registers-failed {
                                  type uint32;
                                  description
                                    "No. of async registers with RIB that failed";
                                }
    
                                leaf ribnh-reg-failed-for-no-tbl-id {
                                  type uint32;
                                  description
                                    "No. of nh registers failed because of no tbl-id";
                                }
    
                                leaf ribnh-reg-failed-for-no-rib-conn {
                                  type uint32;
                                  description
                                    "No. of nh registers failed because of no rib
    conn";
                                }
    
                                leaf tunnel-walk-nh-not-found {
                                  type uint32;
                                  description
                                    "No. of times nexthop was not found during tunnel
    walk";
                                }
    
                                leaf tunnel-walk-gw-not-found {
                                  type uint32;
                                  description
                                    "No. of times gw was not found during tunnel walk";
                                }
    
                                leaf tunnel-walk-backup-creates {
                                  type uint32;
                                  description
                                    "No. of times backup tid created during tunnel
    walk";
                                }
                              }  // container performance-statistics
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf gwaf-name {
                                type Bgp-afi;
                                description
                                  "GW Address family identifier";
                              }
    
                              leaf total-nexthops {
                                type uint32;
                                description
                                  "Total number of nexthops";
                              }
    
                              leaf critical-trigger-delay {
                                type uint32;
                                description
                                  "Trigger delay for critical event processing";
                              }
    
                              leaf non-critical-trigger-delay {
                                type uint32;
                                description
                                  "Trigger delay for non-critical event processing";
                              }
    
                              leaf table-active {
                                type boolean;
                                description
                                  "Whether the VRF is active";
                              }
    
                              leaf nh-rib-up {
                                type boolean;
                                description
                                  "Whether the VRF is active";
                              }
    
                              leaf nh-rib-version {
                                type uint32;
                                description
                                  "RIB version for gw_ctx";
                              }
    
                              leaf nh-nexthop-version {
                                type uint32;
                                description
                                  "NH version for gw_ctx";
                              }
    
                              leaf nh-table-id {
                                type uint32;
                                description
                                  "Gateway context table id";
                              }
    
                              leaf epe-table-version {
                                type uint32;
                                description
                                  "Version of the EPE table";
                              }
    
                              leaf epe-label-version {
                                type uint32;
                                description
                                  "Version of the EPE label walk";
                              }
    
                              leaf epe-downloaded-version {
                                type uint32;
                                description
                                  "Version of the EPE table downloaded";
                              }
    
                              leaf epe-standby-version {
                                type uint32;
                                description
                                  "Version of the EPE table processed by sync
    thread";
                              }
                            }  // container next-hop-af-vrf-af
    
                            container next-hop-afs {
                              description
                                "The BGP Next-hop table";
                              list next-hop-af {
                                description
                                  "A BGP Next hop entry";
                                leaf next-hop-address {
                                  type inet:ip-address-no-zone;
                                  description
                                    "IP address of Next hop Entry";
                                }
    
                                leaf attribute-set {
                                  type xr:Cisco-ios-xr-string;
                                  description
                                    "Attribute Set Name";
                                }
    
                                container nexthop-address {
                                  description
                                    "IP address of nexthop in BGP";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container nexthop-address
    
                                container nh-tunnel {
                                  description
                                    "NH tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container nexthop-internal-info {
                                  description
                                    "Internal nexthop info";
                                  container nexthop-address {
                                    description
                                      "IP address of the next hop in BGP";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container nexthop-address
    
                                  leaf nexthop-id {
                                    type uint32;
                                    description
                                      "Comm librray ID";
                                  }
    
                                  leaf nexthop-version {
                                    type uint32;
                                    description
                                      "Table version";
                                  }
    
                                  leaf nexthop-flags {
                                    type uint32;
                                    description
                                      "Flags associated with the next hop address in
    BGP";
                                  }
    
                                  leaf nexthop-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle associated with the next hop
    address in BGP";
                                  }
    
                                  leaf nexthop-af-user-bits {
                                    type uint32;
                                    description
                                      "Bitmask indicating the AFs which share the
    nexthop";
                                  }
    
                                  leaf nexthop-label {
                                    type uint32;
                                    description
                                      "Label associated with the next hop address";
                                  }
    
                                  leaf gateway-flags {
                                    type uint32;
                                    description
                                      "BGP nexthop gateway flags";
                                  }
    
                                  list nexthop-metrice {
                                    description
                                      "Metrices associated with the next hop address in
    
    BGP";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Metrices associated with the next hop address in
    
    BGP";
                                    }
                                  }  // list nexthop-metrice
    
                                  list nexthop-refcount {
                                    description
                                      "reference counts for the next hop";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "reference counts for the next hop";
                                    }
                                  }  // list nexthop-refcount
    
                                  list nexthop-gateway-internal-info {
                                    description
                                      "Internal nexthop Gateway info";
                                    leaf gateway-flags {
                                      type uint32;
                                      description
                                        "Flags in BGP gateway next hop";
                                    }
    
                                    leaf registration-type {
                                      type Bgp-nh-validate;
                                      description
                                        "Registration type for next hop";
                                    }
    
                                    leaf registration-since {
                                      type uint32;
                                      description
                                        "Time since registration";
                                    }
                                  }  // list nexthop-gateway-internal-info
                                }  // container nexthop-internal-info
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Address family identifier";
                                }
    
                                leaf rib-nexthop-id {
                                  type uint32;
                                  description
                                    "RIB Nexthop Id";
                                }
    
                                leaf nexthop-pending-registration {
                                  type uint8;
                                  description
                                    "Nexthop registration is pending";
                                }
    
                                leaf nexthop-reference-count {
                                  type uint32;
                                  description
                                    "Count of neighbors/prefixes referencing this
    nexthop";
                                }
    
                                leaf nh-reference-count-total {
                                  type uint32;
                                  description
                                    "Count of neighbors/prefixes referencing this
    nexthop (AFs)";
                                }
    
                                leaf nh-first-hop-if-handle {
                                  type xr:Interface-name;
                                  description
                                    "First-hop interface handle";
                                }
    
                                leaf nexthop-aigp-metric {
                                  type uint32;
                                  description
                                    "AIGP metrice of nexthop";
                                }
    
                                leaf nexthop-gateway-reachable {
                                  type boolean;
                                  description
                                    "Flag to indicate if Gateway is reachable";
                                }
    
                                leaf nexthop-gateway-prefix-connected {
                                  type boolean;
                                  description
                                    "Flag to indicate if Gateway resolved through
    Connected route";
                                }
    
                                leaf nexthop-gateway-prefix-length {
                                  type uint32;
                                  description
                                    "Gateway prefix length";
                                }
    
                                list nexthop-gateway-info {
                                  description
                                    "Gateway related info, including Optimal Route
    Reflector Gateways";
                                  container nexthop-route {
                                    description
                                      "Route resolving the nexthop";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container nexthop-route
    
                                  leaf nexthop-route-prefix-length {
                                    type uint8;
                                    description
                                      "Prefix length of the route resolving the nexthop";
                                  }
    
                                  leaf nexthop-route-protocol {
                                    type string;
                                    description
                                      "Protocol that resolves the route to the nexthop";
                                  }
    
                                  leaf nexthop-route-path-count {
                                    type uint32;
                                    description
                                      "Count of paths in the resolving route";
                                  }
    
                                  leaf nexthop-af-invalid-bits {
                                    type uint16;
                                    description
                                      "Bitmask indicating the address-family which have
    been invalidated for the nexthop";
                                  }
    
                                  leaf nexthop-status {
                                    type uint8;
                                    description
                                      "Status of the next hop address";
                                  }
    
                                  leaf nexthop-tableid {
                                    type uint64;
                                    description
                                      "BGP gateway neighbor route table id";
                                  }
    
                                  leaf nexthop-metric {
                                    type uint32;
                                    description
                                      "IGP metric for nexthop";
                                  }
    
                                  leaf orrafi-used-bits {
                                    type uint32;
                                    description
                                      "ORR afi bits";
                                  }
    
                                  leaf last-event-type {
                                    type Bgp-nh-event;
                                    description
                                      "Last nexthop event type";
                                  }
    
                                  leaf last-update-type {
                                    type Bgp-nh-update;
                                    description
                                      "Last nexthop update type";
                                  }
    
                                  leaf critical-events {
                                    type uint32;
                                    description
                                      "Count of critical events received from RIB";
                                  }
    
                                  leaf non-critical-events {
                                    type uint32;
                                    description
                                      "Count of non-critical events received from RIB";
                                  }
    
                                  leaf last-event-since {
                                    type uint32;
                                    description
                                      "Time since the last event sent to or received
    from RIB";
                                  }
    
                                  leaf last-rib-update {
                                    type uint32;
                                    description
                                      "Time since the last rib update happened";
                                  }
    
                                  leaf nexthop-mpls-enabled {
                                    type boolean;
                                    description
                                      "TRUE if MPLS is configured for IAS/CsC
    application";
                                  }
    
                                  leaf nexthop-mpls-interfaces {
                                    type uint32;
                                    description
                                      "Count of interfaces on which MPLS is enabled";
                                  }
    
                                  leaf nexthop-mpls-label {
                                    type uint32;
                                    description
                                      "Local label allocated for IAS/CsC application";
                                  }
    
                                  list nexthop-route-path {
                                    description
                                      "Nexthop paths of the resolving route";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // list nexthop-route-path
                                }  // list nexthop-gateway-info
    
                                list neighbor-address {
                                  description
                                    "Neighbor Address List";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // list neighbor-address
                              }  // list next-hop-af
                            }  // container next-hop-afs
    
                            leaf next-hop-af-name {
                              type dt1:Bgp-address-family;
                              description
                                "Address family";
                            }
                          }  // list next-hop-address-family
                        }  // container next-hop-address-families
    
                        container rt-set-counters {
                          description
                            "The RT-set counter table";
                          list rt-set-counter {
                            key "rt-set-id";
                            description
                              "One RT-set counter table entry";
                            leaf rt-set-id {
                              type uint32;
                              description
                                "Identifier of RTSet";
                            }
    
                            container route-target-set {
                              description
                                "BGP route target set";
                              leaf rt-set-len {
                                type uint8;
                                units "byte";
                                description
                                  "Length in bytes of set of route targets";
                              }
    
                              leaf rt-set-id {
                                type uint32;
                                description
                                  "Identifier of the rtset";
                              }
    
                              leaf rt-set-net-count {
                                type uint32;
                                description
                                  "Count of nets with paths with the rtset";
                              }
    
                              list rt-set {
                                description
                                  "Set of route targets";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Set of route targets";
                                }
                              }  // list rt-set
                            }  // container route-target-set
                          }  // list rt-set-counter
                        }  // container rt-set-counters
    
                        container bmp-paths {
                          description
                            "The paths in BMP Table";
                          list bmp-path {
                            key "network";
                            description
                              "A BMP path table entry";
                            leaf network {
                              type inet:ip-prefix;
                              description
                                "Network in prefix/length format";
                            }
    
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container version-timestamp {
                              description
                                "Net Version bump timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-timestamp
    
                            container version-age {
                              description
                                "Net Version bump age";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-age
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf bmp-net-flags {
                              type uint32;
                              description
                                "Flags associated with net";
                            }
    
                            leaf bmp-net-version {
                              type uint32;
                              description
                                "Net's version";
                            }
    
                            leaf num-of-path {
                              type uint32;
                              description
                                "Number of path for the net";
                            }
    
                            leaf has-local-label {
                              type boolean;
                              description
                                "Flag to indicate if local label is present in
    netbag";
                            }
    
                            leaf net-local-label {
                              type uint32;
                              description
                                "Local label";
                            }
    
                            list bmp-path {
                              description
                                "List of paths under the BMP net";
                              container neighbor-address {
                                description
                                  "BGP monitoring protocolip address of neighbor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf bmp-path-flags {
                                type uint32;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf bmp-path-adv-bit-map {
                                type uint16;
                                description
                                  "Path's Adv bit map";
                              }
    
                              leaf bmp-path-snd-bit-map {
                                type uint16;
                                description
                                  "Path's pending snd bit map";
                              }
    
                              leaf bmp-nbr-bit-map {
                                type uint32;
                                description
                                  "Paths Nbr bmp bit map";
                              }
    
                              leaf local-path {
                                type boolean;
                                description
                                  "Is path originated locally?";
                              }
    
                              leaf bpath-pointer {
                                type uint64;
                                description
                                  "BGP Path pointer";
                              }
    
                              list received-label {
                                description
                                  "Set of received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Set of received label stack";
                                }
                              }  // list received-label
                            }  // list bmp-path
                          }  // list bmp-path
                        }  // container bmp-paths
    
                        container update-generation-update-groups {
                          description
                            "The BGP Update generate entries for all
    update-groups";
                          list update-generation-update-group {
                            key "update-group-index";
                            description
                              "A BGP Update Generate Group Entry";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Update group index of the update-group table";
                            }
    
                            container last-update-timer-start-timestamp {
                              description
                                "Start timer update for the last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-start-timestamp
    
                            container last-update-timer-stop-timestamp {
                              description
                                "Timer stop time for the last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-stop-timestamp
    
                            container last-update-timer-expiry-timestamp {
                              description
                                "Timer expiry time update for last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-expiry-timestamp
    
                            container last-update-timer-remaining-value {
                              description
                                "Update timer remaining time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-remaining-value
    
                            container last-update-timer-delay-value {
                              description
                                "Number of timer delayed for the last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-delay-value
    
                            container update-statistics {
                              description
                                "BGP update-group update statistics";
                              container last-update-discard-timestamp {
                                description
                                  "Last Discarded time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-discard-timestamp
    
                              container last-update-cleared-timestamp {
                                description
                                  "Last Cleared time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-cleared-timestamp
    
                              container last-update-throttle-timestamp {
                                description
                                  "Last Throttled time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-throttle-timestamp
    
                              container last-update-recovery-timestamp {
                                description
                                  "Last Recovery time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-recovery-timestamp
    
                              container last-update-memory-allocation-fail-timestamp {
                                description
                                  "Memory allocation failure time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-memory-allocation-fail-timestamp
    
                              leaf update-out-queue-messages-high {
                                type uint32;
                                description
                                  "OutQueue High Messages";
                              }
    
                              leaf update-out-queue-messages-cumulative {
                                type uint32;
                                description
                                  "OutQueue Cumulative Messages";
                              }
    
                              leaf update-out-queue-messages-discarded {
                                type uint32;
                                description
                                  "OutQueue Discarded Messages";
                              }
    
                              leaf update-out-queue-messages-cleared {
                                type uint32;
                                description
                                  "OutQueue Cleared Messages";
                              }
    
                              leaf update-out-queue-size-high {
                                type uint32;
                                description
                                  "OutQueue Hi Size";
                              }
    
                              leaf update-out-queue-size-cumulative {
                                type uint64;
                                description
                                  "OutQueue Cumulative Size";
                              }
    
                              leaf update-out-queue-size-discarded {
                                type uint64;
                                description
                                  "OutQueue Discarded Size";
                              }
    
                              leaf update-out-queue-size-cleared {
                                type uint64;
                                description
                                  "OutQueue Cleared Size";
                              }
    
                              leaf last-update-discard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Discard event (in seconds)";
                              }
    
                              leaf last-update-cleard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Clear event (in seconds)";
                              }
    
                              leaf update-throttle-count {
                                type uint32;
                                description
                                  "Throttle Count";
                              }
    
                              leaf last-update-throttle-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Throttle event (in seconds)";
                              }
    
                              leaf update-recovery-count {
                                type uint32;
                                description
                                  "Recovery Count";
                              }
    
                              leaf last-update-recovery-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Recovery event (in seconds)";
                              }
    
                              leaf update-memory-allocation-fail-count {
                                type uint32;
                                description
                                  "Number of times there was failure when
    allocatingmemory for BGP update generation";
                              }
    
                              leaf last-update-memory-allocation-fail-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last memory allocation failure event
    (in seconds)";
                              }
                            }  // container update-statistics
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf neighbor-session-af-name {
                              type uint8;
                              description
                                "Neighbor session address family";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "Index of the BGP update group";
                            }
    
                            leaf update-group-flags2 {
                              type uint32;
                              description
                                "Update-group internal flags2";
                            }
    
                            leaf update-out-queue-messages {
                              type uint32;
                              description
                                "OutQueue Messages";
                            }
    
                            leaf update-out-queue-size {
                              type uint32;
                              description
                                "OutQueue Size";
                            }
    
                            leaf update-sub-group-count {
                              type uint32;
                              description
                                "Sub-group count";
                            }
    
                            leaf sub-group-throttled-count {
                              type uint32;
                              description
                                "Throttled sub-group count";
                            }
    
                            leaf refresh-sub-group-count {
                              type uint32;
                              description
                                "Number of temporary refresh sub groups";
                            }
    
                            leaf refresh-sub-group-throttled-count {
                              type uint32;
                              description
                                "Throttled refresh sub-group count";
                            }
    
                            leaf filter-group-count {
                              type uint32;
                              description
                                "Number of filter groups in BGP update generation";
                            }
    
                            leaf neighbor-count {
                              type uint32;
                              description
                                "Number of neighbors present in BGp update
    generation";
                            }
    
                            leaf neighbor-leaving-count {
                              type uint32;
                              description
                                "Count of neighbors leaving the update-group";
                            }
    
                            leaf update-generation-recovery-pending {
                              type boolean;
                              description
                                "Flag to indicate if update generation recovery
    is pending";
                            }
    
                            leaf last-update-timer-expiry-age {
                              type uint32;
                              description
                                "Time since last update timer expiry event";
                            }
    
                            leaf is-update-timer-running {
                              type boolean;
                              description
                                "Flag to indicate if timer is  running";
                            }
    
                            leaf perm-pelem-encountered {
                              type uint32;
                              description
                                "Count of Perm Pelems seen by updgen";
                            }
    
                            leaf perm-pelem-allowed {
                              type uint32;
                              description
                                "Count of Perm Pelems allowed by updgen";
                            }
    
                            leaf perm-pelem-not-allowed {
                              type uint32;
                              description
                                "Count of Perm Pelems not allowed by updgen";
                            }
    
                            leaf perm-pelem-exp-wdr {
                              type uint32;
                              description
                                "Count of Perm Pelems explicitly wdrn by updgen";
                            }
    
                            leaf perm-pelem-spur-wdr {
                              type uint32;
                              description
                                "Count of Perm Pelems Spurious withdraws by
    updgen";
                            }
    
                            leaf is-permanent {
                              type boolean;
                              description
                                "Permanent UG check";
                            }
                          }  // list update-generation-update-group
                        }  // container update-generation-update-groups
    
                        container update-generation-filter-groups {
                          description
                            "Update generation for all filter-groups under
    a sub-group";
                          list update-generation-filter-group {
                            description
                              "A BGP Update generate table entry for
    filter-group";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "A BGP Update Group Entry index";
                            }
    
                            leaf sub-group-index {
                              type uint32;
                              description
                                "A BGP Update Sub group Table index";
                            }
    
                            leaf sub-group-id {
                              type uint32;
                              description
                                "A BGP Update Sub group table ID";
                            }
    
                            leaf filter-group-index {
                              type uint32;
                              description
                                "A BGP Filter group Table index";
                            }
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf update-filter-group-index {
                              type uint32;
                              description
                                "Filter-group index";
                            }
    
                            leaf parent-filter-group-index {
                              type uint32;
                              description
                                "In refresh sub group points to the
    correspondingfilter group in parent subgroup
    index";
                            }
    
                            leaf sub-group-index-xr {
                              type uint32;
                              description
                                "Index for the sub-group used when accessing bits";
                            }
    
                            leaf sub-group-id-xr {
                              type uint32;
                              description
                                "Sub-group identifier";
                            }
    
                            leaf parent-sub-group-index {
                              type uint32;
                              description
                                "Index for the subgroup of parent";
                            }
    
                            leaf parent-sub-group-id {
                              type uint32;
                              description
                                "Parent Sub-group identifier";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "BGP update generation index of update-group";
                            }
    
                            leaf neighbor-count {
                              type uint32;
                              description
                                "Number of neighbors in this BGP filter-group";
                            }
                          }  // list update-generation-filter-group
                        }  // container update-generation-filter-groups
    
                        container networks {
                          description
                            "The BGP Network Table";
                          list network {
                            description
                              "A BGP Network table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container version-timestamp {
                              description
                                "BGP network version timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-timestamp
    
                            container version-age {
                              description
                                "BGP network age of version";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-age
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "ID of the BGP process instance";
                            }
    
                            leaf has-inconsistent-paths {
                              type boolean;
                              description
                                "Flag to indicate if inconsistent paths attached
    to net";
                            }
    
                            leaf is-net-aggregation-suppressed {
                              type boolean;
                              description
                                "Net suppressed due to aggregation";
                            }
    
                            leaf is-net-ldp-signaled {
                              type boolean;
                              description
                                "L2VPN Net LDP signaled  aggregation";
                            }
    
                            leaf table-version {
                              type uint32;
                              description
                                "Table version # for net";
                            }
    
                            leaf table-brib-version {
                              type uint32;
                              description
                                "Table version # for updates";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf has-local-label {
                              type boolean;
                              description
                                "Flag to indicate if local BGP labelassociated
    with the net";
                            }
    
                            leaf net-local-label {
                              type uint32;
                              description
                                "Local label";
                            }
    
                            leaf net-label-mode {
                              type uint32;
                              description
                                "Label mode";
                            }
    
                            leaf net-local-label-rewrite {
                              type boolean;
                              description
                                "Net label has rewrite";
                            }
    
                            leaf net-local-label-srgb {
                              type boolean;
                              description
                                "Net label allocated fromSegment routing global
    block";
                            }
    
                            leaf has-lbl-retained {
                              type boolean;
                              description
                                "Flag to indicate if BGP network labels are
    retained ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP network Route Distinguisher";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf net-flags {
                              type uint32;
                              description
                                "Flags associated with
    net";
                            }
    
                            leaf net-extended-flags {
                              type uint32;
                              description
                                "BGP network flags for extendedcommunity";
                            }
    
                            leaf net-multipath {
                              type boolean;
                              description
                                "Net has multipaths";
                            }
    
                            leaf net-eibgp-multipath {
                              type boolean;
                              description
                                "Net has EIBGP multipaths";
                            }
    
                            leaf net-backup-available {
                              type boolean;
                              description
                                "Net has backup path";
                            }
    
                            leaf net-backup-label-rewrite-available {
                              type boolean;
                              description
                                "Net has label rewrite for backup path";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "RIB install failed";
                            }
    
                            leaf gateway-array {
                              type uint32;
                              description
                                "ID for the gateway array";
                            }
    
                            leaf resilient-nexthop-set {
                              type uint32;
                              description
                                "ID for the Resilient per CEnexthop set";
                            }
    
                            leaf is-permanent-network {
                              type boolean;
                              description
                                "Flag that indicates that the networkhas
    permanent path";
                            }
    
                            leaf num-of-path {
                              type uint32;
                              description
                                "Number of path for this net";
                            }
    
                            leaf version {
                              type uint32;
                              description
                                "The version of the the radix tree";
                            }
    
                            leaf bit {
                              type uint16;
                              description "Bit";
                            }
    
                            leaf flags {
                              type uint8;
                              description
                                "Flags";
                            }
    
                            leaf has-srv6-sid-allocated {
                              type boolean;
                              description
                                "Net has SRv6 SID allocated";
                            }
    
                            leaf srv6-sid-address {
                              type Ipv6-address;
                              description
                                "SRv6 SID address value";
                            }
    
                            leaf srv6-sid-address-len {
                              type uint32;
                              description
                                "SRv6 SID address Length";
                            }
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
    
                            list local-process-instance-path {
                              description
                                "Local (to process instance) paths for this net ";
                              container advertised-neighbor {
                                description
                                  "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container advertised-neighbor
    
                              container path-information {
                                description
                                  "BGP path information ";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-information
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf process-instance-id {
                                type uint8;
                                description
                                  "BGP Process instance ID";
                              }
    
                              leaf label-oor {
                                type boolean;
                                description
                                  "LSD label space is exhausted";
                              }
    
                              leaf label-oor-version {
                                type uint32;
                                description
                                  "Label Version when OOR happens";
                              }
    
                              leaf label-fail {
                                type boolean;
                                description
                                  "LSD label allocation failed ";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Source Route Distinguisher";
                              }
    
                              leaf original-source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Original Source Route Distinguisher";
                              }
    
                              leaf prefix-version {
                                type uint32;
                                description
                                  "Version of BGP Prefix Table";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
    
                              leaf source-vrf-name {
                                type string;
                                description
                                  "Name of the source VRF";
                              }
    
                              leaf srcaf-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
                            }  // list local-process-instance-path
    
                            list active-process-instance-path {
                              description
                                "Path for this net from BGP active instance
    process";
                              container advertised-neighbor {
                                description
                                  "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container advertised-neighbor
    
                              container path-information {
                                description
                                  "BGP path information ";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-information
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf process-instance-id {
                                type uint8;
                                description
                                  "BGP Process instance ID";
                              }
    
                              leaf label-oor {
                                type boolean;
                                description
                                  "LSD label space is exhausted";
                              }
    
                              leaf label-oor-version {
                                type uint32;
                                description
                                  "Label Version when OOR happens";
                              }
    
                              leaf label-fail {
                                type boolean;
                                description
                                  "LSD label allocation failed ";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Source Route Distinguisher";
                              }
    
                              leaf original-source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Original Source Route Distinguisher";
                              }
    
                              leaf prefix-version {
                                type uint32;
                                description
                                  "Version of BGP Prefix Table";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
    
                              leaf source-vrf-name {
                                type string;
                                description
                                  "Name of the source VRF";
                              }
    
                              leaf srcaf-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
                            }  // list active-process-instance-path
    
                            list local-path-element {
                              description
                                "BGP network elements list of thelocal path";
                              container pelem-path-nexthop {
                                description
                                  "Path nexthop address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-nexthop
    
                              container nh-tunnel {
                                description
                                  "NH tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container pelem-path-neighbor-addr {
                                description
                                  "Path neighbor address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-neighbor-addr
    
                              leaf pelem-path-id {
                                type uint32;
                                description
                                  "Local Path ID";
                              }
    
                              leaf pelem-version {
                                type uint32;
                                description
                                  "Version";
                              }
    
                              leaf pelem-flags {
                                type uint32;
                                description
                                  "Flags";
                              }
    
                              leaf pelem-gw-metric {
                                type uint32;
                                description
                                  "Gateway metric";
                              }
    
                              leaf pelem-path-flags {
                                type uint64;
                                description
                                  "Path flags";
                              }
    
                              leaf pelem-path-peer-path-id {
                                type uint32;
                                description
                                  "Path peer path ID";
                              }
    
                              leaf pelem-table-attr-version {
                                type uint32;
                                description
                                  "Table Attr version";
                              }
    
                              leaf pelem-path-table-attr-version {
                                type uint32;
                                description
                                  "Path Table Attribute version";
                              }
    
                              leaf pelem-no-bestpath-table-attr-version {
                                type uint32;
                                description
                                  "BGP network no best path tableattribute version
    number";
                              }
    
                              leaf pelem-no-addpath-table-attr-version {
                                type uint32;
                                description
                                  "The version of the no addpath table attribute";
                              }
    
                              leaf is-perm-path-pelem {
                                type boolean;
                                description
                                  "Pelem for permanent path";
                              }
                            }  // list local-path-element
    
                            list active-path-element {
                              description
                                "Path element list received from Active inst";
                              container pelem-path-nexthop {
                                description
                                  "Path nexthop address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-nexthop
    
                              container nh-tunnel {
                                description
                                  "NH tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container pelem-path-neighbor-addr {
                                description
                                  "Path neighbor address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-neighbor-addr
    
                              leaf pelem-path-id {
                                type uint32;
                                description
                                  "Local Path ID";
                              }
    
                              leaf pelem-version {
                                type uint32;
                                description
                                  "Version";
                              }
    
                              leaf pelem-flags {
                                type uint32;
                                description
                                  "Flags";
                              }
    
                              leaf pelem-gw-metric {
                                type uint32;
                                description
                                  "Gateway metric";
                              }
    
                              leaf pelem-path-flags {
                                type uint64;
                                description
                                  "Path flags";
                              }
    
                              leaf pelem-path-peer-path-id {
                                type uint32;
                                description
                                  "Path peer path ID";
                              }
    
                              leaf pelem-table-attr-version {
                                type uint32;
                                description
                                  "Table Attr version";
                              }
    
                              leaf pelem-path-table-attr-version {
                                type uint32;
                                description
                                  "Path Table Attribute version";
                              }
    
                              leaf pelem-no-bestpath-table-attr-version {
                                type uint32;
                                description
                                  "BGP network no best path tableattribute version
    number";
                              }
    
                              leaf pelem-no-addpath-table-attr-version {
                                type uint32;
                                description
                                  "The version of the no addpath table attribute";
                              }
    
                              leaf is-perm-path-pelem {
                                type boolean;
                                description
                                  "Pelem for permanent path";
                              }
                            }  // list active-path-element
                          }  // list network
                        }  // container networks
    
                        container path-table {
                          description
                            "The BGP Path Table";
                          list path {
                            description
                              "A BGP path table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address for the BGP neighbor";
                            }
    
                            leaf route-type {
                              type Bgp-route;
                              description
                                "Route Type";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list path
                        }  // container path-table
    
                        container mvpn-rt-list {
                          description
                            "A BGP Multicast VPN Route Target List for
    address-family";
                          container mvpn-extcomm-list {
                            description
                              "Prefix list";
                            list bgp-mvpn-extcomm {
                              description
                                "Next entry in prefix list";
                              leaf ext-comm-value {
                                type yang:hex-string;
                                description
                                  "Extended community value";
                              }
    
                              leaf ext-comm-is-stale {
                                type boolean;
                                description
                                  "Extended community is stale";
                              }
                            }  // list bgp-mvpn-extcomm
                          }  // container mvpn-extcomm-list
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identfier";
                          }
    
                          leaf vrf-ri-exist {
                            type boolean;
                            description
                              "Is Vrf ri existing";
                          }
    
                          leaf router-address {
                            type inet:ipv4-address;
                            description
                              "PE address";
                          }
    
                          leaf vrf-index {
                            type uint16;
                            description
                              "Vrf index";
                          }
    
                          leaf seg-nh-exist {
                            type boolean;
                            description
                              "Is segmented nh existing";
                          }
    
                          leaf seg-nh-address {
                            type inet:ipv4-address;
                            description
                              "Segmented nexthop";
                          }
    
                          leaf source-as-exist {
                            type boolean;
                            description
                              "Is source as exising";
                          }
    
                          leaf source-as {
                            type uint32;
                            description
                              "Source As number";
                          }
    
                          leaf vrf-ri-exist-m {
                            type boolean;
                            description
                              "Is Vrf ri existing for mcast";
                          }
    
                          leaf router-address-m {
                            type inet:ipv4-address;
                            description
                              "PE address for mcast";
                          }
    
                          leaf vrf-index-m {
                            type uint16;
                            description
                              "Vrf index for mcast";
                          }
    
                          leaf seg-nh-exist-m {
                            type boolean;
                            description
                              "Is segmented nh existing for mcast";
                          }
    
                          leaf seg-nh-address-m {
                            type inet:ipv4-address;
                            description
                              "Segmented nexthop for mcast";
                          }
    
                          leaf source-as-exist-m {
                            type boolean;
                            description
                              "Is source as exising for mcast";
                          }
    
                          leaf source-as-m {
                            type uint32;
                            description
                              "Source As number for mcast";
                          }
    
                          leaf connector-src-exist {
                            type boolean;
                            description
                              "Is Connector src existing";
                          }
    
                          leaf connector-src {
                            type inet:ipv4-address;
                            description
                              "Connector src";
                          }
                        }  // container mvpn-rt-list
    
                        container recent-prefixes {
                          description
                            "BGP Recent Prefix Table";
                          list recent-prefix {
                            description
                              "BGP Recent Prefix";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list recent-prefix
                        }  // container recent-prefixes
    
                        container advertised-path-counts {
                          description
                            "The BGP Advertised paths table (bestpath)";
                          list advertised-path-count {
                            key "neighbor-address";
                            description
                              "The BGP Advertised path table Count
    (bestpath)";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            leaf max-prefix-advertisedcount {
                              type uint32;
                              description
                                "Number of prefixes advertsied to neighbor";
                            }
                          }  // list advertised-path-count
                        }  // container advertised-path-counts
    
                        container path-labeled-table {
                          description
                            "The BGP Path Labeled Table";
                          list path {
                            description
                              "A BGP path table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address for the BGP neighbor";
                            }
    
                            leaf route-type {
                              type Bgp-route;
                              description
                                "Route Type";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list path
                        }  // container path-labeled-table
    
                        container orr-group-table-entries {
                          description
                            "The BGP Optimal Route Reflection Group Table";
                          list orr-group-table-entry {
                            key "orr-grp-name";
                            description
                              "A BGP Optimal Route Reflection Group Table
    Entry";
                            leaf orr-grp-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "The BGP Optimal Route Reflection Group Name";
                            }
    
                            container orr-root-address {
                              description
                                "ORR Root Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container orr-root-address
    
                            container orr-sec-root-address {
                              description
                                "ORR Sec Root Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container orr-sec-root-address
    
                            container orr-ter-root-address {
                              description
                                "ORR ter Root Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container orr-ter-root-address
    
                            leaf orr-group-name {
                              type string;
                              description
                                "ORR Group Name";
                            }
    
                            leaf is-orr-root-address-configured {
                              type boolean;
                              description
                                "ORR Root address configured";
                            }
    
                            leaf is-orr-sec-root-address-configured {
                              type boolean;
                              description
                                "ORR Sec Root address configured";
                            }
    
                            leaf is-orr-ter-root-address-configured {
                              type boolean;
                              description
                                "ORR Ter Root address configured";
                            }
    
                            leaf orr-neighbor-count {
                              type uint32;
                              description
                                "ORR neighbor count";
                            }
    
                            leaf orr-index {
                              type uint32;
                              description
                                "ORR index";
                            }
    
                            leaf orr-tableid {
                              type uint32;
                              description
                                "ORR Group tableid";
                            }
                          }  // list orr-group-table-entry
                        }  // container orr-group-table-entries
    
                        container advertised-paths {
                          description
                            "The BGP Advertised paths table (add-paths)";
                          list advertised-path {
                            description
                              "A BGP Advertised paths table entry
    (add-paths)";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "Neighbor ";
                            }
    
                            list paths {
                              description
                                "BGP paths information";
                              container advertised-neighbor {
                                description
                                  "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container advertised-neighbor
    
                              container path-information {
                                description
                                  "BGP path information ";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-information
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf process-instance-id {
                                type uint8;
                                description
                                  "BGP Process instance ID";
                              }
    
                              leaf label-oor {
                                type boolean;
                                description
                                  "LSD label space is exhausted";
                              }
    
                              leaf label-oor-version {
                                type uint32;
                                description
                                  "Label Version when OOR happens";
                              }
    
                              leaf label-fail {
                                type boolean;
                                description
                                  "LSD label allocation failed ";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Source Route Distinguisher";
                              }
    
                              leaf original-source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Original Source Route Distinguisher";
                              }
    
                              leaf prefix-version {
                                type uint32;
                                description
                                  "Version of BGP Prefix Table";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
    
                              leaf source-vrf-name {
                                type string;
                                description
                                  "Name of the source VRF";
                              }
    
                              leaf srcaf-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
                            }  // list paths
    
                            list adv-path-info {
                              description
                                "Net Advertized Paths";
                              container neighbor-address-xr {
                                description
                                  "Neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address-xr
    
                              container path-info-after-policy-in {
                                description
                                  "Path information after inbound policy";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-info-after-policy-in
    
                              container path-info-after-policy-out {
                                description
                                  "Path information after outbound policy";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-info-after-policy-out
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              container attributes-after-policy-out {
                                description
                                  "Attributes after outbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-out
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path with advertised Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path advertised Source Route Distinguisher";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
                            }  // list adv-path-info
                          }  // list advertised-path
                        }  // container advertised-paths
    
                        container neighbor-af-table {
                          description
                            "The BGP Neighbor AF table";
                          list neighbor {
                            key "neighbor-address";
                            description
                              "A BGP Neighbor table entry";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container connection-local-address {
                              description
                                "Local address for the connection";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container connection-local-address
    
                            container connection-remote-address {
                              description
                                "Remote address for the connection";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container connection-remote-address
    
                            container send-notification-info {
                              description
                                "Information on the last notification sent";
                              leaf time-since-last-notification {
                                type uint32;
                                units "second";
                                description
                                  "Time since the last notification was sent or
    received (seconds)";
                              }
    
                              leaf notification-error-code {
                                type uint8;
                                description
                                  "Error code in last notification";
                              }
    
                              leaf notification-error-subcode {
                                type uint8;
                                description
                                  "Error subcode in last notification";
                              }
    
                              list last-notification-data {
                                description
                                  "Message data in last notification";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Message data in last notification";
                                }
                              }  // list last-notification-data
                            }  // container send-notification-info
    
                            container received-notification-info {
                              description
                                "Information on the last notification received";
                              leaf time-since-last-notification {
                                type uint32;
                                units "second";
                                description
                                  "Time since the last notification was sent or
    received (seconds)";
                              }
    
                              leaf notification-error-code {
                                type uint8;
                                description
                                  "Error code in last notification";
                              }
    
                              leaf notification-error-subcode {
                                type uint8;
                                description
                                  "Error subcode in last notification";
                              }
    
                              list last-notification-data {
                                description
                                  "Message data in last notification";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Message data in last notification";
                                }
                              }  // list last-notification-data
                            }  // container received-notification-info
    
                            container performance-statistics {
                              description
                                "BGP neighbor performance statistics";
                              leaf read-throttles {
                                type uint32;
                                description
                                  "Number of partial read throttles";
                              }
    
                              leaf low-throttled-read {
                                type uint32;
                                description
                                  "Num socket reads after nbrs crossed low
    threshold";
                              }
    
                              leaf high-throttled-read {
                                type uint32;
                                description
                                  "Num of socket reads after nbr crossed high
    threshold";
                              }
    
                              leaf time-since-last-throttled-read {
                                type uint32;
                                units "second";
                                description
                                  "Time (in secs) since last read after being
    throttled";
                              }
    
                              leaf read-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to read inbound data";
                              }
    
                              leaf read-messages-count {
                                type uint32;
                                description
                                  "Number of BGP messages read";
                              }
    
                              leaf data-bytes-read {
                                type uint32;
                                units "byte";
                                description
                                  "No. of bytes of data read";
                              }
    
                              leaf io-read-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent reading inbound data (milliseconds)";
                              }
    
                              leaf write-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to write outbound data";
                              }
    
                              leaf data-bytes-written {
                                type uint32;
                                units "byte";
                                description
                                  "Number of bytes that havesent to peers";
                              }
    
                              leaf io-write-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent writing outbound data (milliseconds)";
                              }
    
                              leaf last-sent-seq-no {
                                type uint32;
                                description
                                  "Seq No of the last sent byte";
                              }
    
                              leaf write-subgroup-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to process sub-group
    message list";
                              }
    
                              leaf write-subgroup-messages-count {
                                type uint32;
                                description
                                  "Number of sub-group msgs processed";
                              }
    
                              leaf subgroup-list-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent processing sub-group message list
    (milliseconds)";
                              }
    
                              leaf write-queue-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to process write queue";
                              }
    
                              leaf write-queue-messages-count {
                                type uint32;
                                description
                                  "Number of write queue messages processed";
                              }
    
                              leaf write-queue-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent processing write queue (milliseconds)";
                              }
    
                              leaf inbound-update-messages {
                                type uint32;
                                description
                                  "Number of inbound update messages processed";
                              }
    
                              leaf inbound-update-messages-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent processing inbound update messages
    (milliseconds)";
                              }
    
                              leaf maximum-read-size {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Size of largest socket (milliseconds)";
                              }
    
                              leaf actives {
                                type uint32;
                                description
                                  "Number of retried Active opens for this neighbor";
                              }
    
                              leaf failed-post-actives {
                                type uint32;
                                description
                                  "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                              }
    
                              leaf passives {
                                type uint32;
                                description
                                  "Number of retried Passive opens for this
    neighbor";
                              }
    
                              leaf rejected-passives {
                                type uint32;
                                description
                                  "Number of rejected Passive opens for this
    neighbor";
                              }
    
                              leaf active-collision {
                                type uint32;
                                description
                                  "Number of Closed Active connections for this
    neighbor due to collision ";
                              }
    
                              leaf passive-collision {
                                type uint32;
                                description
                                  "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                              }
    
                              leaf control-to-read-thread-trigger {
                                type uint32;
                                description
                                  "Number of times io-control thread trigger read
    thread";
                              }
    
                              leaf control-to-write-thread-trigger {
                                type uint32;
                                description
                                  "Number of times io-control thread trigger write
    thread";
                              }
    
                              leaf network-status {
                                type uint32;
                                description
                                  "Socket status, TRUE if socket closed";
                              }
    
                              leaf reset-flags {
                                type uint32;
                                description
                                  "Reset flags, per thread";
                              }
    
                              leaf nbr-flags {
                                type uint32;
                                description
                                  "Nbr flags, per thread";
                              }
    
                              leaf nbr-fd {
                                type int32;
                                description
                                  "Primary FD, per nbr";
                              }
    
                              leaf reset-retries {
                                type uint8;
                                description
                                  "Reset Retries, per nbr";
                              }
    
                              leaf sync-flags {
                                type uint32;
                                description
                                  "Sync flags, per nbr";
                              }
    
                              leaf nsr-oper-down-count {
                                type uint32;
                                description
                                  "Number of times NSR scoped sync has been done";
                              }
    
                              leaf last-nsr-scoped-sync {
                                type uint32;
                                description
                                  "Last time NSR scoped syncwas done for the
    neighbor";
                              }
                            }  // container performance-statistics
    
                            container message-statistics {
                              description
                                "BGP neighbor message statistics";
                              container open {
                                description
                                  "Open";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container open
    
                              container notification {
                                description
                                  "BGP neighbor messagestatistics notification";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container notification
    
                              container update {
                                description
                                  "BGP neighbor message statisticsupdate";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container update
    
                              container keepalive {
                                description
                                  "Message sent between BGP neighborsto check the
    link between is operating";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container keepalive
    
                              container route-refresh {
                                description
                                  "BGP neighbor message statisticsroute refresh";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container route-refresh
    
                              container total {
                                description
                                  "Total";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container total
                            }  // container message-statistics
    
                            container tcp-init-sync-time-spec {
                              description
                                "Time When neighbor entered TCP Init Sync";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container tcp-init-sync-time-spec
    
                            container tcp-init-sync-phase-two-time-spec {
                              description
                                "Time when neighbor entered TCP Init Sync Phase
    Two";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container tcp-init-sync-phase-two-time-spec
    
                            container tcp-init-sync-done-time-spec {
                              description
                                "Time when neighbor entered TCP Init Sync Done";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container tcp-init-sync-done-time-spec
    
                            container graceful-maintenance {
                              description
                                "Globally activated BGp neighborfor graceful
    shutdown";
                              leaf gshut-exists {
                                type boolean;
                                description
                                  "Graceful Maintenance enabled";
                              }
    
                              leaf gshut-local-active {
                                type boolean;
                                description
                                  "Graceful Maintenance locally activated";
                              }
    
                              leaf gshut-active {
                                type boolean;
                                description
                                  "Graceful Maintenance activated";
                              }
    
                              leaf gshut-locpref-set {
                                type boolean;
                                description
                                  "Graceful Maintenance Local Preference set";
                              }
    
                              leaf gshut-locpref {
                                type uint32;
                                description
                                  "Graceful Maintenance Local Preference";
                              }
    
                              leaf gshut-prepends {
                                type uint8;
                                description
                                  "Graceful Maintenance number of AS prepends";
                              }
    
                              leaf gshut-interface-active {
                                type boolean;
                                description
                                  "Graceful Maintenance activated at Interface";
                              }
    
                              leaf gshut-location-active {
                                type boolean;
                                description
                                  "Graceful Maintenance activated at Location";
                              }
                            }  // container graceful-maintenance
    
                            leaf speaker-id {
                              type uint8;
                              description
                                "Speaker this neighbor is allocated to";
                            }
    
                            leaf description {
                              type string;
                              description
                                "BGP neighbor description";
                            }
    
                            leaf local-as {
                              type uint32;
                              description
                                "Local AS number";
                            }
    
                            leaf remote-as {
                              type uint32;
                              description
                                "Remote AS number";
                            }
    
                            leaf has-internal-link {
                              type boolean;
                              description
                                "Internal link to neighbor";
                            }
    
                            leaf is-external-neighbor-not-directly-connected {
                              type boolean;
                              description
                                "Flag to indicate neighbor is external and not
    directly connected";
                            }
    
                            leaf messages-received {
                              type uint32;
                              description
                                "Number of messages received";
                            }
    
                            leaf messages-sent {
                              type uint32;
                              description
                                "Number of messages sent";
                            }
    
                            leaf update-messages-in {
                              type uint32;
                              description
                                "No. of update msgs received";
                            }
    
                            leaf update-messages-out {
                              type uint32;
                              description
                                "No. of update messages sent";
                            }
    
                            leaf messages-queued-in {
                              type uint32;
                              description
                                "No. of msgs on receive queue";
                            }
    
                            leaf messages-queued-out {
                              type uint32;
                              description
                                "No. of messages on send queue";
                            }
    
                            leaf connection-established-time {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) that the connection has been
    established";
                            }
    
                            leaf connection-state {
                              type Bgp-conn-state;
                              description
                                "State of connection";
                            }
    
                            leaf previous-connection-state {
                              type uint32;
                              description
                                "Previous state of connection";
                            }
    
                            leaf connection-admin-status {
                              type uint32;
                              description
                                "Administrative status of connection";
                            }
    
                            leaf open-check-error-code {
                              type Bgp-open-check-err;
                              description
                                "Error code for open check failure forBGP
    neighbor";
                            }
    
                            leaf is-local-address-configured {
                              type boolean;
                              description
                                "Local address configured for the neighbor
    connection";
                            }
    
                            leaf connection-local-port {
                              type uint32;
                              description
                                "Local port for the connection";
                            }
    
                            leaf connection-remote-port {
                              type uint32;
                              description
                                "Remote port for the connection";
                            }
    
                            leaf neighbor-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Neighbor";
                            }
    
                            leaf reset-notification-sent {
                              type boolean;
                              description
                                "Notification was sent during last reset";
                            }
    
                            leaf is-administratively-shut-down {
                              type boolean;
                              description
                                "Flag to indicate if BGP neighbor is
    administratively shut down";
                            }
    
                            leaf is-neighbor-max-prefix-shutdown {
                              type boolean;
                              description
                                "Neighbor shut down because it exceeded max prfx
    count";
                            }
    
                            leaf is-out-of-memory-shutdown {
                              type boolean;
                              description
                                "Neighbor shut down during a SEVERE low memory
    condition";
                            }
    
                            leaf is-out-of-memory-forced-up {
                              type boolean;
                              description
                                "Neighbor forced up during a low memory condition";
                            }
    
                            leaf is-ebgp-peer-as-league {
                              type boolean;
                              description
                                "EBGP peer belongs to AS League";
                            }
    
                            leaf is-ebgp-peer-common-admin {
                              type boolean;
                              description
                                "EBGP peer with common administation";
                            }
    
                            leaf ttl-security-enabled {
                              type boolean;
                              description
                                "TTL Security enabled";
                            }
    
                            leaf suppress4-byte-as {
                              type boolean;
                              description
                                "Suppress 4byteas capability";
                            }
    
                            leaf bfd-session-state {
                              type Bgp-bfd-state;
                              description
                                "BFD state for this peer";
                            }
    
                            leaf bfd-session-created-state {
                              type Bgp-bfd-state;
                              description
                                "BFD state for this peer";
                            }
    
                            leaf bfd-session-enable-mode {
                              type Bgp-bfd-enable-mode;
                              description
                                "BFD enable mode for this peer";
                            }
    
                            leaf bfd-minintervalval {
                              type uint32;
                              description
                                "BFD Mininterval for this peer";
                            }
    
                            leaf bfd-multiplierval {
                              type uint32;
                              description
                                "BFD Multiplier for this peer";
                            }
    
                            leaf bfd-state-ts {
                              type uint64;
                              description
                                "Timestamp since when nbr is in this bfd state";
                            }
    
                            leaf router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID for the neighbor";
                            }
    
                            leaf negotiated-protocol-version {
                              type uint16;
                              description
                                "Negotiated protocol version with the BGP
    neighbor";
                            }
    
                            leaf ebgp-time-to-live {
                              type uint32;
                              description
                                "Maximum number of hops for external BGP neighbor";
                            }
    
                            leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                              type boolean;
                              description
                                "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                            }
    
                            leaf tcpmss {
                              type uint32;
                              description
                                "Neighbor TCP Maximum Segment
    size";
                            }
    
                            leaf msg-log-in {
                              type uint32;
                              description
                                "Message in log count";
                            }
    
                            leaf msg-log-out {
                              type uint32;
                              description
                                "Message out log count";
                            }
    
                            leaf neighbor-local-as {
                              type uint32;
                              description
                                "Local AS configured on the neighbor";
                            }
    
                            leaf local-as-no-prepend {
                              type boolean;
                              description
                                "Option to not prepend the Local AS to
    announcements";
                            }
    
                            leaf is-capability-negotiation-suppressed {
                              type boolean;
                              description
                                "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                            }
    
                            leaf is-capability-negotiation-performed {
                              type boolean;
                              description
                                "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                            }
    
                            leaf is-route-refresh-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if the neighbor supports
    route-refresh was received";
                            }
    
                            leaf is-route-refresh-old-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                            }
    
                            leaf is-gr-aware {
                              type boolean;
                              description
                                "GR awareness received";
                            }
    
                            leaf is4-byte-as-capability-received {
                              type boolean;
                              description
                                "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                            }
    
                            leaf is4-byte-as-capability-sent {
                              type boolean;
                              description
                                "4-byte AScapability Snt";
                            }
    
                            leaf multi-protocol-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if multi-protocol capability
    has been received";
                            }
    
                            leaf hold-time {
                              type uint16;
                              units "second";
                              description
                                "Hold time (in secs) negotiated for this
    connection";
                            }
    
                            leaf keep-alive-time {
                              type uint16;
                              units "second";
                              description
                                "Keepalive time (in secs) negotiated for this
    connection";
                            }
    
                            leaf configured-hold-time {
                              type uint16;
                              units "second";
                              description
                                "Hold time (in secs) configured for this
    connection";
                            }
    
                            leaf configured-keepalive {
                              type uint16;
                              units "second";
                              description
                                "Keepalive time (in secs) configured for this
    connection";
                            }
    
                            leaf configured-min-acc-hold-time {
                              type uint16;
                              units "second";
                              description
                                "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                            }
    
                            leaf min-advertise-interval {
                              type uint32;
                              units "second";
                              description
                                "Minimum advertisement interval, secs part";
                            }
    
                            leaf min-advertise-interval-msecs {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Minimum advertisement interval, msecs part";
                            }
    
                            leaf min-origination-interval {
                              type uint16;
                              units "second";
                              description
                                "Minimum origination interval (in secs)";
                            }
    
                            leaf connect-retry-interval {
                              type uint16;
                              units "second";
                              description
                                "Time (in secs) for connect retry timer";
                            }
    
                            leaf time-since-last-update {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last update message was
    received";
                            }
    
                            leaf time-since-last-read {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last read";
                            }
    
                            leaf time-since-last-read-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last read before last reset";
                            }
    
                            leaf time-last-cb {
                              type uint64;
                              description "CB";
                            }
    
                            leaf time-last-cb-reset {
                              type uint32;
                              description
                                "Last CB before reset";
                            }
    
                            leaf time-last-fb {
                              type uint64;
                              description "FB";
                            }
    
                            leaf count-last-write {
                              type uint32;
                              description
                                "Count";
                            }
    
                            leaf time-since-last-write {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write";
                            }
    
                            leaf attempted-last-write-bytes {
                              type uint32;
                              description
                                "Attempted size of last write";
                            }
    
                            leaf actual-last-write-bytes {
                              type uint32;
                              description
                                "Actual size of last write";
                            }
    
                            leaf time-since-second-last-write {
                              type uint32;
                              units "second";
                              description
                                "Time (in seconds) elapsed since the second last
    write event";
                            }
    
                            leaf attempted-second-last-write-bytes {
                              type uint32;
                              description
                                "Attempted size of second last write";
                            }
    
                            leaf actual-second-last-write-bytes {
                              type uint32;
                              description
                                "Actual size of second last write";
                            }
    
                            leaf time-since-last-write-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write before last
    reset";
                            }
    
                            leaf attempted-last-write-reset-bytes {
                              type uint32;
                              description
                                "Attempted size of last write before reset";
                            }
    
                            leaf actual-last-write-reset-bytes {
                              type uint32;
                              description
                                "Actual size of last write before reset";
                            }
    
                            leaf time-since-second-last-write-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write before last
    reset";
                            }
    
                            leaf attempted-second-last-write-reset-bytes {
                              type uint32;
                              description
                                "Attempted size of second last write before reset";
                            }
    
                            leaf actual-second-last-write-reset-bytes {
                              type uint32;
                              description
                                "Actual size of second last write before reset";
                            }
    
                            leaf last-write-event {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write thread event";
                            }
    
                            leaf second-last-write-event {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since second last write thread
    event";
                            }
    
                            leaf last-k-aexpiry-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last KA timer expiry before
    reset";
                            }
    
                            leaf second-last-k-aexpiry-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since second last KA timer expiry
    before reset";
                            }
    
                            leaf last-k-anotsent-reset {
                              type uint32;
                              units "second";
                              description
                                "Duration (in secs) since last time that KA was
    not sent before reset";
                            }
    
                            leaf last-k-aerror-reset {
                              type uint32;
                              units "second";
                              description
                                "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                            }
    
                            leaf last-k-astart-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since the last KA timer start
    before reset";
                            }
    
                            leaf second-last-k-astart-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since the second last KA timer
    start before reset";
                            }
    
                            leaf connection-up-count {
                              type uint32;
                              description
                                "Number of times the connection was established";
                            }
    
                            leaf connection-down-count {
                              type uint32;
                              description
                                "Number of times connection was dropped";
                            }
    
                            leaf time-since-connection-last-dropped {
                              type uint32;
                              units "second";
                              description
                                "Time since the connection last went down
    (seconds)";
                            }
    
                            leaf reset-reason {
                              type Bgp-reset-reason-index;
                              description
                                "Reason for last connection reset";
                            }
    
                            leaf peer-reset-reason {
                              type Bgp-peer-reset-reason-index;
                              description
                                "Reason for last peer close event";
                            }
    
                            leaf peer-error-code {
                              type uint32;
                              description
                                "If peer closed, error received from transport";
                            }
    
                            leaf last-notify-error-code {
                              type uint8;
                              description
                                "Code for the last error notification seen on the
    connection";
                            }
    
                            leaf last-notify-error-subcode {
                              type uint8;
                              description
                                "Error subcode of the last error notification
    seen on the connection";
                            }
    
                            leaf error-notifies-received {
                              type uint32;
                              description
                                "Number of error notifications received on the
    connection";
                            }
    
                            leaf error-notifies-sent {
                              type uint32;
                              description
                                "Number of error notifications sent on the
    connection";
                            }
    
                            leaf remote-as-number {
                              type uint32;
                              description
                                "Remote AS number of BGP neighbor";
                            }
    
                            leaf dmz-link-bandwidth {
                              type uint32;
                              description
                                "Bandwidth of link to single-hop eBGP peer";
                            }
    
                            leaf ebgp-recv-dmz {
                              type boolean;
                              description
                                "Receive Bandwidth of link to single-hop eBGP
    peer";
                            }
    
                            leaf ebgp-send-dmz-mode {
                              type Bgp-ebgp-send-dmz-enable-mode;
                              description
                                "Ebgp send dmz link bw mode";
                            }
    
                            leaf tos-type {
                              type uint8;
                              description
                                "Precedence or DSCP type";
                            }
    
                            leaf tos-value {
                              type uint8;
                              description
                                "Precedence or DSCP value";
                            }
    
                            leaf tcp-session-open-mode {
                              type Bgp-tcp-mode;
                              description
                                "The TCP mode to be used to set up BGP session
    with the neighbor";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf standby-rp {
                              type boolean;
                              description
                                "Standby RP socket inited for Active Open";
                            }
    
                            leaf nsr-enabled {
                              type boolean;
                              description
                                "Neighbor supports NSR";
                            }
    
                            leaf graceful-restart-enabled-nbr {
                              type boolean;
                              description
                                "Neighbor supports graceful-restart";
                            }
    
                            leaf gr-restart-time {
                              type uint32;
                              units "second";
                              description
                                "Neighbor restart time (in seconds)";
                            }
    
                            leaf gr-stale-path-time {
                              type uint32;
                              units "second";
                              description
                                "Neighbor stale-path time (in seconds)";
                            }
    
                            leaf fssn-offset {
                              type uint32;
                              description
                                "First standby SeqNo offset";
                            }
    
                            leaf fpbsn-offset {
                              type uint32;
                              description
                                "First standby PDU boundary SeqNo offset";
                            }
    
                            leaf last-ackd-seq-no {
                              type uint32;
                              description
                                "SeqNo of the last Ackd byte";
                            }
    
                            leaf bytes-written {
                              type uint32;
                              units "byte";
                              description
                                "Total bytes written by write thread";
                            }
    
                            leaf bytes-read {
                              type uint32;
                              units "byte";
                              description
                                "Total bytes read";
                            }
    
                            leaf socket-read-bytes {
                              type uint32;
                              units "byte";
                              description
                                "Total read bytes value insocket-lib";
                            }
    
                            leaf is-read-disabled {
                              type boolean;
                              description
                                "If true, socket read isdisabled";
                            }
    
                            leaf update-bytes-read {
                              type uint32;
                              units "byte";
                              description
                                "Total number of bytes readcorresponding to
    update messages";
                            }
    
                            leaf nsr-state {
                              type Bgp-sync-nbr-nsr-state;
                              description
                                "NSR state";
                            }
    
                            leaf is-passive-close {
                              type boolean;
                              description
                                "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                            }
    
                            leaf nbr-enforce-first-as {
                              type boolean;
                              description
                                "Neighbor enforce first AS";
                            }
    
                            leaf active-bmp-servers {
                              type uint8;
                              description
                                "BMP Servers to which the neighbor sends logs";
                            }
    
                            leaf nbr-cluster-id {
                              type uint32;
                              description
                                "Cluster id";
                            }
    
                            leaf nbr-in-cluster {
                              type uint8;
                              description
                                "Type of cluster_id:undefined/number/Ip address";
                            }
    
                            leaf ignore-connected {
                              type boolean;
                              description
                                "If true, the VPN client isan IBGP CE peer";
                            }
    
                            leaf internal-vpn-client {
                              type boolean;
                              description
                                "If true, don't do NHconnected check for nbr";
                            }
    
                            leaf io-armed {
                              type boolean;
                              description
                                "If true, socket has beenauto-armed for io
    control";
                            }
    
                            leaf read-armed {
                              type boolean;
                              description
                                "If true, socket has beenauto-armed for read";
                            }
    
                            leaf write-armed {
                              type boolean;
                              description
                                "If true, socket has beenauto-armed for write";
                            }
    
                            leaf discard-data-bytes {
                              type uint32;
                              units "byte";
                              description
                                "Remaining discard data (bytes) on Standby";
                            }
    
                            leaf local-as-replace-as {
                              type boolean;
                              description
                                "Local AS Replace-AS option";
                            }
    
                            leaf local-as-dual-as {
                              type boolean;
                              description
                                "Local AS Dual-AS option";
                            }
    
                            leaf local-as-dual-as-mode-native {
                              type boolean;
                              description
                                "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                            }
    
                            leaf egress-peer-engineering-enabled {
                              type boolean;
                              description
                                "Indicates if Egress Peer Engineering is enabled";
                            }
    
                            leaf discard-as4-path {
                              type uint32;
                              description
                                "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                            }
    
                            leaf rpki-disable {
                              type boolean;
                              description
                                "Prefix validation disabled";
                            }
    
                            leaf rpki-use-validity {
                              type boolean;
                              description
                                "Prefix v. use validity";
                            }
    
                            leaf rpki-allow-invalid {
                              type boolean;
                              description
                                "Prefix v. allow invalid";
                            }
    
                            leaf rpki-signal-ibgp {
                              type boolean;
                              description
                                "Prefix v. signal ibgp";
                            }
    
                            leaf dynamic-neighbor {
                              type boolean;
                              description
                                "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                            }
    
                            leaf merge-inbound-safi1and4-updates {
                              type boolean;
                              description
                                "Merge SAFI-1 and SAFI-4 updates from neighbor";
                            }
    
                            leaf is-capability-enhe-suppressed {
                              type boolean;
                              description
                                "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                            }
    
                            leaf delete-time-remaining {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) remaining for deletion";
                            }
    
                            leaf sn-bfd-discriminator {
                              type uint32;
                              description
                                "Local Discriminator for the associated BFD
    session";
                            }
    
                            list af-data {
                              max-elements 25;
                              description
                                "Address family specific neighbor data";
                              container neighbor-af-performance-statistics {
                                description
                                  "Neighbor AF statistics";
                                leaf sub-group-pending-message-count {
                                  type uint32;
                                  description
                                    "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                                }
    
                                leaf processed-messages {
                                  type uint32;
                                  description
                                    "Number of messages processed from the neighbor's
    write queue";
                                }
    
                                leaf sent-messages {
                                  type uint32;
                                  description
                                    "Number of messages sent from the neighbor's
    write queue";
                                }
    
                                leaf split-horizon-update-transmit {
                                  type uint32;
                                  description
                                    "No. of update messages with split-horizon flag
    that were sent out";
                                }
    
                                leaf split-horizon-update-blocked {
                                  type uint32;
                                  description
                                    "No. of update messages with split-horizon flag
    that were blocked";
                                }
    
                                leaf split-horizon-withdraw-transmit {
                                  type uint32;
                                  description
                                    "No. of withdraw messages with split-horizon flag
    that were sent out";
                                }
    
                                leaf split-horizon-withdraw-blocked {
                                  type uint32;
                                  description
                                    "No. of withdraw messages with split-horizon flag
    that were blocked";
                                }
                              }  // container neighbor-af-performance-statistics
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf is-neighbor-route-reflector-client {
                                type boolean;
                                description
                                  "Nbr is a route reflector client";
                              }
    
                              leaf is-legacy-pe-rt {
                                type boolean;
                                description
                                  "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                              }
    
                              leaf is-neighbor-af-capable {
                                type boolean;
                                description
                                  "Address family capability received from neighbor";
                              }
    
                              leaf is-soft-reconfiguration-inbound-allowed {
                                type boolean;
                                description
                                  "Inbound soft reconfiguration allowed";
                              }
    
                              leaf is-use-soft-reconfiguration-always-on {
                                type boolean;
                                description
                                  "Soft reconf overrides route refresh";
                              }
    
                              leaf remove-private-as-from-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates to this
    nbr";
                              }
    
                              leaf remove-private-as-entire-aspath-from-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                              }
    
                              leaf remove-private-as-from-inbound-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates from
    this nbr";
                              }
    
                              leaf remove-private-as-entire-aspath-from-inbound-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                              }
    
                              leaf flowspec-validation-d-isable {
                                type boolean;
                                description
                                  "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                              }
    
                              leaf flowspec-redirect-validation-d-isable {
                                type boolean;
                                description
                                  "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                              }
    
                              leaf orr-group-name {
                                type string;
                                description
                                  "ORR Group Name";
                              }
    
                              leaf orr-group-index {
                                type uint32;
                                description
                                  "ORR Group Index";
                              }
    
                              leaf is-orr-root-address-configured {
                                type boolean;
                                description
                                  "ORR Root address configuredfor the neighbor
    connection";
                              }
    
                              leaf advertise-afi {
                                type boolean;
                                description
                                  "Encode in Advertise AFI";
                              }
    
                              leaf advertise-afi-reorg {
                                type boolean;
                                description
                                  "Encode in Advertise AFI";
                              }
    
                              leaf advertise-afi-disable {
                                type boolean;
                                description
                                  "Encode in Advertise AFI";
                              }
    
                              leaf encapsulation-type {
                                type uint32;
                                description
                                  "BGP neighbor address-familyencapsulation type";
                              }
    
                              leaf advertise-rt-type {
                                type uint8;
                                description
                                  "BGP neighbor address-familyadvertise route
    target type";
                              }
    
                              leaf advertise-afi-def-vrf-imp-disable {
                                type boolean;
                                description
                                  "Advertise of default VRF import disable";
                              }
    
                              leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v4 default VRF import disable";
                              }
    
                              leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v6 default VRF import disable";
                              }
    
                              leaf advertise-afi-vrf-re-imp-disable {
                                type boolean;
                                description
                                  "Advertise of VRF re-import disable";
                              }
    
                              leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v4 VRF re-import disable";
                              }
    
                              leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v6 VRF re-import disable";
                              }
    
                              leaf advertise-afi-eo-r-ready {
                                type boolean;
                                description
                                  "EoR Can be sent for Advertise AFI";
                              }
    
                              leaf always-use-next-hop-local {
                                type boolean;
                                description
                                  "Local router always used for next-hop";
                              }
    
                              leaf sent-community-to-neighbor {
                                type boolean;
                                description
                                  "Community attribute sent to neighbor";
                              }
    
                              leaf sent-gshut-community-to-neighbor {
                                type boolean;
                                description
                                  "GSHUT Community attribute sent to neighbor";
                              }
    
                              leaf sent-extended-community-to-neighbor {
                                type boolean;
                                description
                                  "Extended community attribute sent to neighbor";
                              }
    
                              leaf default-originate-vpn-index {
                                type uint32;
                                description
                                  "Default orig vpn indexto find bitfield for a nbr
    af";
                              }
    
                              leaf neighbor-default-originate {
                                type boolean;
                                description
                                  "Neighbor originates default";
                              }
    
                              leaf is-orf-sent {
                                type boolean;
                                description
                                  "Outbound route filter sent to neighbor";
                              }
    
                              leaf is-update-deferred {
                                type boolean;
                                description
                                  "Update deferred until ORF/route refresh received";
                              }
    
                              leaf is-orf-send-scheduled {
                                type boolean;
                                description
                                  "Scheduled to send prefix based ORF";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
    
                              leaf filter-group-index {
                                type uint32;
                                description
                                  "BGP neighbor address-familyfilter group index";
                              }
    
                              leaf is-update-throttled {
                                type boolean;
                                description
                                  "Updates Throttled becausewrite limit is reached";
                              }
    
                              leaf is-update-leaving {
                                type boolean;
                                description
                                  "Nbr leaving update-groupto another";
                              }
    
                              leaf vpn-update-gen-enabled {
                                type boolean;
                                description
                                  "RT Nbr enabled for updategento another";
                              }
    
                              leaf vpn-update-gen-trigger-enabled {
                                type boolean;
                                description
                                  "RT Nbr enabled for updategento another";
                              }
    
                              leaf is-addpath-send-operational {
                                type boolean;
                                description
                                  "Addpath is operational on send-side";
                              }
    
                              leaf is-addpath-receive-operational {
                                type boolean;
                                description
                                  "Addpath is operational on receive-side";
                              }
    
                              leaf neighbor-version {
                                type uint32;
                                description
                                  "BGP neighbor version for theaddress-family";
                              }
    
                              leaf weight {
                                type uint32;
                                description
                                  "Weight for this AF";
                              }
    
                              leaf max-prefix-limit {
                                type uint32;
                                description
                                  "Max limit for # of prefixes";
                              }
    
                              leaf use-max-prefix-warning-only {
                                type boolean;
                                description
                                  "Warning only when maximum prefix limit reached";
                              }
    
                              leaf max-prefix-discard-extra-paths {
                                type boolean;
                                description
                                  "Discard extra paths when prefix limit reached";
                              }
    
                              leaf max-prefix-exceed-discard-paths {
                                type boolean;
                                description
                                  "Did we discard extra paths when prefix limit
    reached";
                              }
    
                              leaf max-prefix-threshold-percent {
                                type uint8;
                                units
                                  "percentage";
                                description
                                  "Percentage of maximum no. of prefixes at which
    to generate warning";
                              }
    
                              leaf max-prefix-discard-paths-count {
                                type uint32;
                                description
                                  "Number of discarded paths after prefix limit
    reached";
                              }
    
                              leaf max-prefix-restart-time {
                                type uint16;
                                units "minute";
                                description
                                  "Time interval (in minutes) after which peering
    session will be reestablished";
                              }
    
                              leaf prefixes-accepted {
                                type uint32;
                                description
                                  "Number of prefixes acceptedfrom this BGP
    neighbor";
                              }
    
                              leaf prefixes-synced {
                                type uint32;
                                description
                                  "Number of prefixes synced to standby";
                              }
    
                              leaf prefixes-withdrawn-not-found {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                              }
    
                              leaf prefixes-denied {
                                type uint32;
                                description
                                  "Number of prefixes denied forthis BGP neighbor";
                              }
    
                              leaf prefixes-denied-no-policy {
                                type uint32;
                                description
                                  "No. of prefixes denied because there was no
    inbound policy";
                              }
    
                              leaf prefixes-denied-rt-permit {
                                type uint32;
                                description
                                  "No. of prefixes denied because RT extended
    community is not imported";
                              }
    
                              leaf prefixes-denied-orf-policy {
                                type uint32;
                                description
                                  "No. of prefixes denied by prefix based ORF
    policy";
                              }
    
                              leaf prefixes-denied-policy {
                                type uint32;
                                description
                                  "No. of prefixes denied by inbound policy";
                              }
    
                              leaf number-of-bestpaths {
                                type uint32;
                                description
                                  "No. of bestpaths from this neighbor";
                              }
    
                              leaf number-of-best-externalpaths {
                                type uint32;
                                description
                                  "No. of best-external paths from this neighbor";
                              }
    
                              leaf prefixes-advertised {
                                type uint32;
                                description
                                  "Number of prefixes advertisedfor this BGP
    neighbor";
                              }
    
                              leaf prefixes-be-advertised {
                                type uint32;
                                description
                                  "Number of BE prefixes advertised";
                              }
    
                              leaf prefixes-suppressed {
                                type uint32;
                                description
                                  "Number of prefixes suppressed";
                              }
    
                              leaf prefixes-withdrawn {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn";
                              }
    
                              leaf is-peer-orf-capable {
                                type boolean;
                                description
                                  "Peer has outbound route filter capability";
                              }
    
                              leaf is-advertised-orf-send {
                                type boolean;
                                description
                                  "Prefix based ORF send mode capability advertised";
                              }
    
                              leaf is-received-orf-send-capable {
                                type boolean;
                                description
                                  "Prefix based ORF send mode capability received";
                              }
    
                              leaf is-advertised-orf-receive {
                                type boolean;
                                description
                                  "Prefix based ORF receive mode capability
    advertised";
                              }
    
                              leaf is-received-orf-receive-capable {
                                type boolean;
                                description
                                  "Prefix based ORF receive mode capability
    received";
                              }
    
                              leaf is-advertised-graceful-restart {
                                type boolean;
                                description
                                  "Graceful Restart Capability advertised";
                              }
    
                              leaf is-graceful-restart-state-flag {
                                type boolean;
                                description
                                  "Restart state flag enabled";
                              }
    
                              leaf is-received-graceful-restart-capable {
                                type boolean;
                                description
                                  "Graceful Restart Capability received";
                              }
    
                              leaf is-add-path-send-capability-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                              }
    
                              leaf is-add-path-send-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate if addpath send capability
    received from BGP neighbor";
                              }
    
                              leaf is-add-path-receive-capability-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                              }
    
                              leaf is-add-path-receive-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate addpath receive capability
    received from BGPneighbor";
                              }
    
                              leaf is-ext-nh-encoding-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                              }
    
                              leaf is-ext-nh-encoding-capability-sent {
                                type boolean;
                                description
                                  "Extended nexhop encoding capability Sent";
                              }
    
                              leaf restart-time {
                                type uint32;
                                units "second";
                                description
                                  "Restart time advertised (seconds)";
                              }
    
                              leaf local-restart-time {
                                type uint32;
                                units "second";
                                description
                                  "Local Restart time (seconds)";
                              }
    
                              leaf stale-path-timeout {
                                type uint32;
                                units "second";
                                description
                                  "Stale path timeout time (in seconds)";
                              }
    
                              leaf rib-purge-timeout-value {
                                type uint32;
                                units "second";
                                description
                                  "RIB purge timeout time (in seconds)";
                              }
    
                              leaf neighbor-preserved-forwarding-state {
                                type boolean;
                                description
                                  "Flag to indicate neighbor preserved in
    forwarding state";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-configured {
                                type boolean;
                                description
                                  "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-sent {
                                type uint32;
                                units "second";
                                description
                                  "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-accept {
                                type uint32;
                                units "second";
                                description
                                  "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                              }
    
                              leaf long-lived-graceful-restart-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-received {
                                type uint32;
                                units "second";
                                description
                                  "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                              }
    
                              leaf neighbor-preserved-long-lived-forwarding-state {
                                type boolean;
                                description
                                  "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                              }
    
                              leaf neighbor-long-lived-graceful-restart-capable {
                                type boolean;
                                description
                                  "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                              }
    
                              leaf neighbor-long-lived-graceful-restart-time-remaining {
                                type uint32;
                                description
                                  "Remaining long-lived graceful-restart time";
                              }
    
                              leaf route-refreshes-received {
                                type uint32;
                                description
                                  "Number of route refresh requests received";
                              }
    
                              leaf route-refreshes-sent {
                                type uint32;
                                description
                                  "Number of route refresh requests sent";
                              }
    
                              leaf refresh-target-version {
                                type uint32;
                                description
                                  "Target version for refresh update generation";
                              }
    
                              leaf refresh-version {
                                type uint32;
                                description
                                  "Version till which refresh updates have been
    generated";
                              }
    
                              leaf refresh-acked-version {
                                type uint32;
                                description
                                  "Version acked by the peer for refresh updates
    sent";
                              }
    
                              leaf is-prefix-orf-present {
                                type boolean;
                                description
                                  "Outbound route filter prefix ORF present";
                              }
    
                              leaf orf-entries-received {
                                type uint32;
                                description
                                  "Number of outbound route filter entries received";
                              }
    
                              leaf is-default-originate-sent {
                                type boolean;
                                description
                                  "Default origination update sent";
                              }
    
                              leaf route-policy-prefix-orf {
                                type string;
                                description
                                  "Prefix based ORF for incoming updates";
                              }
    
                              leaf route-policy-in {
                                type string;
                                description
                                  "Incoming route policy name";
                              }
    
                              leaf route-policy-out {
                                type string;
                                description
                                  "Outgoing route policy name";
                              }
    
                              leaf route-policy-default-originate {
                                type string;
                                description
                                  "Default-originate route policy name";
                              }
    
                              leaf is-neighbor-ebgp-without-inbound-policy {
                                type boolean;
                                description
                                  "eBGP neighbor with no configured inbound policy";
                              }
    
                              leaf is-neighbor-ebgp-without-outbound-policy {
                                type boolean;
                                description
                                  "eBGP neighbor with no configured outbound policy";
                              }
    
                              leaf is-upd-orig-loopchk-disable-set {
                                type boolean;
                                description
                                  "Flag to indicate if update out originator
    loopcheck is disabled";
                              }
    
                              leaf is-as-override-set {
                                type boolean;
                                description
                                  "Flag to indicate as override set for BGP
    neighbor";
                              }
    
                              leaf is-allow-as-in-set {
                                type boolean;
                                description
                                  "Allowas-in set ";
                              }
    
                              leaf allow-as-in-count {
                                type uint32;
                                description
                                  "Allowas-in count config";
                              }
    
                              leaf address-family-long-lived-time {
                                type uint32;
                                description
                                  "AF specific Long-lived-time config";
                              }
    
                              leaf eo-r-received-in-read-only {
                                type boolean;
                                description
                                  "An EoR was received while in read-only mode";
                              }
    
                              leaf acked-version {
                                type uint32;
                                description
                                  "Version mapped from acked seqNo";
                              }
    
                              leaf synced-acked-version {
                                type uint32;
                                description
                                  "Version mapped from acked seqNo that was synced
    last";
                              }
    
                              leaf outstanding-version {
                                type uint32;
                                description
                                  "No. of all outstanding version objects waiting
    for ack from the peer";
                              }
    
                              leaf outstanding-refresh-version {
                                type uint32;
                                description
                                  "No. of only refresh version objects waiting for
    ack from the peer";
                              }
    
                              leaf outstanding-version-max {
                                type uint32;
                                description
                                  "Version mapped from acked seqNo that was synced
    last";
                              }
    
                              leaf is-aigp-set {
                                type boolean;
                                description
                                  "AIGP set ";
                              }
    
                              leaf is-rt-present {
                                type boolean;
                                description
                                  "RT attribute list present";
                              }
    
                              leaf is-rt-present-standby {
                                type boolean;
                                description
                                  "RT attribute list present";
                              }
    
                              leaf accept-own-enabled {
                                type boolean;
                                description
                                  "Flag to indicate if Accept-Own is enabled";
                              }
    
                              leaf selective-multipath-eligible {
                                type boolean;
                                description
                                  "Flag to indicate if selective multipath is
    eligible";
                              }
    
                              leaf afrpki-disable {
                                type boolean;
                                description
                                  "Prefix validation disabled";
                              }
    
                              leaf afrpki-use-validity {
                                type boolean;
                                description
                                  "Prefix v. use validity";
                              }
    
                              leaf afrpki-allow-invalid {
                                type boolean;
                                description
                                  "Prefix v. allow invalid";
                              }
    
                              leaf afrpki-signal-ibgp {
                                type boolean;
                                description
                                  "Prefix v. signal ibgp";
                              }
    
                              leaf is-advertise-permanent-network {
                                type boolean;
                                description
                                  "Flag to indicate if advertise is permanent
    network";
                              }
    
                              leaf is-send-mcast-attr {
                                type boolean;
                                description
                                  "Send Mcast Attr";
                              }
    
                              leaf import-stitching {
                                type boolean;
                                description
                                  "Import Stitching enabled";
                              }
    
                              leaf import-reoriginate {
                                type boolean;
                                description
                                  "Import Reoriginate enabled";
                              }
    
                              leaf import-reoriginate-stitching {
                                type boolean;
                                description
                                  "Import Reoriginate Stitching enabled";
                              }
    
                              leaf advertise-v4-flags {
                                type uint32;
                                description
                                  "Advertise options for VPNV4";
                              }
    
                              leaf advertise-v6-flags {
                                type uint32;
                                description
                                  "Advertise options for VPNV6";
                              }
    
                              leaf advertise-local-labeled-route-unicast {
                                type boolean;
                                description
                                  "Advertise routes with ";
                              }
    
                              leaf prefixes-denied-non-cumulative {
                                type uint32;
                                description
                                  "No. of prefixes exactly denied (non cumulative)";
                              }
    
                              leaf enable-label-stack {
                                type boolean;
                                description
                                  "Flag to indicate if label stack is enabled";
                              }
    
                              leaf ot-prov-track-enable {
                                type boolean;
                                description
                                  "OT Provider Tracking enabled";
                              }
    
                              leaf ot-prov-track-state {
                                type Bgp-track-state;
                                description
                                  "OT Provider Tracking state";
                              }
    
                              leaf ot-prov-track-in-gr-state {
                                type boolean;
                                description
                                  "OT Provider Track in GR State";
                              }
    
                              leaf ot-prov-track-eor-tmr-running {
                                type boolean;
                                description
                                  "OT Provider Track EOR timer running";
                              }
    
                              leaf slow-peer-flags {
                                type uint8;
                                description
                                  "Slow Peer Flags ";
                              }
    
                              leaf slow-peer-static {
                                type boolean;
                                description
                                  "Static Slow Peer ";
                              }
    
                              leaf slow-peer-dynamic {
                                type boolean;
                                description
                                  "Dynamic Slow Peer";
                              }
    
                              leaf slow-peer-permanent {
                                type boolean;
                                description
                                  "Permanent Slow Peer";
                              }
    
                              leaf slow-peer-count {
                                type uint16;
                                description
                                  "Slow peer count";
                              }
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list extended-community-standby {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community-standby
                            }  // list af-data
                          }  // list neighbor
                        }  // container neighbor-af-table
    
                        container epe-objects {
                          description
                            "The BGP Egress Engineering table";
                          list epe-object {
                            description
                              "A BGP Egress Engineering object";
                            leaf epe-type {
                              type Bgp-epe-obj;
                              description
                                "Type of EPE object. Can be Peer, Peer-set or
    Adjacency";
                            }
    
                            leaf epe-object-key {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Value of the EPE object.Please provide a
    number forPeer-Set and an IP addressfor peer
    or adjacency";
                            }
    
                            container epe-local-address {
                              description
                                "Local address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container epe-local-address
    
                            container epe-next-hop {
                              description
                                "Nexthop address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container epe-next-hop
    
                            leaf epe-key-length {
                              type uint8;
                              description
                                "EPE key length in bits";
                            }
    
                            leaf epe-type-xr {
                              type uint8;
                              description
                                "Type of EPE object";
                            }
    
                            leaf epe-version {
                              type uint32;
                              description
                                "EPE object's version";
                            }
    
                            leaf epe-flags {
                              type uint16;
                              description
                                "EPE object's flags";
                            }
    
                            leaf epe-local-asn {
                              type uint32;
                              description
                                "Local AS Number";
                            }
    
                            leaf epe-remote-asn {
                              type uint32;
                              description
                                "Remote AS Number";
                            }
    
                            leaf epe-remote-router-id {
                              type uint32;
                              description
                                "BGP egress peer engineeringremote router id";
                            }
    
                            leaf epe-local-router-id {
                              type uint32;
                              description
                                "BGP egress peer engineeringlocal router id";
                            }
    
                            leaf label {
                              type uint32;
                              description
                                "Label assigned to the RPCnext-hop set";
                            }
    
                            leaf ref-count {
                              type uint32;
                              description
                                "Reference count indicates numberof places being
    updated";
                            }
    
                            leaf rpc-set-object-id {
                              type uint32;
                              description
                                "RPC set object ID";
                            }
    
                            list epe-key {
                              description
                                "Key of EPE object";
                              leaf entry {
                                type uint8;
                                description
                                  "Key of EPE object";
                              }
                            }  // list epe-key
    
                            list nexthop-id {
                              description
                                "List of nexthop ID of EPE";
                              leaf entry {
                                type uint32;
                                description
                                  "List of nexthop ID of EPE";
                              }
                            }  // list nexthop-id
    
                            list ifhandle {
                              description
                                "List of ifhandle of EPE";
                              leaf entry {
                                type uint32;
                                description
                                  "List of ifhandle of EPE";
                              }
                            }  // list ifhandle
    
                            list first-hop {
                              description
                                "List of firsthops of EPE";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // list first-hop
    
                            list linked-epe {
                              description
                                "List of EPE objects linked to this current EPE
    object";
                              leaf epe-key-length {
                                type uint8;
                                description
                                  "EPE key length in bits";
                              }
    
                              leaf epe-type {
                                type uint8;
                                description
                                  "Type of EPE object";
                              }
    
                              list epe-key {
                                description
                                  "Key of EPE object";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Key of EPE object";
                                }
                              }  // list epe-key
                            }  // list linked-epe
                          }  // list epe-object
                        }  // container epe-objects
    
                        container update-generation-neighbors {
                          description
                            "A BGP Update generate Table Entry for all BGP
    neighbors";
                          list update-generation-neighbor {
                            description
                              "BGP Update generate entry for BGP neighbor";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "A BGP Update Group Entry index";
                            }
    
                            leaf sub-group-index {
                              type uint32;
                              description
                                "A BGP Update Sub group Table index";
                            }
    
                            leaf sub-group-id {
                              type uint32;
                              description
                                "A BGP Update Sub group table ID";
                            }
    
                            leaf filter-group-index {
                              type uint32;
                              description
                                "A BGP Filter group Table index";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container update-neighbor-address {
                              description
                                "Neighbor address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container update-neighbor-address
    
                            container last-sub-group-add-timestamp {
                              description
                                "Last added time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-sub-group-add-timestamp
    
                            container last-sub-group-remove-timestamp {
                              description
                                "Last removed time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-sub-group-remove-timestamp
    
                            container last-filter-group-add-timestamp {
                              description
                                "Last added time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-filter-group-add-timestamp
    
                            container last-filter-group-remove-timestamp {
                              description
                                "Last removed time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-filter-group-remove-timestamp
    
                            container first-default-originate-timestamp {
                              description
                                "Timestamp when the first default-origination was
    done";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-default-originate-timestamp
    
                            container last-default-originate-timestamp {
                              description
                                "Timestamp when the last default-origination was
    done";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-default-originate-timestamp
    
                            container last-update-group-start-timestamp {
                              description
                                "Last update-group timer start";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-group-start-timestamp
    
                            container last-update-group-expiry-timestamp {
                              description
                                "Last update-group timer expiry";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-group-expiry-timestamp
    
                            container first-update-queued-timestamp {
                              description
                                "Timestamp when the first update was queued";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-queued-timestamp
    
                            container last-update-queued-timestamp {
                              description
                                "Timestamp when last update was queued";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-queued-timestamp
    
                            container last-refresh-update-queued-timestamp {
                              description
                                "Timestamp when the last refresh update was
    queued";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-refresh-update-queued-timestamp
    
                            container first-update-write-timestamp {
                              description
                                "Timestamp when the first update was written";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-write-timestamp
    
                            container last-update-write-timestamp {
                              description
                                "Timestamp when the last update was  written";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-write-timestamp
    
                            container last-refresh-update-write-timestamp {
                              description
                                "Timestamp when the last refresh update written";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-refresh-update-write-timestamp
    
                            container update-statistics {
                              description
                                "BGP update generation statistics update";
                              container last-update-discard-timestamp {
                                description
                                  "Last Discarded time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-discard-timestamp
    
                              container last-update-cleared-timestamp {
                                description
                                  "Last Cleared time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-cleared-timestamp
    
                              container last-update-throttle-timestamp {
                                description
                                  "Last Throttled time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-throttle-timestamp
    
                              container last-update-recovery-timestamp {
                                description
                                  "Last Recovery time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-recovery-timestamp
    
                              container last-update-memory-allocation-fail-timestamp {
                                description
                                  "Memory allocation failure time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-memory-allocation-fail-timestamp
    
                              leaf update-out-queue-messages-high {
                                type uint32;
                                description
                                  "OutQueue High Messages";
                              }
    
                              leaf update-out-queue-messages-cumulative {
                                type uint32;
                                description
                                  "OutQueue Cumulative Messages";
                              }
    
                              leaf update-out-queue-messages-discarded {
                                type uint32;
                                description
                                  "OutQueue Discarded Messages";
                              }
    
                              leaf update-out-queue-messages-cleared {
                                type uint32;
                                description
                                  "OutQueue Cleared Messages";
                              }
    
                              leaf update-out-queue-size-high {
                                type uint32;
                                description
                                  "OutQueue Hi Size";
                              }
    
                              leaf update-out-queue-size-cumulative {
                                type uint64;
                                description
                                  "OutQueue Cumulative Size";
                              }
    
                              leaf update-out-queue-size-discarded {
                                type uint64;
                                description
                                  "OutQueue Discarded Size";
                              }
    
                              leaf update-out-queue-size-cleared {
                                type uint64;
                                description
                                  "OutQueue Cleared Size";
                              }
    
                              leaf last-update-discard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Discard event (in seconds)";
                              }
    
                              leaf last-update-cleard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Clear event (in seconds)";
                              }
    
                              leaf update-throttle-count {
                                type uint32;
                                description
                                  "Throttle Count";
                              }
    
                              leaf last-update-throttle-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Throttle event (in seconds)";
                              }
    
                              leaf update-recovery-count {
                                type uint32;
                                description
                                  "Recovery Count";
                              }
    
                              leaf last-update-recovery-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Recovery event (in seconds)";
                              }
    
                              leaf update-memory-allocation-fail-count {
                                type uint32;
                                description
                                  "Number of times there was failure when
    allocatingmemory for BGP update generation";
                              }
    
                              leaf last-update-memory-allocation-fail-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last memory allocation failure event
    (in seconds)";
                              }
                            }  // container update-statistics
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf update-filter-group-index {
                              type uint32;
                              description
                                "Filter-group index";
                            }
    
                            leaf refresh-filter-group-index {
                              type uint32;
                              description
                                "BGP update generation refresh Filter-group index";
                            }
    
                            leaf sub-group-index-xr {
                              type uint32;
                              description
                                "BGP update generation index for sub-group";
                            }
    
                            leaf refresh-sub-group-index {
                              type uint32;
                              description
                                "BGP update generation refresh Sub-group index";
                            }
    
                            leaf refresh-sub-group-id {
                              type uint32;
                              description
                                "ID of the refresh subgroup for BGP update
    generation";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "Index of this BGP Update-group";
                            }
    
                            leaf update-main-table-version {
                              type uint32;
                              description
                                "Main table version";
                            }
    
                            leaf update-vrf-table-rib-version {
                              type uint32;
                              description
                                "VRF Table RIB version";
                            }
    
                            leaf update-out-queue-messages {
                              type uint32;
                              description
                                "OutQueue messages";
                            }
    
                            leaf update-out-queue-size {
                              type uint32;
                              description
                                "OutQueue size";
                            }
    
                            leaf refresh-update-out-queue-messages {
                              type uint32;
                              description
                                "Refresh OutQueue messages";
                            }
    
                            leaf refresh-update-out-queue-size {
                              type uint32;
                              description
                                "Refresh OutQueue size";
                            }
    
                            leaf update-filter-group-messages {
                              type uint32;
                              description
                                "The number of messages on the BGP filter-group";
                            }
    
                            leaf version {
                              type uint32;
                              description
                                "Version up to which we have generated updates
    for BGP";
                            }
    
                            leaf pending-target-version {
                              type uint32;
                              description
                                "Version of pending target for BGP update
    generation";
                            }
    
                            leaf next-resume-version {
                              type uint32;
                              description
                                "Version number identifying the next to process
    when tablewalk has been interrupted";
                            }
    
                            leaf ack-version {
                              type uint32;
                              description
                                "Identifying the prefixs that have been
    advertisedto the peer and acknowledged by it";
                            }
    
                            leaf synced-ack-version {
                              type uint32;
                              description
                                "Peer acked version that was previously
    synchronized";
                            }
    
                            leaf outstanding-version-count {
                              type uint32;
                              description
                                "The number of all outstanding version objects
    for thisneighbor address-family";
                            }
    
                            leaf update-refresh-version {
                              type uint32;
                              description
                                "Refresh version";
                            }
    
                            leaf refresh-requested-target-version {
                              type uint32;
                              description
                                "Requested refresh target version";
                            }
    
                            leaf update-refresh-target-version {
                              type uint32;
                              description
                                "Target version for update generation in response
    to arefresh request";
                            }
    
                            leaf refresh-pending-target-version {
                              type uint32;
                              description
                                "Pending refresh target version";
                            }
    
                            leaf refresh-next-resume-version {
                              type uint32;
                              description
                                "Version number identifying the next to process
    whena table walk has been interrupted";
                            }
    
                            leaf refresh-ack-version {
                              type uint32;
                              description
                                "Versio of the Refresh Ack for BGP update
    generation";
                            }
    
                            leaf last-default-originate-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last default-origination event (in
    seconds)";
                            }
    
                            leaf default-originate-state {
                              type int32;
                              description
                                "BGP update generation default originate state
    information";
                            }
    
                            leaf default-originate-internal-context {
                              type int32;
                              description
                                "BGP update generation default originate context
    stateinformation";
                            }
    
                            leaf is-eor-outstanding {
                              type boolean;
                              description
                                "Number of EORs outstanding";
                            }
    
                            leaf outbound-refresh-count {
                              type uint32;
                              description
                                "Refresh Outbound count";
                            }
    
                            leaf inbound-refresh-count {
                              type uint32;
                              description
                                "Refresh Inbound count";
                            }
    
                            leaf is-update-group-timer-running {
                              type boolean;
                              description
                                "Flag to indicate if update-group timer is
    running";
                            }
    
                            leaf current-update-group-af-name {
                              type Bgp-afi;
                              description
                                "Current Update-group address-family identifier";
                            }
    
                            leaf last-update-group-af-name {
                              type Bgp-afi;
                              description
                                "Last Update-group address-family identifier";
                            }
    
                            leaf last-update-queued-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last update queued event (in seconds)";
                            }
    
                            leaf last-refresh-update-queued-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last refresh update queued event (in
    seconds)";
                            }
    
                            leaf last-update-write-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last update write event (in seconds)";
                            }
    
                            leaf last-refresh-update-write-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last refresh update write event (in
    seconds)";
                            }
                          }  // list update-generation-neighbor
                        }  // container update-generation-neighbors
    
                        container update-generation-address-family {
                          description
                            "A BGP Update Generate Entry for address-family";
                          container update-statistics {
                            description
                              "BGP address-family statistics update";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-main-table-version {
                            type uint32;
                            description
                              "Main table version";
                          }
    
                          leaf update-rib-version {
                            type uint32;
                            description
                              "RIB version";
                          }
    
                          leaf update-min-neighbor-version {
                            type uint32;
                            description
                              "Minimum Neighbor version";
                          }
    
                          leaf current-update-limit-af {
                            type uint32;
                            description
                              "BGP Current AF sub-group update limit";
                          }
    
                          leaf configured-update-limit-af {
                            type uint32;
                            units "byte";
                            description
                              "Update limit per address-family in bytes";
                          }
    
                          leaf current-update-limit-subgrp-ebgp {
                            type uint32;
                            description
                              "Current EBGP sub-group update limit";
                          }
    
                          leaf configured-update-limit-subgrp-ebgp {
                            type uint32;
                            description
                              "Configured EBGP sub-group update limit";
                          }
    
                          leaf current-update-limit-sub-group-ibgp {
                            type uint32;
                            description
                              "Current IBGP sub-group update limit";
                          }
    
                          leaf configured-update-limit-sub-group-ibgp {
                            type uint32;
                            description
                              "Configured IBGP sub-group update limit";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue messsages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue size";
                          }
    
                          leaf update-throttled {
                            type boolean;
                            description
                              "Flag to indicate if update generation is
    currently throttled";
                          }
    
                          leaf update-update-group-count {
                            type uint32;
                            description
                              "Update-group count";
                          }
    
                          leaf update-sub-group-count {
                            type uint32;
                            description
                              "Sub-group count";
                          }
    
                          leaf sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled sub-group count";
                          }
    
                          leaf refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of refresh sub groups";
                          }
    
                          leaf refresh-sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled refresh sub-group count";
                          }
    
                          leaf filter-group-count {
                            type uint32;
                            description
                              "Number of refresh filter groups";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors in BGP";
                          }
    
                          leaf update-table-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-vrfaf-name {
                            type uint32;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-vrf-rd-version {
                            type uint32;
                            description
                              "RD Version";
                          }
    
                          leaf update-vrf-table-rib-version {
                            type uint32;
                            description
                              "VRF Table RIB version";
                          }
    
                          leaf table-update-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    update groups";
                          }
    
                          leaf update-table-sub-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    sub groups";
                          }
    
                          leaf table-sub-group-throttled-count {
                            type uint32;
                            description
                              "VRF Table throttled sub-group count";
                          }
    
                          leaf table-refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    refresh sub groups";
                          }
    
                          leaf table-refresh-sub-group-throttled-count {
                            type uint32;
                            description
                              "VRF Table throttled refresh sub-group count";
                          }
    
                          leaf update-table-filter-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    filter groups";
                          }
    
                          leaf table-neighbor-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    neighbors";
                          }
                        }  // container update-generation-address-family
    
                        container dampenings {
                          description
                            "The BGP Dampening table";
                          list dampening {
                            description
                              "A BGP Dampening table entry";
                            leaf reuse {
                              type uint32 {
                                range "0..65535";
                              }
                              description
                                "Reuse array index";
                            }
    
                            leaf version {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Version number";
                            }
    
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf length {
                              type uint32 {
                                range "0..128";
                              }
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher value";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list dampening
                        }  // container dampenings
    
                        container dependency {
                          description
                            "A BGP Dependency table entry";
                          list dep-entry-info {
                            description
                              "List of Dependency Tables ";
                            leaf tblid {
                              type uint32;
                              description
                                "Tbl Id ";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list dep-entry-info
                        }  // container dependency
    
                        container prefix-filters {
                          description
                            "The BGP Prefix Filter table";
                          list prefix-filter {
                            key "neighbor-address";
                            description
                              "A BGP prefix filter table entry";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container neighbor-address-xr {
                              description
                                "Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address-xr
    
                            container prefix-list-info {
                              description
                                "Prefix list";
                              list bgp-pfxlst {
                                description
                                  "Next entry in prefix list";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                leaf sequence-number {
                                  type uint32;
                                  description
                                    "Sequence number of the entry in the prefix-list";
                                }
    
                                leaf is-prefix-grant {
                                  type boolean;
                                  description
                                    "TRUE = permit, FALSE = deny";
                                }
    
                                leaf min-prefix-length {
                                  type uint8;
                                  units "bit";
                                  description
                                    "Minimum prefix length in bits";
                                }
    
                                leaf max-prefix-length {
                                  type uint8;
                                  units "bit";
                                  description
                                    "Maximum prefix length in bits";
                                }
                              }  // list bgp-pfxlst
                            }  // container prefix-list-info
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identfier";
                            }
                          }  // list prefix-filter
                        }  // container prefix-filters
    
                        leaf af-name {
                          type dt1:Bgp-address-family;
                          description
                            "Address family";
                        }
    
                        container attributes {
                          description
                            "The BGP Attribute table";
                          list attribute {
                            description
                              "A BGP Attribute table entry";
                            leaf attribute-iid {
                              type uint32 {
                                range "0..255";
                              }
                              description
                                "Identifier of BGP Attribute table entry";
                            }
    
                            leaf attribute-cache-bucket {
                              type uint32 {
                                range "0..65535";
                              }
                              description
                                "Cache bucket value of BGP Attribute table
    entry";
                            }
    
                            leaf attribute-cache-id {
                              type uint32;
                              description
                                "Identifier of the BGP Attribute Cache";
                            }
    
                            container attribute-info {
                              description
                                "Attributes";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attribute-info
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP attribute process instance ID";
                            }
    
                            leaf attribute-instance-id {
                              type uint8;
                              description
                                "Instance ID for BGP attribute context ";
                            }
    
                            leaf attribute-structure-id {
                              type uint32;
                              description
                                "BGP ID of attribute structure information";
                            }
    
                            leaf attribute-structure-hash-value {
                              type uint32;
                              description
                                "Hash value for attribute structure";
                            }
    
                            leaf reference-count {
                              type uint32;
                              description
                                "Number of paths which use this attribute
    structure";
                            }
                          }  // list attribute
                        }  // container attributes
                      }  // list af
                    }  // container afs
    
                    container information {
                      description
                        "Meta data for VRF";
                      leaf route-distinguisher {
                        type xr:Route-dist;
                        description
                          "BGP virtual routing and forwardingroute
    distinguisher";
                      }
                    }  // container information
    
                    container update-inbound-filter-vrf {
                      description
                        "Update inbound filtering information for the VRF";
                      container last-update-filtered-timestamp {
                        description
                          "Last Filtered messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-filtered-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-filtered-message-count {
                        type uint32;
                        description
                          "Number of filtered messages";
                      }
    
                      leaf update-filtered-neighbor-count {
                        type uint32;
                        description
                          "Count of neighbors that received filtered
    messages";
                      }
    
                      leaf last-update-filtered-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last filtered messages received event
    (in seconds)";
                      }
                    }  // container update-inbound-filter-vrf
    
                    container postits {
                      description
                        "The BGP Neighbor table";
                      list postit {
                        key "neighbor-address";
                        description
                          "A BGP Postit table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container neighbors-address {
                          description
                            "Neighbor Addr";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbors-address
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf connect-state {
                          type uint32;
                          description "State";
                        }
    
                        leaf start-time {
                          type uint32;
                          description
                            "StartTime";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        list neighbor-af {
                          min-elements 25;
                          max-elements 25;
                          description
                            "Neighbor Afi";
                          leaf entry {
                            type boolean;
                            description
                              "Array entry.";
                          }
                        }  // list neighbor-af
    
                        list postit-info {
                          description
                            "BGP neighbor postit rounting information";
                          container postit-notification {
                            description
                              "Time since last notification was sent or
    received";
                            leaf time-since-last-notification {
                              type uint32;
                              units "second";
                              description
                                "Time since the last notification was sent or
    received (seconds)";
                            }
    
                            leaf notification-error-code {
                              type uint8;
                              description
                                "Error code in last notification";
                            }
    
                            leaf notification-error-subcode {
                              type uint8;
                              description
                                "Error subcode in last notification";
                            }
    
                            list last-notification-data {
                              description
                                "Message data in last notification";
                              leaf entry {
                                type uint8;
                                description
                                  "Message data in last notification";
                              }
                            }  // list last-notification-data
                          }  // container postit-notification
    
                          leaf postit-type {
                            type uint32;
                            description
                              "Type of the event for post-it";
                          }
    
                          leaf postit-subtype {
                            type uint32;
                            description
                              "BGP Postit Subtype";
                          }
    
                          leaf postit-flags {
                            type uint8;
                            description
                              "Flags associated with post-it";
                          }
    
                          leaf postit-af-name {
                            type Bgp-afi;
                            description
                              "Postit Afi";
                          }
    
                          leaf postit-ts {
                            type uint64;
                            description
                              "Postit TS";
                          }
    
                          leaf postit-direction {
                            type uint8;
                            description
                              "BGP postit inbound oroutbound direction";
                          }
    
                          leaf postit-id {
                            type uint32;
                            description
                              "Postit ID";
                          }
    
                          leaf peer-id {
                            type uint32;
                            description
                              "Peer ID";
                          }
    
                          leaf postit-policy {
                            type string;
                            description "Policy";
                          }
    
                          leaf postit-reset {
                            type Bgp-reset-reason-index;
                            description "Reset";
                          }
                        }  // list postit-info
                      }  // list postit
                    }  // container postits
    
                    container global-process-info {
                      description
                        "The Global Process information table";
                      container global {
                        description
                          "Global information";
                        container gshut-nbr-all-ts {
                          description
                            "BGP gshut nbr all timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-nbr-all-ts
    
                        container gshut-nbr-all-age {
                          description
                            "BGP gshut nbr all age";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-nbr-all-age
    
                        leaf in-standalone-mode {
                          type boolean;
                          description
                            "Standalone or Distributed mode";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local autonomous system number";
                        }
    
                        leaf instance-name {
                          type string;
                          description
                            "Name of BGP instance";
                        }
    
                        leaf restart-count {
                          type uint32;
                          description
                            "No of times BGP has started";
                        }
    
                        leaf update-delay {
                          type uint32;
                          units "second";
                          description
                            "Update delay timeout time (in seconds)";
                        }
    
                        leaf generic-scan-period {
                          type uint16;
                          units "second";
                          description
                            "Period (in seconds) of generic scanner runs";
                        }
    
                        leaf confederation-id {
                          type uint32;
                          description
                            "BGP global process confederation ID";
                        }
    
                        leaf cluster-id {
                          type uint32;
                          description
                            "Cluster ID";
                        }
    
                        leaf configured-cluster-id {
                          type uint32;
                          description
                            "BGP global process configuredcluster ID";
                        }
    
                        leaf is-cluster-id-specified-as-ip {
                          type boolean;
                          description
                            "Cluster ID specified as an IP address";
                        }
    
                        leaf asn-format {
                          type uint32;
                          description
                            "BGP AS Number Format";
                        }
    
                        leaf srgb-start-configured {
                          type uint32;
                          description
                            "Configured segment-routing Global Block start
    value";
                        }
    
                        leaf srgb-end-configured {
                          type uint32;
                          description
                            "Configured segment-routing Global Block end
    value";
                        }
    
                        leaf srgb-start {
                          type uint32;
                          description
                            "In use segment-routing Global Block start value";
                        }
    
                        leaf srgb-end {
                          type uint32;
                          description
                            "In use Segment-routing Global Block end value";
                        }
    
                        leaf srlb-start-configured {
                          type uint32;
                          description
                            "Configured segment-routing Local Block start
    value";
                        }
    
                        leaf srlb-end-configured {
                          type uint32;
                          description
                            "Configured segment-routing Local Block end value";
                        }
    
                        leaf srlb-start {
                          type uint32;
                          description
                            "In use segment-routing Local Block start value";
                        }
    
                        leaf srlb-end {
                          type uint32;
                          description
                            "In use Segment-routing Local Block end value";
                        }
    
                        leaf mix-srte-native {
                          type boolean;
                          description
                            "Platform support mix of SR-TE and Native IGP
    Nexthop";
                        }
    
                        leaf graceful-maintenance {
                          type boolean;
                          description
                            "Graceful shutdown activated for allneighbors";
                        }
    
                        leaf graceful-maint-all-nbrs {
                          type boolean;
                          description
                            "Graceful Maintenance also for neighbors without
    GM configuration";
                        }
    
                        leaf graceful-maint-retain-routes {
                          type boolean;
                          description
                            "Retaining routes in RIB when BGP process stops
    while in Graceful Maintenance";
                        }
    
                        leaf process-rlimit {
                          type uint64;
                          description
                            "Platform RLIMIT max for the process";
                        }
    
                        leaf bmp-maximum-buffer-size {
                          type uint64;
                          description
                            "Maximum limit user can configure for
    max-buffer-size command under bmp-server";
                        }
    
                        leaf bmp-default-buffer-size {
                          type uint64;
                          description
                            "Default value for BMP buffer limit when a value
    is not configured";
                        }
    
                        leaf bmp-current-buffer-size {
                          type uint64;
                          description
                            "Current value for BMP buffer ";
                        }
    
                        leaf bmp-cur-maximum-buffer-size {
                          type uint64;
                          description
                            "Maximum limit user has configure using
    max-buffer-size command under bmp-server";
                        }
    
                        leaf gbl-srv6-locator {
                          type string;
                          description
                            "Global Srv6 Locator Name";
                        }
    
                        list cluster-id-entry {
                          description
                            "All configured Cluster IDs";
                          leaf cluster-id-val {
                            type uint32;
                            description
                              "Cluster ID ";
                          }
    
                          leaf cluster-id-type {
                            type uint8;
                            description
                              "Cluster ID type: number or IPv4 address";
                          }
                        }  // list cluster-id-entry
    
                        list color-id {
                          description
                            "All configured Color IDs";
                          leaf color-id-val {
                            type uint32;
                            description
                              "Color ID ";
                          }
                        }  // list color-id
                      }  // container global
    
                      container vrf {
                        description
                          "VRF information";
                        leaf vrf-is-active {
                          type boolean;
                          description
                            "VRF state";
                        }
    
                        leaf route-distinguisher {
                          type yang:hex-string;
                          description
                            "BGP global process route distinguisher";
                        }
    
                        leaf router-id {
                          type inet:ipv4-address;
                          description
                            "Router ID for the VRF";
                        }
    
                        leaf configured-router-id {
                          type inet:ipv4-address;
                          description
                            "BGP global process configured router ID";
                        }
    
                        leaf is-redistribute-ibgp-to-ig-ps-enabled {
                          type boolean;
                          description
                            "Redistribute iBGP into IGPs enabled";
                        }
    
                        leaf is-fast-external-fallover-enabled {
                          type boolean;
                          description
                            "Flag to indicate if fast external fallover is
    enabled";
                        }
    
                        leaf is-bestpath-missing-med-is-worst-enabled {
                          type boolean;
                          description
                            "Bestpath: Treat missing MED as worst";
                        }
    
                        leaf is-bestpath-always-compare-med-enabled {
                          type boolean;
                          description
                            "Bestpath: Always compare MED";
                        }
    
                        leaf is-bestpath-ignore-as-path-enabled {
                          type boolean;
                          description
                            "Bestpath: Ignore AS path";
                        }
    
                        leaf is-bestpath-as-path-mpath-relax-enabled {
                          type boolean;
                          description
                            "Bestpath: Relax AS path for mpath";
                        }
    
                        leaf is-bestpath-compare-med-from-confed-peer-enabled {
                          type boolean;
                          description
                            "Bestpath: Compare MED from confed peer";
                        }
    
                        leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled {
                          type boolean;
                          description
                            "Bestpath: Compare routerID for eBGP peers";
                        }
    
                        leaf is-bestpath-aigp-ignore-enabled {
                          type boolean;
                          description
                            "Bestpath: Ignore AIGP unless both paths have
    AIGP attribute";
                        }
    
                        leaf is-bestpath-igp-metric-ignore-enabled {
                          type boolean;
                          description
                            "Bestpath: Ignore IGP metric";
                        }
    
                        leaf is-bestpath-igp-metric-sr-policy-enabled {
                          type boolean;
                          description
                            "Bestpath: Prefer SR-Policy admin/metric of
    color-extcomm Nexthop as IGP metric";
                        }
    
                        leaf is-multipath-as-path-ignore-onwards-enabled {
                          type boolean;
                          description
                            "Multipath: Ignore everything AS path onwards for
    mpath";
                        }
    
                        leaf is-multipath-section-use-cluster-list-length {
                          type boolean;
                          description
                            "Multipath: Use Cluster-List Length Criteria";
                        }
    
                        leaf is-bestpath-sr-policy-prefer-enabled {
                          type boolean;
                          description
                            "Bestpath: Pefer SR policy path";
                        }
    
                        leaf is-enforce-first-as-enabled {
                          type boolean;
                          description
                            "Enforce first AS";
                        }
    
                        leaf default-local-preference {
                          type uint32;
                          description
                            "BGP global process default local preference";
                        }
    
                        leaf keep-alive-time {
                          type uint16;
                          units "second";
                          description
                            "Default keepalive timer (seconds)";
                        }
    
                        leaf hold-time {
                          type uint16;
                          units "second";
                          description
                            "Default hold timer (seconds)";
                        }
    
                        leaf min-acceptable-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Default min acceptable hold time from
    neighbor(seconds)";
                        }
    
                        leaf is-neighbor-logging {
                          type boolean;
                          description
                            "Neighbor logging enabled";
                        }
    
                        leaf is-default-metric-configured {
                          type boolean;
                          description
                            "Flag to indicate if default metric is configured";
                        }
    
                        leaf default-metric {
                          type uint32;
                          description
                            "BGP global process virtual routingand forwarding
    default metric";
                        }
    
                        leaf is-default-originate-configured {
                          type boolean;
                          description
                            "Flag to indicate if default route originate is
    configured";
                        }
    
                        leaf is-graceful-restart {
                          type boolean;
                          description
                            "Graceful restart enabled";
                        }
    
                        leaf is-nsr {
                          type boolean;
                          description
                            "Non-stop routing enabled";
                        }
    
                        leaf slow-peer-detection-enabled {
                          type boolean;
                          description
                            "Slow peer detection status";
                        }
    
                        leaf nexthop-validation-disabled {
                          type boolean;
                          description
                            "Color-Extcomm Nexthop validation disabled";
                        }
    
                        leaf nexthop-validation-srte {
                          type boolean;
                          description
                            "Color-Extcomm Nexthop validation SR-Policy";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time (in seconds)";
                        }
    
                        leaf stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Use RPKI validity for bestpath calculation";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Allow invalid paths";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Signal RPKI validity to iBGP peers";
                        }
                      }  // container vrf
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf vrfid {
                        type uint32;
                        description "VRF ID";
                      }
                    }  // container global-process-info
    
                    container update-inbound-error-neighbors {
                      description
                        "Update inbound error information for all
    neighbors";
                      list update-inbound-error-neighbor {
                        key "neighbor-address";
                        description
                          "Update inbound error information for neighbor";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container update-neighbor-address {
                          description
                            "Neighbor address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container update-neighbor-address
    
                        container first-update-malformed-timestamp {
                          description
                            "First malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-malformed-timestamp
    
                        container last-update-malformed-timestamp {
                          description
                            "Last malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-malformed-timestamp
    
                        container first-update-memory-allocation-fail-timestamp {
                          description
                            "First memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-memory-allocation-fail-timestamp
    
                        container last-update-memory-allocation-fail-timestamp {
                          description
                            "Last memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-memory-allocation-fail-timestamp
    
                        container first-update-error-handling-reset-timestamp {
                          description
                            "First error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-error-handling-reset-timestamp
    
                        container last-error-handling-reset-timestamp {
                          description
                            "Last error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-error-handling-reset-timestamp
    
                        leaf update-vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf update-error-handling-avoid-reset {
                          type boolean;
                          description
                            "Configure error-handling to avoid resets";
                        }
    
                        leaf total-update-message-count {
                          type uint32;
                          description
                            "The total number of update messages encoutered
    so far";
                        }
    
                        leaf update-malformed-message-count {
                          type uint32;
                          description
                            "The toatl number of malform update messages so
    far";
                        }
    
                        leaf last-update-malformed-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last malformed message received event
    (in seconds)";
                        }
    
                        leaf update-memory-allocation-fail-count {
                          type uint32;
                          description
                            "Total number of memory allocation failures";
                        }
    
                        leaf last-update-memory-allocation-fail-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last memory allocation failure event
    (in seconds)";
                        }
    
                        leaf update-error-handling-reset-count {
                          type uint32;
                          description
                            "Total number of neighbor reset due to
    error-handling";
                        }
    
                        leaf last-error-handling-reset-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last error-handling reset event (in
    seconds)";
                        }
    
                        leaf update-error-message-list-count {
                          type uint32;
                          description
                            "Malformed messages list count";
                        }
    
                        leaf update-attribute-discard-count {
                          type uint32;
                          description
                            "Discarded attribute count";
                        }
    
                        leaf establishment-total-update-message-count {
                          type uint32;
                          description
                            "Total update messages count since session
    establishment";
                        }
    
                        list establishment-action-count {
                          max-elements 7;
                          description
                            "Number of occurence of each action type since
    
    session establishment";
                          leaf entry {
                            type uint32;
                            description
                              "Number of occurence of each action type since
    
    session establishment";
                          }
                        }  // list establishment-action-count
    
                        list update-error-message {
                          description
                            "List of malformed messages";
                          container update-message-timestamp {
                            description
                              "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container update-message-timestamp
    
                          container update-message-reset-data {
                            description
                              "Reset data";
                            leaf update-error-reset-reason {
                              type Bgp-reset-reason-index;
                              description
                                "Reset Reason";
                            }
    
                            leaf update-error-reset-notification-code {
                              type uint8;
                              description
                                "Notification code";
                            }
    
                            leaf update-error-reset-notification-sub-code {
                              type uint16;
                              description
                                "Notification sub code";
                            }
    
                            leaf update-error-reset-notification-data {
                              type yang:hex-string;
                              description
                                "Notification data";
                            }
    
                            leaf update-error-reset-notification-data-length {
                              type uint16;
                              description
                                "Notification data length";
                            }
                          }  // container update-message-reset-data
    
                          leaf update-error-final-action {
                            type Bgp-bag-upd-err-action;
                            description
                              "Error final action";
                          }
    
                          leaf update-attribute-discard-count {
                            type uint32;
                            description
                              "Discarded attribute count";
                          }
    
                          leaf update-error-nlri-address-family {
                            type Bgp-afi;
                            description
                              "NLRI address-family";
                          }
    
                          leaf update-error-nlri-string {
                            type string;
                            description
                              "List of NLRIs in string format";
                          }
    
                          leaf update-error-nlri-string-truncated {
                            type boolean;
                            description
                              "Indicates whether NLRI string was truncated due
    to lack of space";
                          }
    
                          list update-message-data {
                            description
                              "Raw Message data in binary format";
                            leaf entry {
                              type uint8;
                              description
                                "Raw Message data in binary format";
                            }
                          }  // list update-message-data
    
                          list update-error-element {
                            max-elements 3;
                            description
                              "Error element list";
                            leaf update-attribute-flags {
                              type uint8;
                              description
                                "Attribute Flags [RFC4271: BGP4]";
                            }
    
                            leaf update-attribute-code {
                              type uint8;
                              description
                                "Attribute code [RFC4271: BGP4]";
                            }
    
                            leaf update-attribute-length {
                              type uint16;
                              description
                                "Attribute Length [RFC4271: BGP4]";
                            }
    
                            leaf update-error-data {
                              type yang:hex-string;
                              description
                                "Error data";
                            }
    
                            leaf update-error-data-length {
                              type uint16;
                              description
                                "Error data length";
                            }
    
                            leaf update-error-action {
                              type Bgp-bag-upd-err-action;
                              description
                                "Error action";
                            }
                          }  // list update-error-element
                        }  // list update-error-message
                      }  // list update-inbound-error-neighbor
                    }  // container update-inbound-error-neighbors
    
                    container update-inbound-filter-neighbors {
                      description
                        "Update inbound filtering information for all
    neighbors";
                      list update-inbound-filter-neighbor {
                        key "neighbor-address";
                        description
                          "Update inbound filtering information for
    neighbor";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container update-neighbor-address {
                          description
                            "Neighbor address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container update-neighbor-address
    
                        container first-update-filtered-timestamp {
                          description
                            "First filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-filtered-timestamp
    
                        container last-update-filtered-timestamp {
                          description
                            "Last filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-filtered-timestamp
    
                        leaf update-vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf update-filter-logging-enabled {
                          type boolean;
                          description
                            "Logging is enabled";
                        }
    
                        leaf configured-update-filter-message-buffer-count {
                          type uint32;
                          description
                            "Total number of configured update filter
    messagebuffer size";
                        }
    
                        leaf operational-update-filter-message-buffer-count {
                          type uint32;
                          description
                            "Number of messages in the message buffer";
                        }
    
                        leaf update-filter-message-buffer-circular {
                          type boolean;
                          description
                            "Indicates if the message buffers are circular";
                        }
    
                        leaf update-attribute-filter-group-name {
                          type string;
                          description
                            "String format BGP attribute-filter group name";
                        }
    
                        leaf operational-update-attribute-filtering-enabled {
                          type boolean;
                          description
                            "Attribute filtering is enabled";
                        }
    
                        leaf message-update-attribute-filtering-enabled {
                          type boolean;
                          description
                            "Attribute filtering is enabled for the current
    message being parsed";
                        }
    
                        leaf total-filter-update-message-count {
                          type uint32;
                          description
                            "Total number of filtered messages encoutered";
                        }
    
                        leaf establishment-total-filter-update-message-count {
                          type uint32;
                          description
                            "Total update messages count since session
    establishment";
                        }
    
                        leaf update-filtered-message-count {
                          type uint32;
                          description
                            "Total number of filtered messages encountered so
    far";
                        }
    
                        leaf establishment-update-filtered-message-count {
                          type uint32;
                          description
                            "Filtered messages count since session
    establishment";
                        }
    
                        leaf last-update-filtered-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last filtered message received event
    (in seconds)";
                        }
    
                        leaf update-filter-message-list-count {
                          type uint32;
                          description
                            "Filtered messages list count";
                        }
    
                        list update-attribute-filter-attributes {
                          description
                            "List of attributes that can be filtered";
                          container last-update-filter-match-timestamp {
                            description
                              "Last attribute filtered time: time elapsed since
    00:00:00 UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-filter-match-timestamp
    
                          leaf update-internal-attribute-code {
                            type uint32;
                            description
                              "Internal attribute code [RFC4271: BGP4]";
                          }
    
                          leaf update-filter-action {
                            type Bgp-bag-upd-filter-action;
                            description
                              "Filtering action";
                          }
    
                          leaf update-filter-match-count {
                            type uint32;
                            description
                              "Filter match counter";
                          }
    
                          leaf establishment-update-filter-match-count {
                            type uint32;
                            description
                              "Filter match counter since last session
    establishment";
                          }
    
                          leaf last-update-filter-match-age {
                            type uint32;
                            units "second";
                            description
                              "Time since this attribute was last filtered (in
    seconds)";
                          }
                        }  // list update-attribute-filter-attributes
    
                        list update-filter-message {
                          description
                            "List of filtered messages";
                          container update-filter-message-timestamp {
                            description
                              "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container update-filter-message-timestamp
    
                          leaf update-filtered-attribute-count {
                            type uint32;
                            description
                              "Total number of attributes filtered in
    thismessage";
                          }
    
                          leaf update-filter-final-action {
                            type Bgp-bag-upd-filter-action;
                            description
                              "Filtering final action";
                          }
    
                          leaf update-filter-nlri-address-family {
                            type Bgp-afi;
                            description
                              "NLRI address-family";
                          }
    
                          leaf update-filter-nlri-string {
                            type string;
                            description
                              "List of NLRIs in string format";
                          }
    
                          leaf update-filter-nlri-string-truncated {
                            type boolean;
                            description
                              "Indicates whether NLRI string was truncated due
    to lack of space";
                          }
    
                          list update-filter-message-data {
                            description
                              "Raw Message data in binary format";
                            leaf entry {
                              type uint8;
                              description
                                "Raw Message data in binary format";
                            }
                          }  // list update-filter-message-data
    
                          list update-filter-element {
                            max-elements 3;
                            description
                              "Filtering element list";
                            leaf update-attribute-flags {
                              type uint8;
                              description
                                "Attribute Flags [RFC4271: BGP4]";
                            }
    
                            leaf update-attribute-code {
                              type uint8;
                              description
                                "Attribute code [RFC4271: BGP4]";
                            }
    
                            leaf update-filter-action {
                              type Bgp-bag-upd-filter-action;
                              description
                                "Filtering action";
                            }
                          }  // list update-filter-element
                        }  // list update-filter-message
                      }  // list update-inbound-filter-neighbor
                    }  // container update-inbound-filter-neighbors
    
                    container bmp {
                      description
                        "BMP related Operational Data";
                      container server-summaries {
                        description
                          "Table of BMP Servers";
                        list server-summary {
                          key "server-id";
                          description
                            "Summary Information about BMP server";
                          leaf server-id {
                            type uint32 {
                              range "1..8";
                            }
                            description
                              "BMP Server ID";
                          }
    
                          container bmp-server-state-age {
                            description
                              "Age of current state of BMP Server";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-server-state-age
    
                          container bmp-server-state-time-spec {
                            description
                              "Timespec of current state of BMP Server";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-server-state-time-spec
    
                          container bmp-server-last-discon-time {
                            description
                              "Timespec of Last Disconnect event received from
    BMP server";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-server-last-discon-time
    
                          container update-source-address {
                            description
                              "Address of Interface configured as Update Source";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container update-source-address
    
                          leaf bmp-server-id {
                            type uint8;
                            description
                              "BMP Server ID";
                          }
    
                          leaf bmp-server-host-name {
                            type string;
                            description
                              "BMP Server Hostname";
                          }
    
                          leaf bmp-server-port {
                            type uint32;
                            description
                              "BMP Server Port Number";
                          }
    
                          leaf bmp-server-state {
                            type Bgp-bmp-state;
                            description
                              "Connection state of the BMP server";
                          }
    
                          leaf bmp-server-is-flapping {
                            type boolean;
                            description
                              "Connection to the BMP server Flapping";
                          }
    
                          leaf bmp-server-nbr-count {
                            type uint32;
                            description
                              "Neighbor count for the BMP Server";
                          }
    
                          leaf bmp-init-msg-count {
                            type uint32;
                            description
                              "Number of Initiation Msgs sent by this BMP
    Server";
                          }
    
                          leaf bmp-termination-msg-count {
                            type uint32;
                            description
                              "Number of Termination Messages sent by this BMP
    Server";
                          }
    
                          leaf bmp-status-report-count {
                            type uint32;
                            description
                              "Number of Status ReportMessages sent by this BMP
    Server";
                          }
    
                          leaf bmp-per-peer-msg-count {
                            type uint32;
                            description
                              "Total number of per peer messages sent";
                          }
    
                          leaf bmp-peer-msg-drop-count {
                            type uint32;
                            description
                              "Total number of messages dropped";
                          }
    
                          leaf bmp-peer-msg-pending-count {
                            type uint32;
                            description
                              "Total number of bmpQ msgs pending";
                          }
    
                          leaf tos-type {
                            type uint8;
                            description
                              "Precedence (0) or DSCP (1) type";
                          }
    
                          leaf tos-value {
                            type uint8;
                            description
                              "Precedence or DSCP value";
                          }
    
                          leaf update-source-interface-name {
                            type string;
                            description
                              "Interface configured as Update Source";
                          }
    
                          leaf update-source-vrf-id {
                            type uint32;
                            description
                              "VRF ID of interface configured as Update Source";
                          }
    
                          leaf bmp-vrf-name {
                            type string;
                            description
                              "VRF Name configured";
                          }
    
                          leaf bmp-vrf-id {
                            type uint32;
                            description
                              "VRF ID for the vrf name configured";
                          }
    
                          leaf bmp-update-mode {
                            type Bgp-bmp-upd-mode;
                            description
                              "Update sending mode configured for this BMP
    server";
                          }
    
                          leaf tcp-keep-alive-interval {
                            type uint32;
                            description
                              "TCP Keep alive interval configured";
                          }
    
                          leaf tcp-maximum-segment-size {
                            type uint32;
                            description
                              "TCP Maximum Segments size configured";
                          }
    
                          leaf tcp-write-cb-pending {
                            type uint32;
                            description
                              "Are we waiting for TCP write callback ?";
                          }
    
                          leaf tcp-last-write-result {
                            type uint32;
                            description
                              "Last TCP Socket write status";
                          }
    
                          leaf tcp-last-write-cb-time {
                            type uint64;
                            description
                              "Last TCP Write CB time";
                          }
    
                          leaf tcp-last-write-time {
                            type uint64;
                            description
                              "Last TCP Write time";
                          }
    
                          leaf bmpq-last-write-pulse-sent-time {
                            type uint64;
                            description
                              "Last BMPQ write pulse Sent time";
                          }
    
                          leaf bmpq-last-all-write-pulse-sent-time {
                            type uint64;
                            description
                              "Last BMPQ write pulse Sent for all BMP servers ";
                          }
    
                          leaf bmpq-last-write-pulse-cb-time {
                            type uint64;
                            description
                              "Last BMPQ write pulse callback time";
                          }
    
                          leaf path-update-count {
                            type uint32;
                            description
                              "Number of path update sent ";
                          }
    
                          leaf path-withdraw-count {
                            type uint32;
                            description
                              "Number of path wdraw sent";
                          }
    
                          leaf path-update-drop {
                            type uint32;
                            description
                              "Number of path update drop ";
                          }
    
                          leaf path-withdraw-drop {
                            type uint32;
                            description
                              "Number of path wdraw drop ";
                          }
    
                          leaf bmp-peer-msg-pending-count-max {
                            type uint32;
                            description
                              "Total bmpQ msgs pending max";
                          }
    
                          leaf bmp-peer-msg-pending-count-hwts {
                            type uint64;
                            description
                              "Total bmpQ msgs pending max time";
                          }
    
                          leaf bmp-bytes-written-tcp {
                            type uint64;
                            units "byte";
                            description
                              "Total bytes sent to TCP";
                          }
    
                          leaf tcp-write-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sending msg to
    TCP(milliseconds)";
                          }
    
                          leaf bmpr-mon-upd-messages {
                            type uint32;
                            description
                              "Total bmpQ update msgs ";
                          }
    
                          leaf bmpr-mon-wdraw-messages {
                            type uint32;
                            description
                              "Total bmpQ withdraw msgs ";
                          }
    
                          leaf bmp-messages-wdraw-discarded {
                            type uint32;
                            description
                              "Total bmpQ wdraw msgs discarded because of peer
    down";
                          }
    
                          leaf bmp-pfx-wdraw-discarded {
                            type uint32;
                            description
                              "Total bmpQ wdraw pfxes discarded because of peer
    down";
                          }
    
                          leaf bmp-per-peer-msg-route-mon-count {
                            type uint32;
                            description
                              "Total number of per peer route mon messages sent";
                          }
    
                          leaf bmpr-mon-update-gen-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent in update generation(milliseconds)";
                          }
    
                          leaf bmpr-mon-eo-rmessages {
                            type uint32;
                            description
                              "Total bmpQ EOR update msgs ";
                          }
    
                          leaf bmp-rmon-cur-buffer-size {
                            type uint64;
                            description
                              "Current Buffer usage per BMP Route Mon";
                          }
    
                          leaf bmp-maximum-buffer-size-route-mon {
                            type uint64;
                            description
                              "Buffer limit used for route mon";
                          }
    
                          leaf bmp-server-up-count {
                            type uint32;
                            description
                              "Number of BMP server that are UP";
                          }
    
                          leaf bmp-upd-gen-in-progress {
                            type boolean;
                            description
                              "Update generation in progress";
                          }
    
                          leaf bmp-reset-walk-in-progress {
                            type boolean;
                            description
                              "Flag to indicate if BGP monitoring protocol
    server reset walk is in progress";
                          }
    
                          list bmpafi-info {
                            description
                              "AFI specific info for BMP server";
                            container bmp-resume-prefix {
                              description
                                "BMP Resume prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bmp-resume-prefix
    
                            container bmp-filter-neighbor-address {
                              description
                                "Filter Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container bmp-filter-neighbor-address
    
                            leaf bmpaf-name {
                              type Bgp-afi;
                              description
                                "BMP Address family identifier";
                            }
    
                            leaf bmp-resume-prefix-len {
                              type uint32;
                              description
                                "BMP Resume prefix Len";
                            }
    
                            leaf bmp-upd-gen-resume-start-version {
                              type uint32;
                              description
                                "Update Gen ResumeWalk start version";
                            }
    
                            leaf bmp-upd-gen-resume-end-version {
                              type uint32;
                              description
                                "Update Gen ResumeWalk end version";
                            }
    
                            leaf bmp-upd-gen-walk-stopped {
                              type boolean;
                              description
                                "Update Gen WalkStopped";
                            }
    
                            leaf bmp-upd-gen-resume-net-version {
                              type uint32;
                              description
                                "Update Gen ResumeWalk Net version";
                            }
    
                            leaf bmp-upd-gen-walk-run-time-stamp {
                              type uint64;
                              description
                                "Last Update Gen Run time stamp";
                            }
    
                            leaf bmp-upd-gen-walk-run-count {
                              type uint64;
                              description
                                "Number of times Update Gen ran";
                            }
    
                            leaf bmp-upd-gen-walk-stop-time-stamp {
                              type uint64;
                              description
                                "Last Update Gen Stop time stamp";
                            }
    
                            leaf bmp-upd-gen-walk-stop-count {
                              type uint64;
                              description
                                "Number of times Update Gen Stopped";
                            }
    
                            leaf bmp-init-eor-end-version {
                              type uint32;
                              description
                                "Version to reach to send EOR";
                            }
    
                            leaf bmp-init-eor-pending-cnt {
                              type uint32;
                              description
                                "Count for pending EOR";
                            }
    
                            leaf bmp-filter-neighbor-address-set {
                              type boolean;
                              description
                                "Filter Neighbor Address Set ?";
                            }
    
                            leaf bmp-filter-nbr-cnt {
                              type uint32;
                              description
                                "Filter nbr Count for this AFI";
                            }
    
                            leaf bmp-send-version {
                              type uint32;
                              description
                                "Table Version that this BMP server has caught
    upto";
                            }
                          }  // list bmpafi-info
                        }  // list server-summary
                      }  // container server-summaries
    
                      container server-neighbors {
                        description
                          "Table of Neighbors for a BMP Server";
                        list server-neighbor {
                          key "server-id";
                          description
                            "BMP Server under which neighbor info are
    needed";
                          container monitored-neighbors {
                            description
                              "List of Neighbors under which BMP Server is
    configured";
                            list monitored-neighbor {
                              description
                                "Information about a neighbor monitored by
    BMP server";
                              leaf neighbor-address {
                                type inet:ip-address-no-zone;
                                description
                                  "IPv4 or IPv6 Address of the BGP Neighbor";
                              }
    
                              leaf vrf-name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Name of VRF, the neighbor belongs to";
                              }
    
                              container bmp-neighbor-address {
                                description
                                  "Address of Nbr that logs to BMP server";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container bmp-neighbor-address
    
                              leaf bmp-neighbor-msg-pending {
                                type uint32;
                                description
                                  "Number of messages pending to be sent to BMP
    Server from this Neighbor";
                              }
    
                              leaf bmp-neighbor-msg-dropped {
                                type uint32;
                                description
                                  "Number of messages dropped sent from this
    neighbor";
                              }
    
                              leaf bmp-neighbor-peer-up-sent {
                                type uint32;
                                description
                                  "Number of Peer UP Messages sent from this
    neighbor";
                              }
    
                              leaf bmp-neighbor-peer-down-sent {
                                type uint32;
                                description
                                  "Number of Peer DOWN Messages sent from this
    neighbor";
                              }
    
                              leaf bmp-neighbor-route-monitor-sent {
                                type uint32;
                                description
                                  "Number of Route Monitor Messages sent";
                              }
    
                              leaf bmp-neighbor-route-monitor-eor-sent {
                                type uint32;
                                description
                                  "Number of Route Monitor EOR Messages sent";
                              }
    
                              leaf bmp-neighbor-path-update-sent {
                                type uint32;
                                description
                                  "Number of Path UpdateMessages sent";
                              }
    
                              leaf bmp-neighbor-path-withdraw-sent {
                                type uint32;
                                description
                                  "Number of Path WithdrawMessages sent";
                              }
    
                              leaf bmp-neighbor-path-update-drop {
                                type uint32;
                                description
                                  "Number of path update drop ";
                              }
    
                              leaf bmp-neighbor-path-withdraw-drop {
                                type uint32;
                                description
                                  "Number of path wdraw drop ";
                              }
    
                              leaf bmp-neighbor-upd-msg-sent {
                                type uint32;
                                description
                                  "Number of update message sent";
                              }
    
                              leaf bmp-neighbor-wdraw-msg-sent {
                                type uint32;
                                description
                                  "Number of withdraw message sent";
                              }
                            }  // list monitored-neighbor
                          }  // container monitored-neighbors
    
                          leaf server-id {
                            type uint32 {
                              range "1..8";
                            }
                            description
                              "BMP Server ID";
                          }
                        }  // list server-neighbor
                      }  // container server-neighbors
                    }  // container bmp
    
                    container neighbor-missing-eor-table {
                      description
                        "The BGP Neighbor missing eor table";
                      list neighbor {
                        key "neighbor-address";
                        description
                          "A BGP Neighbor table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        container send-notification-info {
                          description
                            "Information on the last notification sent";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container send-notification-info
    
                        container received-notification-info {
                          description
                            "Information on the last notification received";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container received-notification-info
    
                        container performance-statistics {
                          description
                            "BGP neighbor performance statistics";
                          leaf read-throttles {
                            type uint32;
                            description
                              "Number of partial read throttles";
                          }
    
                          leaf low-throttled-read {
                            type uint32;
                            description
                              "Num socket reads after nbrs crossed low
    threshold";
                          }
    
                          leaf high-throttled-read {
                            type uint32;
                            description
                              "Num of socket reads after nbr crossed high
    threshold";
                          }
    
                          leaf time-since-last-throttled-read {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read after being
    throttled";
                          }
    
                          leaf read-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to read inbound data";
                          }
    
                          leaf read-messages-count {
                            type uint32;
                            description
                              "Number of BGP messages read";
                          }
    
                          leaf data-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "No. of bytes of data read";
                          }
    
                          leaf io-read-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent reading inbound data (milliseconds)";
                          }
    
                          leaf write-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to write outbound data";
                          }
    
                          leaf data-bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes that havesent to peers";
                          }
    
                          leaf io-write-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent writing outbound data (milliseconds)";
                          }
    
                          leaf last-sent-seq-no {
                            type uint32;
                            description
                              "Seq No of the last sent byte";
                          }
    
                          leaf write-subgroup-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process sub-group
    message list";
                          }
    
                          leaf write-subgroup-messages-count {
                            type uint32;
                            description
                              "Number of sub-group msgs processed";
                          }
    
                          leaf subgroup-list-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sub-group message list
    (milliseconds)";
                          }
    
                          leaf write-queue-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process write queue";
                          }
    
                          leaf write-queue-messages-count {
                            type uint32;
                            description
                              "Number of write queue messages processed";
                          }
    
                          leaf write-queue-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing write queue (milliseconds)";
                          }
    
                          leaf inbound-update-messages {
                            type uint32;
                            description
                              "Number of inbound update messages processed";
                          }
    
                          leaf inbound-update-messages-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing inbound update messages
    (milliseconds)";
                          }
    
                          leaf maximum-read-size {
                            type uint32;
                            units "millisecond";
                            description
                              "Size of largest socket (milliseconds)";
                          }
    
                          leaf actives {
                            type uint32;
                            description
                              "Number of retried Active opens for this neighbor";
                          }
    
                          leaf failed-post-actives {
                            type uint32;
                            description
                              "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                          }
    
                          leaf passives {
                            type uint32;
                            description
                              "Number of retried Passive opens for this
    neighbor";
                          }
    
                          leaf rejected-passives {
                            type uint32;
                            description
                              "Number of rejected Passive opens for this
    neighbor";
                          }
    
                          leaf active-collision {
                            type uint32;
                            description
                              "Number of Closed Active connections for this
    neighbor due to collision ";
                          }
    
                          leaf passive-collision {
                            type uint32;
                            description
                              "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                          }
    
                          leaf control-to-read-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger read
    thread";
                          }
    
                          leaf control-to-write-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger write
    thread";
                          }
    
                          leaf network-status {
                            type uint32;
                            description
                              "Socket status, TRUE if socket closed";
                          }
    
                          leaf reset-flags {
                            type uint32;
                            description
                              "Reset flags, per thread";
                          }
    
                          leaf nbr-flags {
                            type uint32;
                            description
                              "Nbr flags, per thread";
                          }
    
                          leaf nbr-fd {
                            type int32;
                            description
                              "Primary FD, per nbr";
                          }
    
                          leaf reset-retries {
                            type uint8;
                            description
                              "Reset Retries, per nbr";
                          }
    
                          leaf sync-flags {
                            type uint32;
                            description
                              "Sync flags, per nbr";
                          }
    
                          leaf nsr-oper-down-count {
                            type uint32;
                            description
                              "Number of times NSR scoped sync has been done";
                          }
    
                          leaf last-nsr-scoped-sync {
                            type uint32;
                            description
                              "Last time NSR scoped syncwas done for the
    neighbor";
                          }
                        }  // container performance-statistics
    
                        container message-statistics {
                          description
                            "BGP neighbor message statistics";
                          container open {
                            description "Open";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container open
    
                          container notification {
                            description
                              "BGP neighbor messagestatistics notification";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container notification
    
                          container update {
                            description
                              "BGP neighbor message statisticsupdate";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container update
    
                          container keepalive {
                            description
                              "Message sent between BGP neighborsto check the
    link between is operating";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container keepalive
    
                          container route-refresh {
                            description
                              "BGP neighbor message statisticsroute refresh";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container route-refresh
    
                          container total {
                            description "Total";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container total
                        }  // container message-statistics
    
                        container tcp-init-sync-time-spec {
                          description
                            "Time When neighbor entered TCP Init Sync";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-time-spec
    
                        container tcp-init-sync-phase-two-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Phase
    Two";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-phase-two-time-spec
    
                        container tcp-init-sync-done-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Done";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-done-time-spec
    
                        container graceful-maintenance {
                          description
                            "Globally activated BGp neighborfor graceful
    shutdown";
                          leaf gshut-exists {
                            type boolean;
                            description
                              "Graceful Maintenance enabled";
                          }
    
                          leaf gshut-local-active {
                            type boolean;
                            description
                              "Graceful Maintenance locally activated";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "Graceful Maintenance Local Preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "Graceful Maintenance Local Preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "Graceful Maintenance number of AS prepends";
                          }
    
                          leaf gshut-interface-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Interface";
                          }
    
                          leaf gshut-location-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Location";
                          }
                        }  // container graceful-maintenance
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP neighbor description";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf has-internal-link {
                          type boolean;
                          description
                            "Internal link to neighbor";
                        }
    
                        leaf is-external-neighbor-not-directly-connected {
                          type boolean;
                          description
                            "Flag to indicate neighbor is external and not
    directly connected";
                        }
    
                        leaf messages-received {
                          type uint32;
                          description
                            "Number of messages received";
                        }
    
                        leaf messages-sent {
                          type uint32;
                          description
                            "Number of messages sent";
                        }
    
                        leaf update-messages-in {
                          type uint32;
                          description
                            "No. of update msgs received";
                        }
    
                        leaf update-messages-out {
                          type uint32;
                          description
                            "No. of update messages sent";
                        }
    
                        leaf messages-queued-in {
                          type uint32;
                          description
                            "No. of msgs on receive queue";
                        }
    
                        leaf messages-queued-out {
                          type uint32;
                          description
                            "No. of messages on send queue";
                        }
    
                        leaf connection-established-time {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) that the connection has been
    established";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
    
                        leaf previous-connection-state {
                          type uint32;
                          description
                            "Previous state of connection";
                        }
    
                        leaf connection-admin-status {
                          type uint32;
                          description
                            "Administrative status of connection";
                        }
    
                        leaf open-check-error-code {
                          type Bgp-open-check-err;
                          description
                            "Error code for open check failure forBGP
    neighbor";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf connection-local-port {
                          type uint32;
                          description
                            "Local port for the connection";
                        }
    
                        leaf connection-remote-port {
                          type uint32;
                          description
                            "Remote port for the connection";
                        }
    
                        leaf neighbor-interface-handle {
                          type uint32;
                          description
                            "Interface Handle of Neighbor";
                        }
    
                        leaf reset-notification-sent {
                          type boolean;
                          description
                            "Notification was sent during last reset";
                        }
    
                        leaf is-administratively-shut-down {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor is
    administratively shut down";
                        }
    
                        leaf is-neighbor-max-prefix-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down because it exceeded max prfx
    count";
                        }
    
                        leaf is-out-of-memory-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down during a SEVERE low memory
    condition";
                        }
    
                        leaf is-out-of-memory-forced-up {
                          type boolean;
                          description
                            "Neighbor forced up during a low memory condition";
                        }
    
                        leaf is-ebgp-peer-as-league {
                          type boolean;
                          description
                            "EBGP peer belongs to AS League";
                        }
    
                        leaf is-ebgp-peer-common-admin {
                          type boolean;
                          description
                            "EBGP peer with common administation";
                        }
    
                        leaf ttl-security-enabled {
                          type boolean;
                          description
                            "TTL Security enabled";
                        }
    
                        leaf suppress4-byte-as {
                          type boolean;
                          description
                            "Suppress 4byteas capability";
                        }
    
                        leaf bfd-session-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-created-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-enable-mode {
                          type Bgp-bfd-enable-mode;
                          description
                            "BFD enable mode for this peer";
                        }
    
                        leaf bfd-minintervalval {
                          type uint32;
                          description
                            "BFD Mininterval for this peer";
                        }
    
                        leaf bfd-multiplierval {
                          type uint32;
                          description
                            "BFD Multiplier for this peer";
                        }
    
                        leaf bfd-state-ts {
                          type uint64;
                          description
                            "Timestamp since when nbr is in this bfd state";
                        }
    
                        leaf router-id {
                          type inet:ipv4-address;
                          description
                            "Router ID for the neighbor";
                        }
    
                        leaf negotiated-protocol-version {
                          type uint16;
                          description
                            "Negotiated protocol version with the BGP
    neighbor";
                        }
    
                        leaf ebgp-time-to-live {
                          type uint32;
                          description
                            "Maximum number of hops for external BGP neighbor";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf tcpmss {
                          type uint32;
                          description
                            "Neighbor TCP Maximum Segment
    size";
                        }
    
                        leaf msg-log-in {
                          type uint32;
                          description
                            "Message in log count";
                        }
    
                        leaf msg-log-out {
                          type uint32;
                          description
                            "Message out log count";
                        }
    
                        leaf neighbor-local-as {
                          type uint32;
                          description
                            "Local AS configured on the neighbor";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Option to not prepend the Local AS to
    announcements";
                        }
    
                        leaf is-capability-negotiation-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                        }
    
                        leaf is-capability-negotiation-performed {
                          type boolean;
                          description
                            "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                        }
    
                        leaf is-route-refresh-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh was received";
                        }
    
                        leaf is-route-refresh-old-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                        }
    
                        leaf is-gr-aware {
                          type boolean;
                          description
                            "GR awareness received";
                        }
    
                        leaf is4-byte-as-capability-received {
                          type boolean;
                          description
                            "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                        }
    
                        leaf is4-byte-as-capability-sent {
                          type boolean;
                          description
                            "4-byte AScapability Snt";
                        }
    
                        leaf multi-protocol-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if multi-protocol capability
    has been received";
                        }
    
                        leaf hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) negotiated for this
    connection";
                        }
    
                        leaf keep-alive-time {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) negotiated for this
    connection";
                        }
    
                        leaf configured-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-keepalive {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-min-acc-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                        }
    
                        leaf min-advertise-interval {
                          type uint32;
                          units "second";
                          description
                            "Minimum advertisement interval, secs part";
                        }
    
                        leaf min-advertise-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement interval, msecs part";
                        }
    
                        leaf min-origination-interval {
                          type uint16;
                          units "second";
                          description
                            "Minimum origination interval (in secs)";
                        }
    
                        leaf connect-retry-interval {
                          type uint16;
                          units "second";
                          description
                            "Time (in secs) for connect retry timer";
                        }
    
                        leaf time-since-last-update {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last update message was
    received";
                        }
    
                        leaf time-since-last-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read";
                        }
    
                        leaf time-since-last-read-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read before last reset";
                        }
    
                        leaf time-last-cb {
                          type uint64;
                          description "CB";
                        }
    
                        leaf time-last-cb-reset {
                          type uint32;
                          description
                            "Last CB before reset";
                        }
    
                        leaf time-last-fb {
                          type uint64;
                          description "FB";
                        }
    
                        leaf count-last-write {
                          type uint32;
                          description "Count";
                        }
    
                        leaf time-since-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write";
                        }
    
                        leaf attempted-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of last write";
                        }
    
                        leaf actual-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of last write";
                        }
    
                        leaf time-since-second-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in seconds) elapsed since the second last
    write event";
                        }
    
                        leaf attempted-second-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write";
                        }
    
                        leaf actual-second-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of second last write";
                        }
    
                        leaf time-since-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of last write before reset";
                        }
    
                        leaf actual-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of last write before reset";
                        }
    
                        leaf time-since-second-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write before reset";
                        }
    
                        leaf actual-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of second last write before reset";
                        }
    
                        leaf last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write thread event";
                        }
    
                        leaf second-last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last write thread
    event";
                        }
    
                        leaf last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last KA timer expiry before
    reset";
                        }
    
                        leaf second-last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last KA timer expiry
    before reset";
                        }
    
                        leaf last-k-anotsent-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that KA was
    not sent before reset";
                        }
    
                        leaf last-k-aerror-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                        }
    
                        leaf last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the last KA timer start
    before reset";
                        }
    
                        leaf second-last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the second last KA timer
    start before reset";
                        }
    
                        leaf connection-up-count {
                          type uint32;
                          description
                            "Number of times the connection was established";
                        }
    
                        leaf connection-down-count {
                          type uint32;
                          description
                            "Number of times connection was dropped";
                        }
    
                        leaf time-since-connection-last-dropped {
                          type uint32;
                          units "second";
                          description
                            "Time since the connection last went down
    (seconds)";
                        }
    
                        leaf reset-reason {
                          type Bgp-reset-reason-index;
                          description
                            "Reason for last connection reset";
                        }
    
                        leaf peer-reset-reason {
                          type Bgp-peer-reset-reason-index;
                          description
                            "Reason for last peer close event";
                        }
    
                        leaf peer-error-code {
                          type uint32;
                          description
                            "If peer closed, error received from transport";
                        }
    
                        leaf last-notify-error-code {
                          type uint8;
                          description
                            "Code for the last error notification seen on the
    connection";
                        }
    
                        leaf last-notify-error-subcode {
                          type uint8;
                          description
                            "Error subcode of the last error notification
    seen on the connection";
                        }
    
                        leaf error-notifies-received {
                          type uint32;
                          description
                            "Number of error notifications received on the
    connection";
                        }
    
                        leaf error-notifies-sent {
                          type uint32;
                          description
                            "Number of error notifications sent on the
    connection";
                        }
    
                        leaf remote-as-number {
                          type uint32;
                          description
                            "Remote AS number of BGP neighbor";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Bandwidth of link to single-hop eBGP peer";
                        }
    
                        leaf ebgp-recv-dmz {
                          type boolean;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Ebgp send dmz link bw mode";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf tcp-session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "The TCP mode to be used to set up BGP session
    with the neighbor";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf standby-rp {
                          type boolean;
                          description
                            "Standby RP socket inited for Active Open";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf graceful-restart-enabled-nbr {
                          type boolean;
                          description
                            "Neighbor supports graceful-restart";
                        }
    
                        leaf gr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor restart time (in seconds)";
                        }
    
                        leaf gr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor stale-path time (in seconds)";
                        }
    
                        leaf fssn-offset {
                          type uint32;
                          description
                            "First standby SeqNo offset";
                        }
    
                        leaf fpbsn-offset {
                          type uint32;
                          description
                            "First standby PDU boundary SeqNo offset";
                        }
    
                        leaf last-ackd-seq-no {
                          type uint32;
                          description
                            "SeqNo of the last Ackd byte";
                        }
    
                        leaf bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes written by write thread";
                        }
    
                        leaf bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes read";
                        }
    
                        leaf socket-read-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Total read bytes value insocket-lib";
                        }
    
                        leaf is-read-disabled {
                          type boolean;
                          description
                            "If true, socket read isdisabled";
                        }
    
                        leaf update-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total number of bytes readcorresponding to
    update messages";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        leaf is-passive-close {
                          type boolean;
                          description
                            "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                        }
    
                        leaf nbr-enforce-first-as {
                          type boolean;
                          description
                            "Neighbor enforce first AS";
                        }
    
                        leaf active-bmp-servers {
                          type uint8;
                          description
                            "BMP Servers to which the neighbor sends logs";
                        }
    
                        leaf nbr-cluster-id {
                          type uint32;
                          description
                            "Cluster id";
                        }
    
                        leaf nbr-in-cluster {
                          type uint8;
                          description
                            "Type of cluster_id:undefined/number/Ip address";
                        }
    
                        leaf ignore-connected {
                          type boolean;
                          description
                            "If true, the VPN client isan IBGP CE peer";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf io-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for io
    control";
                        }
    
                        leaf read-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for read";
                        }
    
                        leaf write-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for write";
                        }
    
                        leaf discard-data-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Remaining discard data (bytes) on Standby";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
    
                        leaf local-as-dual-as-mode-native {
                          type boolean;
                          description
                            "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                        }
    
                        leaf egress-peer-engineering-enabled {
                          type boolean;
                          description
                            "Indicates if Egress Peer Engineering is enabled";
                        }
    
                        leaf discard-as4-path {
                          type uint32;
                          description
                            "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                        }
    
                        leaf rpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf dynamic-neighbor {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                        }
    
                        leaf merge-inbound-safi1and4-updates {
                          type boolean;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf is-capability-enhe-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                        }
    
                        leaf delete-time-remaining {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) remaining for deletion";
                        }
    
                        leaf sn-bfd-discriminator {
                          type uint32;
                          description
                            "Local Discriminator for the associated BFD
    session";
                        }
    
                        list af-data {
                          max-elements 25;
                          description
                            "Address family specific neighbor data";
                          container neighbor-af-performance-statistics {
                            description
                              "Neighbor AF statistics";
                            leaf sub-group-pending-message-count {
                              type uint32;
                              description
                                "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                            }
    
                            leaf processed-messages {
                              type uint32;
                              description
                                "Number of messages processed from the neighbor's
    write queue";
                            }
    
                            leaf sent-messages {
                              type uint32;
                              description
                                "Number of messages sent from the neighbor's
    write queue";
                            }
    
                            leaf split-horizon-update-transmit {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-update-blocked {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were blocked";
                            }
    
                            leaf split-horizon-withdraw-transmit {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-withdraw-blocked {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were blocked";
                            }
                          }  // container neighbor-af-performance-statistics
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-neighbor-route-reflector-client {
                            type boolean;
                            description
                              "Nbr is a route reflector client";
                          }
    
                          leaf is-legacy-pe-rt {
                            type boolean;
                            description
                              "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                          }
    
                          leaf is-neighbor-af-capable {
                            type boolean;
                            description
                              "Address family capability received from neighbor";
                          }
    
                          leaf is-soft-reconfiguration-inbound-allowed {
                            type boolean;
                            description
                              "Inbound soft reconfiguration allowed";
                          }
    
                          leaf is-use-soft-reconfiguration-always-on {
                            type boolean;
                            description
                              "Soft reconf overrides route refresh";
                          }
    
                          leaf remove-private-as-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to this
    nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                          }
    
                          leaf remove-private-as-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                          }
    
                          leaf flowspec-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                          }
    
                          leaf flowspec-redirect-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf advertise-afi {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-reorg {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-disable {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf encapsulation-type {
                            type uint32;
                            description
                              "BGP neighbor address-familyencapsulation type";
                          }
    
                          leaf advertise-rt-type {
                            type uint8;
                            description
                              "BGP neighbor address-familyadvertise route
    target type";
                          }
    
                          leaf advertise-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of default VRF import disable";
                          }
    
                          leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 default VRF import disable";
                          }
    
                          leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 default VRF import disable";
                          }
    
                          leaf advertise-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of VRF re-import disable";
                          }
    
                          leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 VRF re-import disable";
                          }
    
                          leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 VRF re-import disable";
                          }
    
                          leaf advertise-afi-eo-r-ready {
                            type boolean;
                            description
                              "EoR Can be sent for Advertise AFI";
                          }
    
                          leaf always-use-next-hop-local {
                            type boolean;
                            description
                              "Local router always used for next-hop";
                          }
    
                          leaf sent-community-to-neighbor {
                            type boolean;
                            description
                              "Community attribute sent to neighbor";
                          }
    
                          leaf sent-gshut-community-to-neighbor {
                            type boolean;
                            description
                              "GSHUT Community attribute sent to neighbor";
                          }
    
                          leaf sent-extended-community-to-neighbor {
                            type boolean;
                            description
                              "Extended community attribute sent to neighbor";
                          }
    
                          leaf default-originate-vpn-index {
                            type uint32;
                            description
                              "Default orig vpn indexto find bitfield for a nbr
    af";
                          }
    
                          leaf neighbor-default-originate {
                            type boolean;
                            description
                              "Neighbor originates default";
                          }
    
                          leaf is-orf-sent {
                            type boolean;
                            description
                              "Outbound route filter sent to neighbor";
                          }
    
                          leaf is-update-deferred {
                            type boolean;
                            description
                              "Update deferred until ORF/route refresh received";
                          }
    
                          leaf is-orf-send-scheduled {
                            type boolean;
                            description
                              "Scheduled to send prefix based ORF";
                          }
    
                          leaf update-group-number {
                            type uint32;
                            description
                              "Update group index";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "BGP neighbor address-familyfilter group index";
                          }
    
                          leaf is-update-throttled {
                            type boolean;
                            description
                              "Updates Throttled becausewrite limit is reached";
                          }
    
                          leaf is-update-leaving {
                            type boolean;
                            description
                              "Nbr leaving update-groupto another";
                          }
    
                          leaf vpn-update-gen-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf vpn-update-gen-trigger-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf is-addpath-send-operational {
                            type boolean;
                            description
                              "Addpath is operational on send-side";
                          }
    
                          leaf is-addpath-receive-operational {
                            type boolean;
                            description
                              "Addpath is operational on receive-side";
                          }
    
                          leaf neighbor-version {
                            type uint32;
                            description
                              "BGP neighbor version for theaddress-family";
                          }
    
                          leaf weight {
                            type uint32;
                            description
                              "Weight for this AF";
                          }
    
                          leaf max-prefix-limit {
                            type uint32;
                            description
                              "Max limit for # of prefixes";
                          }
    
                          leaf use-max-prefix-warning-only {
                            type boolean;
                            description
                              "Warning only when maximum prefix limit reached";
                          }
    
                          leaf max-prefix-discard-extra-paths {
                            type boolean;
                            description
                              "Discard extra paths when prefix limit reached";
                          }
    
                          leaf max-prefix-exceed-discard-paths {
                            type boolean;
                            description
                              "Did we discard extra paths when prefix limit
    reached";
                          }
    
                          leaf max-prefix-threshold-percent {
                            type uint8;
                            units "percentage";
                            description
                              "Percentage of maximum no. of prefixes at which
    to generate warning";
                          }
    
                          leaf max-prefix-discard-paths-count {
                            type uint32;
                            description
                              "Number of discarded paths after prefix limit
    reached";
                          }
    
                          leaf max-prefix-restart-time {
                            type uint16;
                            units "minute";
                            description
                              "Time interval (in minutes) after which peering
    session will be reestablished";
                          }
    
                          leaf prefixes-accepted {
                            type uint32;
                            description
                              "Number of prefixes acceptedfrom this BGP
    neighbor";
                          }
    
                          leaf prefixes-synced {
                            type uint32;
                            description
                              "Number of prefixes synced to standby";
                          }
    
                          leaf prefixes-withdrawn-not-found {
                            type uint32;
                            description
                              "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                          }
    
                          leaf prefixes-denied {
                            type uint32;
                            description
                              "Number of prefixes denied forthis BGP neighbor";
                          }
    
                          leaf prefixes-denied-no-policy {
                            type uint32;
                            description
                              "No. of prefixes denied because there was no
    inbound policy";
                          }
    
                          leaf prefixes-denied-rt-permit {
                            type uint32;
                            description
                              "No. of prefixes denied because RT extended
    community is not imported";
                          }
    
                          leaf prefixes-denied-orf-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by prefix based ORF
    policy";
                          }
    
                          leaf prefixes-denied-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by inbound policy";
                          }
    
                          leaf number-of-bestpaths {
                            type uint32;
                            description
                              "No. of bestpaths from this neighbor";
                          }
    
                          leaf number-of-best-externalpaths {
                            type uint32;
                            description
                              "No. of best-external paths from this neighbor";
                          }
    
                          leaf prefixes-advertised {
                            type uint32;
                            description
                              "Number of prefixes advertisedfor this BGP
    neighbor";
                          }
    
                          leaf prefixes-be-advertised {
                            type uint32;
                            description
                              "Number of BE prefixes advertised";
                          }
    
                          leaf prefixes-suppressed {
                            type uint32;
                            description
                              "Number of prefixes suppressed";
                          }
    
                          leaf prefixes-withdrawn {
                            type uint32;
                            description
                              "Number of prefixes withdrawn";
                          }
    
                          leaf is-peer-orf-capable {
                            type boolean;
                            description
                              "Peer has outbound route filter capability";
                          }
    
                          leaf is-advertised-orf-send {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability advertised";
                          }
    
                          leaf is-received-orf-send-capable {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability received";
                          }
    
                          leaf is-advertised-orf-receive {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    advertised";
                          }
    
                          leaf is-received-orf-receive-capable {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    received";
                          }
    
                          leaf is-advertised-graceful-restart {
                            type boolean;
                            description
                              "Graceful Restart Capability advertised";
                          }
    
                          leaf is-graceful-restart-state-flag {
                            type boolean;
                            description
                              "Restart state flag enabled";
                          }
    
                          leaf is-received-graceful-restart-capable {
                            type boolean;
                            description
                              "Graceful Restart Capability received";
                          }
    
                          leaf is-add-path-send-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                          }
    
                          leaf is-add-path-send-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability
    received from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-received {
                            type boolean;
                            description
                              "Flag to indicate addpath receive capability
    received from BGPneighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-received {
                            type boolean;
                            description
                              "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-sent {
                            type boolean;
                            description
                              "Extended nexhop encoding capability Sent";
                          }
    
                          leaf restart-time {
                            type uint32;
                            units "second";
                            description
                              "Restart time advertised (seconds)";
                          }
    
                          leaf local-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Local Restart time (seconds)";
                          }
    
                          leaf stale-path-timeout {
                            type uint32;
                            units "second";
                            description
                              "Stale path timeout time (in seconds)";
                          }
    
                          leaf rib-purge-timeout-value {
                            type uint32;
                            units "second";
                            description
                              "RIB purge timeout time (in seconds)";
                          }
    
                          leaf neighbor-preserved-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate neighbor preserved in
    forwarding state";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-configured {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-sent {
                            type uint32;
                            units "second";
                            description
                              "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-accept {
                            type uint32;
                            units "second";
                            description
                              "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-capability-received {
                            type boolean;
                            description
                              "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-received {
                            type uint32;
                            units "second";
                            description
                              "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                          }
    
                          leaf neighbor-preserved-long-lived-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-capable {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-time-remaining {
                            type uint32;
                            description
                              "Remaining long-lived graceful-restart time";
                          }
    
                          leaf route-refreshes-received {
                            type uint32;
                            description
                              "Number of route refresh requests received";
                          }
    
                          leaf route-refreshes-sent {
                            type uint32;
                            description
                              "Number of route refresh requests sent";
                          }
    
                          leaf refresh-target-version {
                            type uint32;
                            description
                              "Target version for refresh update generation";
                          }
    
                          leaf refresh-version {
                            type uint32;
                            description
                              "Version till which refresh updates have been
    generated";
                          }
    
                          leaf refresh-acked-version {
                            type uint32;
                            description
                              "Version acked by the peer for refresh updates
    sent";
                          }
    
                          leaf is-prefix-orf-present {
                            type boolean;
                            description
                              "Outbound route filter prefix ORF present";
                          }
    
                          leaf orf-entries-received {
                            type uint32;
                            description
                              "Number of outbound route filter entries received";
                          }
    
                          leaf is-default-originate-sent {
                            type boolean;
                            description
                              "Default origination update sent";
                          }
    
                          leaf route-policy-prefix-orf {
                            type string;
                            description
                              "Prefix based ORF for incoming updates";
                          }
    
                          leaf route-policy-in {
                            type string;
                            description
                              "Incoming route policy name";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outgoing route policy name";
                          }
    
                          leaf route-policy-default-originate {
                            type string;
                            description
                              "Default-originate route policy name";
                          }
    
                          leaf is-neighbor-ebgp-without-inbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured inbound policy";
                          }
    
                          leaf is-neighbor-ebgp-without-outbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured outbound policy";
                          }
    
                          leaf is-upd-orig-loopchk-disable-set {
                            type boolean;
                            description
                              "Flag to indicate if update out originator
    loopcheck is disabled";
                          }
    
                          leaf is-as-override-set {
                            type boolean;
                            description
                              "Flag to indicate as override set for BGP
    neighbor";
                          }
    
                          leaf is-allow-as-in-set {
                            type boolean;
                            description
                              "Allowas-in set ";
                          }
    
                          leaf allow-as-in-count {
                            type uint32;
                            description
                              "Allowas-in count config";
                          }
    
                          leaf address-family-long-lived-time {
                            type uint32;
                            description
                              "AF specific Long-lived-time config";
                          }
    
                          leaf eo-r-received-in-read-only {
                            type boolean;
                            description
                              "An EoR was received while in read-only mode";
                          }
    
                          leaf acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo";
                          }
    
                          leaf synced-acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf outstanding-version {
                            type uint32;
                            description
                              "No. of all outstanding version objects waiting
    for ack from the peer";
                          }
    
                          leaf outstanding-refresh-version {
                            type uint32;
                            description
                              "No. of only refresh version objects waiting for
    ack from the peer";
                          }
    
                          leaf outstanding-version-max {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf is-aigp-set {
                            type boolean;
                            description
                              "AIGP set ";
                          }
    
                          leaf is-rt-present {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf is-rt-present-standby {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf accept-own-enabled {
                            type boolean;
                            description
                              "Flag to indicate if Accept-Own is enabled";
                          }
    
                          leaf selective-multipath-eligible {
                            type boolean;
                            description
                              "Flag to indicate if selective multipath is
    eligible";
                          }
    
                          leaf afrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf afrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf afrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf afrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf is-advertise-permanent-network {
                            type boolean;
                            description
                              "Flag to indicate if advertise is permanent
    network";
                          }
    
                          leaf is-send-mcast-attr {
                            type boolean;
                            description
                              "Send Mcast Attr";
                          }
    
                          leaf import-stitching {
                            type boolean;
                            description
                              "Import Stitching enabled";
                          }
    
                          leaf import-reoriginate {
                            type boolean;
                            description
                              "Import Reoriginate enabled";
                          }
    
                          leaf import-reoriginate-stitching {
                            type boolean;
                            description
                              "Import Reoriginate Stitching enabled";
                          }
    
                          leaf advertise-v4-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV4";
                          }
    
                          leaf advertise-v6-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV6";
                          }
    
                          leaf advertise-local-labeled-route-unicast {
                            type boolean;
                            description
                              "Advertise routes with ";
                          }
    
                          leaf prefixes-denied-non-cumulative {
                            type uint32;
                            description
                              "No. of prefixes exactly denied (non cumulative)";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Flag to indicate if label stack is enabled";
                          }
    
                          leaf ot-prov-track-enable {
                            type boolean;
                            description
                              "OT Provider Tracking enabled";
                          }
    
                          leaf ot-prov-track-state {
                            type Bgp-track-state;
                            description
                              "OT Provider Tracking state";
                          }
    
                          leaf ot-prov-track-in-gr-state {
                            type boolean;
                            description
                              "OT Provider Track in GR State";
                          }
    
                          leaf ot-prov-track-eor-tmr-running {
                            type boolean;
                            description
                              "OT Provider Track EOR timer running";
                          }
    
                          leaf slow-peer-flags {
                            type uint8;
                            description
                              "Slow Peer Flags ";
                          }
    
                          leaf slow-peer-static {
                            type boolean;
                            description
                              "Static Slow Peer ";
                          }
    
                          leaf slow-peer-dynamic {
                            type boolean;
                            description
                              "Dynamic Slow Peer";
                          }
    
                          leaf slow-peer-permanent {
                            type boolean;
                            description
                              "Permanent Slow Peer";
                          }
    
                          leaf slow-peer-count {
                            type uint16;
                            description
                              "Slow peer count";
                          }
    
                          list extended-community {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community
    
                          list extended-community-standby {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community-standby
                        }  // list af-data
                      }  // list neighbor
                    }  // container neighbor-missing-eor-table
    
                    container process-info {
                      description
                        "A Process instance table entry";
                      container global {
                        description
                          "Global information";
                        leaf process-instance-node {
                          type string;
                          description
                            "Node the process instance is on";
                        }
    
                        leaf restart-count {
                          type uint32;
                          description
                            "No. of times BGP has started";
                        }
    
                        leaf path-attributes-entry-count {
                          type uint32;
                          description
                            "No. of path attribute entries";
                        }
    
                        leaf path-attribute-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (bytes) used by path attribute entries";
                        }
    
                        leaf as-path-entry-count {
                          type uint32;
                          description
                            "Number of AS-path entries";
                        }
    
                        leaf as-path-entries-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by AS-path entries";
                        }
    
                        leaf community-entry-count {
                          type uint32;
                          description
                            "Number of community entries";
                        }
    
                        leaf community-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by community entries";
                        }
    
                        leaf extended-community-entry-count {
                          type uint32;
                          description
                            "Number of extended community entries";
                        }
    
                        leaf extended-community-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by extended community
    entries";
                        }
    
                        leaf pe-distinguisher-label-entry-count {
                          type uint32;
                          description
                            "Number of PE distinguisher label entries";
                        }
    
                        leaf pe-distinguisher-label-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by PE distinguisher
    labels entries";
                        }
    
                        leaf pta-entry-count {
                          type uint32;
                          description
                            "Number of PTA entries";
                        }
    
                        leaf pta-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by PTA entries";
                        }
    
                        leaf tunnel-encap-entry-count {
                          type uint32;
                          description
                            "Number of Tunnel encap entries";
                        }
    
                        leaf tunnel-encap-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by tunnel encap entries";
                        }
    
                        leaf ribrnh-entry-count {
                          type uint32;
                          description
                            "Number of RIBRNH entries";
                        }
    
                        leaf ribrnh-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by RIBRNH entries";
                        }
    
                        leaf ppmp-entry-count {
                          type uint32;
                          description
                            "Number of PPMP entries";
                        }
    
                        leaf ppmp-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by PPMP entries";
                        }
    
                        leaf route-reflectors {
                          type uint32;
                          description
                            "Number of route reflector info entries";
                        }
    
                        leaf route-reflector-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by route reflector info
    entries";
                        }
    
                        leaf nexthop-count {
                          type uint32;
                          description
                            "Number of nexthop attribute info entries";
                        }
    
                        leaf nexthop-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by nexthop attribute info
    entries";
                        }
    
                        leaf lsattr-entry-count {
                          type uint32;
                          description
                            "Number of LASATTR entries";
                        }
    
                        leaf lsattr-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by LSATTR entries";
                        }
    
                        leaf attr-set-entry-count {
                          type uint32;
                          description
                            "Number of ATTRSET entries";
                        }
    
                        leaf attr-set-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by ATTRSET entries";
                        }
    
                        leaf prefix-sid-label-index-count {
                          type uint32;
                          description
                            "Number of Prefix-SID LabelIndex entries";
                        }
    
                        leaf prefix-sid-label-index-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID LabelIndex
    entries";
                        }
    
                        leaf prefix-sid-orig-srgb-count {
                          type uint32;
                          description
                            "Number of Prefix-SID OrigSRGB entries";
                        }
    
                        leaf prefix-sid-orig-srgb-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID OrigSRGB
    entries";
                        }
    
                        leaf prefix-sid-srv6-layer3-svc-count {
                          type uint32;
                          description
                            "Number of Prefix-SID SRv6L3SVC entries";
                        }
    
                        leaf prefix-sid-srv6-layer3-svc-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID SRv6L3SVC
    entries";
                        }
    
                        leaf prefix-sid-srv6-layer2-svc-count {
                          type uint32;
                          description
                            "Number of Prefix-SID SRv6L2SVC entries";
                        }
    
                        leaf prefix-sid-srv6-layer2-svc-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID SRv6L2SVC
    entries";
                        }
    
                        leaf prefix-sid-unk-tl-vs-count {
                          type uint32;
                          description
                            "Number of Prefix-SID UnkTLVs entries";
                        }
    
                        leaf prefix-sid-unk-tl-vs-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID UnkTLVs
    entries";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local autonomous system number";
                        }
    
                        leaf total-vrf-count {
                          type uint32;
                          description
                            "Total count of VRFs";
                        }
    
                        leaf neighbors-count-total {
                          type uint32;
                          description
                            "Total number of neighbors";
                        }
    
                        leaf established-neighbors-count-total {
                          type uint32;
                          description
                            "Total number of neighbors in established state";
                        }
    
                        leaf sn-num-non-dflt-vrf-nbrs {
                          type uint32;
                          description
                            "Number of neighbors in all non-default VRFs";
                        }
    
                        leaf sn-num-non-dflt-vrf-nbrs-estab {
                          type uint32;
                          description
                            "Number of established neighbors in all
    non-default VRFs";
                        }
    
                        leaf large-community-entry-count {
                          type uint32;
                          description
                            "Number of large community entries";
                        }
    
                        leaf large-community-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by large community
    entries";
                        }
    
                        list pool-size {
                          max-elements 15;
                          description
                            "BGP process maximum pool size";
                          leaf entry {
                            type uint32;
                            description
                              "BGP process maximum pool size";
                          }
                        }  // list pool-size
    
                        list pool-alloc-count {
                          max-elements 15;
                          description
                            "Number of bytes of memory forpool allocation";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memory forpool allocation";
                          }
                        }  // list pool-alloc-count
    
                        list pool-free-count {
                          max-elements 15;
                          description
                            "Number of bytes of memory freedin pool";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memory freedin pool";
                          }
                        }  // list pool-free-count
    
                        list msg-log-pool-size {
                          max-elements 5;
                          description
                            "Number of messages present in pool";
                          leaf entry {
                            type uint32;
                            description
                              "Number of messages present in pool";
                          }
                        }  // list msg-log-pool-size
    
                        list msg-log-pool-alloc-count {
                          max-elements 5;
                          description
                            "Number of messages poolallocation memory";
                          leaf entry {
                            type uint32;
                            description
                              "Number of messages poolallocation memory";
                          }
                        }  // list msg-log-pool-alloc-count
    
                        list msg-log-pool-free-count {
                          max-elements 5;
                          description
                            "Number of messages log freedfrom pool";
                          leaf entry {
                            type uint32;
                            description
                              "Number of messages log freedfrom pool";
                          }
                        }  // list msg-log-pool-free-count
    
                        list bmp-pool-size {
                          max-elements 20;
                          description
                            "BGP monitoring protocol (BMP) pool size";
                          leaf entry {
                            type uint32;
                            description
                              "BGP monitoring protocol (BMP) pool size";
                          }
                        }  // list bmp-pool-size
    
                        list bmp-pool-alloc-count {
                          max-elements 20;
                          description
                            "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                          }
                        }  // list bmp-pool-alloc-count
    
                        list bmp-pool-free-count {
                          max-elements 20;
                          description
                            "Number of bytes of memory freedfrom pool";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memory freedfrom pool";
                          }
                        }  // list bmp-pool-free-count
                      }  // container global
    
                      container vrf {
                        description
                          "VRF information";
                        leaf neighbors-count {
                          type uint32;
                          description
                            "Number of neighbors";
                        }
    
                        leaf established-neighbors-count {
                          type uint32;
                          description
                            "Number of established neighbors";
                        }
    
                        leaf update-messages-received {
                          type uint32;
                          description
                            "Count of BGP update messages received";
                        }
    
                        leaf update-messages-sent {
                          type uint32;
                          description
                            "Count of BGP update messages sent";
                        }
    
                        leaf notifications-received {
                          type uint32;
                          description
                            "Number of BGP notifications received";
                        }
    
                        leaf notifications-sent {
                          type uint32;
                          description
                            "Number of BGP notifications sent";
                        }
    
                        leaf network-count {
                          type uint32;
                          description
                            "Number of networks";
                        }
    
                        leaf path-count {
                          type uint32;
                          description
                            "Number of paths";
                        }
                      }  // container vrf
    
                      container performance-statistics {
                        description
                          "BGP process informationperformance statistics";
                        container global {
                          description
                            "Global information";
                          container ipv4rib-server {
                            description
                              "IPv4 RIB server global info";
                            container first-rib-connection-up-timestamp {
                              description
                                "First RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-up-timestamp
    
                            container last-rib-connection-up-timestamp {
                              description
                                "Last RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-up-timestamp
    
                            container first-rib-connection-down-timestamp {
                              description
                                "First RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-down-timestamp
    
                            container last-rib-connection-down-timestamp {
                              description
                                "Last RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-down-timestamp
    
                            leaf is-rib-connection-up {
                              type boolean;
                              description
                                "Is RIB Connection Up?";
                            }
    
                            leaf rib-connection-up-count {
                              type uint32;
                              description
                                "Number of RIB connection Up events";
                            }
    
                            leaf last-rib-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Up event (in
    seconds)";
                            }
    
                            leaf rib-connection-down-count {
                              type uint32;
                              description
                                "Number of RIB connection Down events";
                            }
    
                            leaf last-rib-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Down event (in
    seconds)";
                            }
                          }  // container ipv4rib-server
    
                          container ipv6rib-server {
                            description
                              "IPv6 RIB server global info";
                            container first-rib-connection-up-timestamp {
                              description
                                "First RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-up-timestamp
    
                            container last-rib-connection-up-timestamp {
                              description
                                "Last RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-up-timestamp
    
                            container first-rib-connection-down-timestamp {
                              description
                                "First RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-down-timestamp
    
                            container last-rib-connection-down-timestamp {
                              description
                                "Last RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-down-timestamp
    
                            leaf is-rib-connection-up {
                              type boolean;
                              description
                                "Is RIB Connection Up?";
                            }
    
                            leaf rib-connection-up-count {
                              type uint32;
                              description
                                "Number of RIB connection Up events";
                            }
    
                            leaf last-rib-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Up event (in
    seconds)";
                            }
    
                            leaf rib-connection-down-count {
                              type uint32;
                              description
                                "Number of RIB connection Down events";
                            }
    
                            leaf last-rib-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Down event (in
    seconds)";
                            }
                          }  // container ipv6rib-server
    
                          container te-connection {
                            description
                              "MPLS TE server connection info";
                            container first-connection-up-timestamp {
                              description
                                "Timestamp for first connection up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-up-timestamp
    
                            container last-connection-up-timestamp {
                              description
                                "Timestamp for last connection Up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-up-timestamp
    
                            container first-connection-down-timestamp {
                              description
                                "Timestamp for first connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-down-timestamp
    
                            container last-connection-down-timestamp {
                              description
                                "Timestamp for last connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-down-timestamp
    
                            leaf is-connection-up {
                              type boolean;
                              description
                                "Is Connection Up?";
                            }
    
                            leaf connection-up-count {
                              type uint32;
                              description
                                "Number of connection Up events";
                            }
    
                            leaf last-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Up event (in seconds)";
                            }
    
                            leaf connection-down-count {
                              type uint32;
                              description
                                "Number of connection down events";
                            }
    
                            leaf last-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Down event (in
    seconds)";
                            }
                          }  // container te-connection
    
                          container lsd-connection {
                            description
                              "MPLS LSD server connection info";
                            container first-connection-up-timestamp {
                              description
                                "Timestamp for first connection up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-up-timestamp
    
                            container last-connection-up-timestamp {
                              description
                                "Timestamp for last connection Up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-up-timestamp
    
                            container first-connection-down-timestamp {
                              description
                                "Timestamp for first connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-down-timestamp
    
                            container last-connection-down-timestamp {
                              description
                                "Timestamp for last connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-down-timestamp
    
                            leaf is-connection-up {
                              type boolean;
                              description
                                "Is Connection Up?";
                            }
    
                            leaf connection-up-count {
                              type uint32;
                              description
                                "Number of connection Up events";
                            }
    
                            leaf last-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Up event (in seconds)";
                            }
    
                            leaf connection-down-count {
                              type uint32;
                              description
                                "Number of connection down events";
                            }
    
                            leaf last-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Down event (in
    seconds)";
                            }
                          }  // container lsd-connection
    
                          container ds-npl {
                            description
                              "NSR related DS and NPL information";
                            leaf dir-service-conn-state {
                              type Bgp-ds-conn-state;
                              description
                                "Current Directory Service connectionstate";
                            }
    
                            leaf issu-mgr-conn-state {
                              type Bgp-ism-conn-state;
                              description
                                "Current ISSU Mgr connection state";
                            }
    
                            leaf issu-phase {
                              type string;
                              description
                                "Current ISSU Phase";
                            }
    
                            leaf issu-type-ng {
                              type boolean;
                              description
                                "ISSU type is Next Gen";
                            }
    
                            leaf issuha-option {
                              type string;
                              description
                                "Current ISSU HA option";
                            }
    
                            leaf local-ds-handle {
                              type uint64;
                              description
                                "Local Directory Service handle";
                            }
    
                            leaf service-name {
                              type string;
                              description
                                "Local DS service name";
                            }
    
                            leaf dsissu-status-flag {
                              type uint32;
                              description
                                "DS ISSU status flag";
                            }
    
                            list npl-priority-statistic {
                              max-elements 2;
                              description
                                "Stats for BGP NPL priority";
                              leaf prio-queue-level {
                                type string {
                                  length "0..32";
                                }
                                description
                                  "npl priority queue level";
                              }
    
                              list num-sent {
                                max-elements 5;
                                description
                                  "Total sent";
                                leaf entry {
                                  type uint64;
                                  description
                                    "Total sent";
                                }
                              }  // list num-sent
    
                              list num-recv {
                                max-elements 6;
                                description
                                  "Total recvd";
                                leaf entry {
                                  type uint64;
                                  description
                                    "Total recvd";
                                }
                              }  // list num-recv
    
                              list num-sent-drop {
                                max-elements 5;
                                description
                                  "Sent Error/drops";
                                list nsr-pl-send-drop-array {
                                  max-elements
                                    7;
                                  description
                                    "nsr pl send drop array";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "entry";
                                  }
                                }  // list nsr-pl-send-drop-array
                              }  // list num-sent-drop
    
                              list num-recv-drop {
                                max-elements 6;
                                description
                                  "Recv Errors/drops";
                                list nsr-pl-recv-drop-array {
                                  max-elements
                                    16;
                                  description
                                    "nsr pl recv drop array";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "entry";
                                  }
                                }  // list nsr-pl-recv-drop-array
                              }  // list num-recv-drop
                            }  // list npl-priority-statistic
    
                            list npl-endpoint {
                              description
                                "NPL endpoint information";
                              leaf endpoint-name {
                                type string;
                                description
                                  "BGP NPL endpoint name";
                              }
    
                              leaf sync-group-name {
                                type string;
                                description
                                  "Syncgroup associated with this endpoint";
                              }
    
                              leaf node-id {
                                type xr:Node-id;
                                description
                                  "Node ID";
                              }
    
                              leaf endpoint-handle {
                                type uint64;
                                description
                                  "Handle to end-point for NCD communication";
                              }
    
                              leaf endpoint-stale-flag {
                                type boolean;
                                description
                                  "Flag to indicate if endpoint is stale";
                              }
    
                              leaf endpoint-issu-role {
                                type string;
                                description
                                  "Endpoint's ISSU Role. Values are 'Primary',
    'Secondary' and 'Tertiary'";
                              }
    
                              leaf endpoint-active-flag {
                                type boolean;
                                description
                                  "Flag to indicate if endpoint is active";
                              }
    
                              leaf msg-size {
                                type uint32;
                                description
                                  "Message size for this entity";
                              }
    
                              leaf wheel-id {
                                type uint32;
                                description
                                  "Wheel ID for this endpoint";
                              }
    
                              leaf expected-sequence-num {
                                type uint32;
                                description
                                  "BGP NPL sequence number expected";
                              }
    
                              leaf last-sent-sequence-num {
                                type uint32;
                                description
                                  "Last sent Sequence Num";
                              }
    
                              leaf npl-initial-sequence-num {
                                type uint32;
                                description
                                  "NPL Initial Sequence Num";
                              }
    
                              list endpoint {
                                description
                                  "NCD endpoint bytestream";
                                leaf entry {
                                  type uint8;
                                  units "byte";
                                  description
                                    "NCD endpoint bytestream";
                                }
                              }  // list endpoint
                            }  // list npl-endpoint
                          }  // container ds-npl
    
                          leaf configuration-items-processed {
                            type uint32;
                            description
                              "Number of config items processed";
                          }
    
                          leaf configuration-processing-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing config (milliseconds)";
                          }
    
                          leaf edm-requests-count {
                            type uint32;
                            description
                              "Number of EDM requests processed";
                          }
    
                          leaf edm-processing-time {
                            type uint32;
                            description
                              "Time spent processing EDM requests (ms)";
                          }
    
                          leaf brib-api-output-messages-sent {
                            type uint32;
                            description
                              "bRIB API output messages sent";
                          }
    
                          leaf brib-api-output-bytes-sent {
                            type uint32;
                            units "byte";
                            description
                              "bRIB API output bytes sent";
                          }
    
                          leaf brib-api-output-bytes-generated {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes generated to be sent by the BGP
    RIB API";
                          }
    
                          leaf brib-api-output-prefixes-advertised {
                            type uint32;
                            description
                              "Number of prefix advertise messagesto be sent by
    the bRIB API";
                          }
    
                          leaf brib-api-output-prefixes-withdrawn {
                            type uint32;
                            description
                              "Number of prefix withdraw messagesto be sent by
    the bRIB API";
                          }
    
                          leaf brib-api-output-sending-time {
                            type uint32;
                            description
                              "Time spent sending output to bRIB API (ms)";
                          }
    
                          leaf brib-api-output-generation-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent generating output for bRIB API
    (milliseconds)";
                          }
    
                          leaf brib-api-output-calls {
                            type uint32;
                            description
                              "bRIB API calls to generate output";
                          }
    
                          leaf brib-api-input-messages {
                            type uint32;
                            description
                              "bRIB API input messages";
                          }
    
                          leaf brib-api-input-bytes {
                            type uint32;
                            units "byte";
                            description
                              "bRIB API input bytes";
                          }
    
                          leaf brib-api-input-prefixes-received {
                            type uint32;
                            description
                              "bRIB API input advertised prefixes received";
                          }
    
                          leaf brib-api-input-withdrawn-prefixes {
                            type uint32;
                            description
                              "bRIB API input withdrawn prefixes received";
                          }
    
                          leaf brib-api-input-processing-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing input from bRIB API
    (milliseconds)";
                          }
    
                          leaf instance-node-role {
                            type boolean;
                            description
                              "Node role - active/passive";
                          }
    
                          leaf active-nsrtcp-phase-two-enter-time {
                            type uint32;
                            units "second";
                            description
                              "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                          }
    
                          leaf sec-active-nsrtcp-phase-two-enter-time {
                            type uint32;
                            units "second";
                            description
                              "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                          }
    
                          leaf proc-scoped-sync-state {
                            type Bgp-scoped-sync-state;
                            description
                              "Synchronized state of BGP process";
                          }
    
                          leaf initial-sync-sessions-added {
                            type boolean;
                            description
                              "If true, BGP has at least one established
    session when NSR initial synchronization is
    started";
                          }
    
                          leaf in-event-attach-calls {
                            type uint32;
                            description
                              "event_file_attach  calls for input";
                          }
    
                          leaf out-event-attach-calls {
                            type uint32;
                            description
                              "event_file_attach  calls for output";
                          }
    
                          leaf in-out-event-attach-calls {
                            type uint32;
                            description
                              "event_file_attach calls for input";
                          }
    
                          leaf updgen-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if update generation master
    timer is running";
                          }
    
                          leaf updgen-tree-timer-left {
                            type uint64;
                            description
                              "Time left before the QNX timer would expire";
                          }
    
                          leaf updgen-tree-timer-expiry {
                            type uint64;
                            description
                              "Time as per tree->mtexptime";
                          }
    
                          leaf current-clock-time {
                            type uint64;
                            description
                              "Current time";
                          }
    
                          leaf updgen-handler-tm {
                            type uint64;
                            description
                              "Timestamp when updgen timer handler got called";
                          }
    
                          leaf io-timer-running {
                            type boolean;
                            description
                              "IO master timer Running";
                          }
    
                          leaf io-tree-timer-left {
                            type uint64;
                            description
                              "Time left before the QNX timer would expire";
                          }
    
                          leaf io-tree-timer-expiry {
                            type uint64;
                            description
                              "Time as per tree->mtexptime";
                          }
    
                          leaf io-handler-tm {
                            type uint64;
                            description
                              "Timestamp when IO timer handler got called";
                          }
    
                          leaf qad-messages-sent {
                            type uint32;
                            description
                              "Messages sent on QAD ";
                          }
    
                          leaf qadack-sent {
                            type uint32;
                            description
                              "Acks sent on QAD ";
                          }
    
                          leaf qad-send-failure {
                            type uint32;
                            description
                              "Send failure on QAD ";
                          }
    
                          leaf qad-ac-ks-failure {
                            type uint32;
                            description
                              "Ack failure on QAD ";
                          }
    
                          leaf qad-suspends {
                            type uint32;
                            description
                              "QAD send suspend";
                          }
    
                          leaf qad-resumes {
                            type uint32;
                            description
                              "QAD send resume ";
                          }
    
                          leaf qad-send-drops {
                            type uint32;
                            description
                              "Send packets dropped due to null peer ";
                          }
    
                          leaf qad-messages-received {
                            type uint32;
                            description
                              "Messages received on QAD ";
                          }
    
                          leaf qad-processed {
                            type uint32;
                            description
                              "Messages processed";
                          }
    
                          leaf qad-ac-ks-received {
                            type uint32;
                            description
                              "Acks received on QAD ";
                          }
    
                          leaf qad-timeout-received {
                            type uint32;
                            description
                              "Timeouts received on QAD ";
                          }
    
                          leaf qad-init-drops {
                            type uint32;
                            description
                              "Packets dropped on standby during initialization";
                          }
    
                          leaf qadoos-drops {
                            type uint32;
                            description
                              "Packets dropped due to  out of sequence
    packetreceived";
                          }
    
                          leaf qad-recv-drops {
                            type uint32;
                            description
                              "Received packet dropped due to null peer ";
                          }
    
                          leaf qad-timeout-recvd {
                            type uint32;
                            description
                              "Number of packet send timeouts ";
                          }
    
                          leaf nsr-last-reset-reason {
                            type uint8;
                            description
                              "Reason for last nsr state  machine reset";
                          }
    
                          leaf redcon-nsr-ready {
                            type boolean;
                            description
                              "NSR state conveyed to Redcon  by bgp - nsr
    ready/unready";
                          }
    
                          leaf redcon-state-time {
                            type uint32;
                            description
                              "Time when nsr state wasconveyed to Redcon last";
                          }
    
                          leaf active-nsr-state {
                            type uint32;
                            description
                              "Current Active BGP nsrstate";
                          }
    
                          leaf sec-active-nsr-state {
                            type uint32;
                            description
                              "Current Sec Active BGP nsrstate";
                          }
    
                          leaf total-outstanding-postits {
                            type uint32;
                            description
                              "Total outstanding postits across all neighbors";
                          }
    
                          leaf total-neighbors-with-pending-postits {
                            type uint32;
                            description
                              "Count of neighbors with postits pending";
                          }
    
                          leaf tep2p-auto-tunnel-enabled {
                            type boolean;
                            description
                              "TE support for P2P auto tunnel";
                          }
    
                          list active-nsr-mode-enter-time {
                            max-elements 26;
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            leaf entry {
                              type uint32;
                              units "second";
                              description
                                "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            }
                          }  // list active-nsr-mode-enter-time
    
                          list standby-nsr-mode-enter-time {
                            max-elements 7;
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            leaf entry {
                              type uint32;
                              units "second";
                              description
                                "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            }
                          }  // list standby-nsr-mode-enter-time
    
                          list active-nsrfo-time {
                            max-elements 10;
                            description
                              "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                            leaf entry {
                              type uint32;
                              units "second";
                              description
                                "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                            }
                          }  // list active-nsrfo-time
    
                          list postit-count-info {
                            description
                              "List of neighbors and their postit counts";
                            container neighbor-address {
                              description
                                "IP address of the neighbor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf postit-count {
                              type uint32;
                              description
                                "Count of the number of postits for this nbr";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list postit-count-info
    
                          list issu-milestone {
                            description
                              "ISSU Milestones";
                            leaf milestone-name {
                              type string;
                              description
                                "Name of the in-service software upgrade (ISSU)
    milestone";
                            }
    
                            leaf milestone-start-timestamp {
                              type uint32;
                              description
                                "Timestamp for the ISSU milestone start";
                            }
    
                            leaf milestone-met-timestamp {
                              type uint32;
                              description
                                "Timestamp when ISSU milestone met";
                            }
                          }  // list issu-milestone
                        }  // container global
    
                        container vrf {
                          description
                            "VRF information";
                          leaf lpts-set-up-time {
                            type uint32;
                            description
                              "Time spent setting up LPTS socket opt (ms)";
                          }
    
                          leaf lpts-calls {
                            type uint32;
                            description
                              "Number of times LPTS socket opt set up";
                          }
    
                          leaf read-throttles-count {
                            type uint32;
                            description
                              "Number of partial read throttles";
                          }
    
                          leaf low-throttled-read-count {
                            type uint32;
                            description
                              "Number of socket reads for nbrs above low
    threshold";
                          }
    
                          leaf high-throttled-read-count {
                            type uint32;
                            description
                              "Number of socket reads for nbrs above high
    threshold";
                          }
    
                          leaf read-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to read inbound data";
                          }
    
                          leaf read-messages-count {
                            type uint32;
                            description
                              "Number of BGP messages read";
                          }
    
                          leaf data-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "No. of bytes of data read";
                          }
    
                          leaf io-read-time {
                            type uint32;
                            description
                              "Time spent reading inbound data (ms)";
                          }
    
                          leaf write-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to write outbound data";
                          }
    
                          leaf data-bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of data written";
                          }
    
                          leaf io-write-time {
                            type uint32;
                            description
                              "Time spent writing outbound data (ms)";
                          }
    
                          leaf write-subgroup-calls-count {
                            type uint32;
                            description
                              "No. of calls to to funvction to process
    sub-group message list";
                          }
    
                          leaf write-subgroup-messages-count {
                            type uint32;
                            description
                              "Number of sub-group messages processed";
                          }
    
                          leaf subgroup-list-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sub-group message list
    (milliseconds)";
                          }
    
                          leaf write-queue-calls-count {
                            type uint32;
                            description
                              "No. of Calls to function to process write queue";
                          }
    
                          leaf write-queue-messages-count {
                            type uint32;
                            description
                              "Number of write queue messages processed";
                          }
    
                          leaf write-queue-time {
                            type uint32;
                            description
                              "Time spent processing write queue (ms)";
                          }
    
                          leaf inbound-update-messages {
                            type uint32;
                            description
                              "Number of inbound update messages processed";
                          }
    
                          leaf inbound-update-messages-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing imbound update messages
    (milliseconds)";
                          }
                        }  // container vrf
                      }  // container performance-statistics
    
                      leaf process-instance {
                        type uint8;
                        description
                          "ID for the BGP process instance";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf vrf-totals {
                        type boolean;
                        description
                          "per VRF counts aggregated across all VRFs";
                      }
                    }  // container process-info
    
                    container sessions {
                      description
                        "The BGP session table";
                      list session {
                        key "neighbor-address";
                        description
                          "A BGP session table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP neighbor brief description";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf messages-queued-in {
                          type uint32;
                          description
                            "No. of msgs on receive queue";
                        }
    
                        leaf messages-queued-out {
                          type uint32;
                          description
                            "No. of messages on send queue";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        leaf postit-pending {
                          type boolean;
                          description
                            "Nbr has postits pending";
                        }
    
                        leaf connection-established-time {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) that the connection has been
    established";
                        }
                      }  // list session
                    }  // container sessions
    
                    container neighbors {
                      description
                        "The BGP Neighbor table";
                      list neighbor {
                        key "neighbor-address";
                        description
                          "A BGP Neighbor table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        container send-notification-info {
                          description
                            "Information on the last notification sent";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container send-notification-info
    
                        container received-notification-info {
                          description
                            "Information on the last notification received";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container received-notification-info
    
                        container performance-statistics {
                          description
                            "BGP neighbor performance statistics";
                          leaf read-throttles {
                            type uint32;
                            description
                              "Number of partial read throttles";
                          }
    
                          leaf low-throttled-read {
                            type uint32;
                            description
                              "Num socket reads after nbrs crossed low
    threshold";
                          }
    
                          leaf high-throttled-read {
                            type uint32;
                            description
                              "Num of socket reads after nbr crossed high
    threshold";
                          }
    
                          leaf time-since-last-throttled-read {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read after being
    throttled";
                          }
    
                          leaf read-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to read inbound data";
                          }
    
                          leaf read-messages-count {
                            type uint32;
                            description
                              "Number of BGP messages read";
                          }
    
                          leaf data-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "No. of bytes of data read";
                          }
    
                          leaf io-read-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent reading inbound data (milliseconds)";
                          }
    
                          leaf write-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to write outbound data";
                          }
    
                          leaf data-bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes that havesent to peers";
                          }
    
                          leaf io-write-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent writing outbound data (milliseconds)";
                          }
    
                          leaf last-sent-seq-no {
                            type uint32;
                            description
                              "Seq No of the last sent byte";
                          }
    
                          leaf write-subgroup-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process sub-group
    message list";
                          }
    
                          leaf write-subgroup-messages-count {
                            type uint32;
                            description
                              "Number of sub-group msgs processed";
                          }
    
                          leaf subgroup-list-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sub-group message list
    (milliseconds)";
                          }
    
                          leaf write-queue-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process write queue";
                          }
    
                          leaf write-queue-messages-count {
                            type uint32;
                            description
                              "Number of write queue messages processed";
                          }
    
                          leaf write-queue-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing write queue (milliseconds)";
                          }
    
                          leaf inbound-update-messages {
                            type uint32;
                            description
                              "Number of inbound update messages processed";
                          }
    
                          leaf inbound-update-messages-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing inbound update messages
    (milliseconds)";
                          }
    
                          leaf maximum-read-size {
                            type uint32;
                            units "millisecond";
                            description
                              "Size of largest socket (milliseconds)";
                          }
    
                          leaf actives {
                            type uint32;
                            description
                              "Number of retried Active opens for this neighbor";
                          }
    
                          leaf failed-post-actives {
                            type uint32;
                            description
                              "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                          }
    
                          leaf passives {
                            type uint32;
                            description
                              "Number of retried Passive opens for this
    neighbor";
                          }
    
                          leaf rejected-passives {
                            type uint32;
                            description
                              "Number of rejected Passive opens for this
    neighbor";
                          }
    
                          leaf active-collision {
                            type uint32;
                            description
                              "Number of Closed Active connections for this
    neighbor due to collision ";
                          }
    
                          leaf passive-collision {
                            type uint32;
                            description
                              "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                          }
    
                          leaf control-to-read-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger read
    thread";
                          }
    
                          leaf control-to-write-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger write
    thread";
                          }
    
                          leaf network-status {
                            type uint32;
                            description
                              "Socket status, TRUE if socket closed";
                          }
    
                          leaf reset-flags {
                            type uint32;
                            description
                              "Reset flags, per thread";
                          }
    
                          leaf nbr-flags {
                            type uint32;
                            description
                              "Nbr flags, per thread";
                          }
    
                          leaf nbr-fd {
                            type int32;
                            description
                              "Primary FD, per nbr";
                          }
    
                          leaf reset-retries {
                            type uint8;
                            description
                              "Reset Retries, per nbr";
                          }
    
                          leaf sync-flags {
                            type uint32;
                            description
                              "Sync flags, per nbr";
                          }
    
                          leaf nsr-oper-down-count {
                            type uint32;
                            description
                              "Number of times NSR scoped sync has been done";
                          }
    
                          leaf last-nsr-scoped-sync {
                            type uint32;
                            description
                              "Last time NSR scoped syncwas done for the
    neighbor";
                          }
                        }  // container performance-statistics
    
                        container message-statistics {
                          description
                            "BGP neighbor message statistics";
                          container open {
                            description "Open";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container open
    
                          container notification {
                            description
                              "BGP neighbor messagestatistics notification";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container notification
    
                          container update {
                            description
                              "BGP neighbor message statisticsupdate";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container update
    
                          container keepalive {
                            description
                              "Message sent between BGP neighborsto check the
    link between is operating";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container keepalive
    
                          container route-refresh {
                            description
                              "BGP neighbor message statisticsroute refresh";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container route-refresh
    
                          container total {
                            description "Total";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container total
                        }  // container message-statistics
    
                        container tcp-init-sync-time-spec {
                          description
                            "Time When neighbor entered TCP Init Sync";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-time-spec
    
                        container tcp-init-sync-phase-two-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Phase
    Two";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-phase-two-time-spec
    
                        container tcp-init-sync-done-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Done";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-done-time-spec
    
                        container graceful-maintenance {
                          description
                            "Globally activated BGp neighborfor graceful
    shutdown";
                          leaf gshut-exists {
                            type boolean;
                            description
                              "Graceful Maintenance enabled";
                          }
    
                          leaf gshut-local-active {
                            type boolean;
                            description
                              "Graceful Maintenance locally activated";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "Graceful Maintenance Local Preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "Graceful Maintenance Local Preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "Graceful Maintenance number of AS prepends";
                          }
    
                          leaf gshut-interface-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Interface";
                          }
    
                          leaf gshut-location-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Location";
                          }
                        }  // container graceful-maintenance
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP neighbor description";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf has-internal-link {
                          type boolean;
                          description
                            "Internal link to neighbor";
                        }
    
                        leaf is-external-neighbor-not-directly-connected {
                          type boolean;
                          description
                            "Flag to indicate neighbor is external and not
    directly connected";
                        }
    
                        leaf messages-received {
                          type uint32;
                          description
                            "Number of messages received";
                        }
    
                        leaf messages-sent {
                          type uint32;
                          description
                            "Number of messages sent";
                        }
    
                        leaf update-messages-in {
                          type uint32;
                          description
                            "No. of update msgs received";
                        }
    
                        leaf update-messages-out {
                          type uint32;
                          description
                            "No. of update messages sent";
                        }
    
                        leaf messages-queued-in {
                          type uint32;
                          description
                            "No. of msgs on receive queue";
                        }
    
                        leaf messages-queued-out {
                          type uint32;
                          description
                            "No. of messages on send queue";
                        }
    
                        leaf connection-established-time {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) that the connection has been
    established";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
    
                        leaf previous-connection-state {
                          type uint32;
                          description
                            "Previous state of connection";
                        }
    
                        leaf connection-admin-status {
                          type uint32;
                          description
                            "Administrative status of connection";
                        }
    
                        leaf open-check-error-code {
                          type Bgp-open-check-err;
                          description
                            "Error code for open check failure forBGP
    neighbor";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf connection-local-port {
                          type uint32;
                          description
                            "Local port for the connection";
                        }
    
                        leaf connection-remote-port {
                          type uint32;
                          description
                            "Remote port for the connection";
                        }
    
                        leaf neighbor-interface-handle {
                          type uint32;
                          description
                            "Interface Handle of Neighbor";
                        }
    
                        leaf reset-notification-sent {
                          type boolean;
                          description
                            "Notification was sent during last reset";
                        }
    
                        leaf is-administratively-shut-down {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor is
    administratively shut down";
                        }
    
                        leaf is-neighbor-max-prefix-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down because it exceeded max prfx
    count";
                        }
    
                        leaf is-out-of-memory-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down during a SEVERE low memory
    condition";
                        }
    
                        leaf is-out-of-memory-forced-up {
                          type boolean;
                          description
                            "Neighbor forced up during a low memory condition";
                        }
    
                        leaf is-ebgp-peer-as-league {
                          type boolean;
                          description
                            "EBGP peer belongs to AS League";
                        }
    
                        leaf is-ebgp-peer-common-admin {
                          type boolean;
                          description
                            "EBGP peer with common administation";
                        }
    
                        leaf ttl-security-enabled {
                          type boolean;
                          description
                            "TTL Security enabled";
                        }
    
                        leaf suppress4-byte-as {
                          type boolean;
                          description
                            "Suppress 4byteas capability";
                        }
    
                        leaf bfd-session-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-created-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-enable-mode {
                          type Bgp-bfd-enable-mode;
                          description
                            "BFD enable mode for this peer";
                        }
    
                        leaf bfd-minintervalval {
                          type uint32;
                          description
                            "BFD Mininterval for this peer";
                        }
    
                        leaf bfd-multiplierval {
                          type uint32;
                          description
                            "BFD Multiplier for this peer";
                        }
    
                        leaf bfd-state-ts {
                          type uint64;
                          description
                            "Timestamp since when nbr is in this bfd state";
                        }
    
                        leaf router-id {
                          type inet:ipv4-address;
                          description
                            "Router ID for the neighbor";
                        }
    
                        leaf negotiated-protocol-version {
                          type uint16;
                          description
                            "Negotiated protocol version with the BGP
    neighbor";
                        }
    
                        leaf ebgp-time-to-live {
                          type uint32;
                          description
                            "Maximum number of hops for external BGP neighbor";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf tcpmss {
                          type uint32;
                          description
                            "Neighbor TCP Maximum Segment
    size";
                        }
    
                        leaf msg-log-in {
                          type uint32;
                          description
                            "Message in log count";
                        }
    
                        leaf msg-log-out {
                          type uint32;
                          description
                            "Message out log count";
                        }
    
                        leaf neighbor-local-as {
                          type uint32;
                          description
                            "Local AS configured on the neighbor";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Option to not prepend the Local AS to
    announcements";
                        }
    
                        leaf is-capability-negotiation-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                        }
    
                        leaf is-capability-negotiation-performed {
                          type boolean;
                          description
                            "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                        }
    
                        leaf is-route-refresh-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh was received";
                        }
    
                        leaf is-route-refresh-old-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                        }
    
                        leaf is-gr-aware {
                          type boolean;
                          description
                            "GR awareness received";
                        }
    
                        leaf is4-byte-as-capability-received {
                          type boolean;
                          description
                            "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                        }
    
                        leaf is4-byte-as-capability-sent {
                          type boolean;
                          description
                            "4-byte AScapability Snt";
                        }
    
                        leaf multi-protocol-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if multi-protocol capability
    has been received";
                        }
    
                        leaf hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) negotiated for this
    connection";
                        }
    
                        leaf keep-alive-time {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) negotiated for this
    connection";
                        }
    
                        leaf configured-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-keepalive {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-min-acc-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                        }
    
                        leaf min-advertise-interval {
                          type uint32;
                          units "second";
                          description
                            "Minimum advertisement interval, secs part";
                        }
    
                        leaf min-advertise-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement interval, msecs part";
                        }
    
                        leaf min-origination-interval {
                          type uint16;
                          units "second";
                          description
                            "Minimum origination interval (in secs)";
                        }
    
                        leaf connect-retry-interval {
                          type uint16;
                          units "second";
                          description
                            "Time (in secs) for connect retry timer";
                        }
    
                        leaf time-since-last-update {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last update message was
    received";
                        }
    
                        leaf time-since-last-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read";
                        }
    
                        leaf time-since-last-read-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read before last reset";
                        }
    
                        leaf time-last-cb {
                          type uint64;
                          description "CB";
                        }
    
                        leaf time-last-cb-reset {
                          type uint32;
                          description
                            "Last CB before reset";
                        }
    
                        leaf time-last-fb {
                          type uint64;
                          description "FB";
                        }
    
                        leaf count-last-write {
                          type uint32;
                          description "Count";
                        }
    
                        leaf time-since-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write";
                        }
    
                        leaf attempted-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of last write";
                        }
    
                        leaf actual-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of last write";
                        }
    
                        leaf time-since-second-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in seconds) elapsed since the second last
    write event";
                        }
    
                        leaf attempted-second-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write";
                        }
    
                        leaf actual-second-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of second last write";
                        }
    
                        leaf time-since-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of last write before reset";
                        }
    
                        leaf actual-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of last write before reset";
                        }
    
                        leaf time-since-second-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write before reset";
                        }
    
                        leaf actual-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of second last write before reset";
                        }
    
                        leaf last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write thread event";
                        }
    
                        leaf second-last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last write thread
    event";
                        }
    
                        leaf last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last KA timer expiry before
    reset";
                        }
    
                        leaf second-last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last KA timer expiry
    before reset";
                        }
    
                        leaf last-k-anotsent-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that KA was
    not sent before reset";
                        }
    
                        leaf last-k-aerror-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                        }
    
                        leaf last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the last KA timer start
    before reset";
                        }
    
                        leaf second-last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the second last KA timer
    start before reset";
                        }
    
                        leaf connection-up-count {
                          type uint32;
                          description
                            "Number of times the connection was established";
                        }
    
                        leaf connection-down-count {
                          type uint32;
                          description
                            "Number of times connection was dropped";
                        }
    
                        leaf time-since-connection-last-dropped {
                          type uint32;
                          units "second";
                          description
                            "Time since the connection last went down
    (seconds)";
                        }
    
                        leaf reset-reason {
                          type Bgp-reset-reason-index;
                          description
                            "Reason for last connection reset";
                        }
    
                        leaf peer-reset-reason {
                          type Bgp-peer-reset-reason-index;
                          description
                            "Reason for last peer close event";
                        }
    
                        leaf peer-error-code {
                          type uint32;
                          description
                            "If peer closed, error received from transport";
                        }
    
                        leaf last-notify-error-code {
                          type uint8;
                          description
                            "Code for the last error notification seen on the
    connection";
                        }
    
                        leaf last-notify-error-subcode {
                          type uint8;
                          description
                            "Error subcode of the last error notification
    seen on the connection";
                        }
    
                        leaf error-notifies-received {
                          type uint32;
                          description
                            "Number of error notifications received on the
    connection";
                        }
    
                        leaf error-notifies-sent {
                          type uint32;
                          description
                            "Number of error notifications sent on the
    connection";
                        }
    
                        leaf remote-as-number {
                          type uint32;
                          description
                            "Remote AS number of BGP neighbor";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Bandwidth of link to single-hop eBGP peer";
                        }
    
                        leaf ebgp-recv-dmz {
                          type boolean;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Ebgp send dmz link bw mode";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf tcp-session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "The TCP mode to be used to set up BGP session
    with the neighbor";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf standby-rp {
                          type boolean;
                          description
                            "Standby RP socket inited for Active Open";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf graceful-restart-enabled-nbr {
                          type boolean;
                          description
                            "Neighbor supports graceful-restart";
                        }
    
                        leaf gr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor restart time (in seconds)";
                        }
    
                        leaf gr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor stale-path time (in seconds)";
                        }
    
                        leaf fssn-offset {
                          type uint32;
                          description
                            "First standby SeqNo offset";
                        }
    
                        leaf fpbsn-offset {
                          type uint32;
                          description
                            "First standby PDU boundary SeqNo offset";
                        }
    
                        leaf last-ackd-seq-no {
                          type uint32;
                          description
                            "SeqNo of the last Ackd byte";
                        }
    
                        leaf bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes written by write thread";
                        }
    
                        leaf bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes read";
                        }
    
                        leaf socket-read-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Total read bytes value insocket-lib";
                        }
    
                        leaf is-read-disabled {
                          type boolean;
                          description
                            "If true, socket read isdisabled";
                        }
    
                        leaf update-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total number of bytes readcorresponding to
    update messages";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        leaf is-passive-close {
                          type boolean;
                          description
                            "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                        }
    
                        leaf nbr-enforce-first-as {
                          type boolean;
                          description
                            "Neighbor enforce first AS";
                        }
    
                        leaf active-bmp-servers {
                          type uint8;
                          description
                            "BMP Servers to which the neighbor sends logs";
                        }
    
                        leaf nbr-cluster-id {
                          type uint32;
                          description
                            "Cluster id";
                        }
    
                        leaf nbr-in-cluster {
                          type uint8;
                          description
                            "Type of cluster_id:undefined/number/Ip address";
                        }
    
                        leaf ignore-connected {
                          type boolean;
                          description
                            "If true, the VPN client isan IBGP CE peer";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf io-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for io
    control";
                        }
    
                        leaf read-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for read";
                        }
    
                        leaf write-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for write";
                        }
    
                        leaf discard-data-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Remaining discard data (bytes) on Standby";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
    
                        leaf local-as-dual-as-mode-native {
                          type boolean;
                          description
                            "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                        }
    
                        leaf egress-peer-engineering-enabled {
                          type boolean;
                          description
                            "Indicates if Egress Peer Engineering is enabled";
                        }
    
                        leaf discard-as4-path {
                          type uint32;
                          description
                            "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                        }
    
                        leaf rpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf dynamic-neighbor {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                        }
    
                        leaf merge-inbound-safi1and4-updates {
                          type boolean;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf is-capability-enhe-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                        }
    
                        leaf delete-time-remaining {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) remaining for deletion";
                        }
    
                        leaf sn-bfd-discriminator {
                          type uint32;
                          description
                            "Local Discriminator for the associated BFD
    session";
                        }
    
                        list af-data {
                          max-elements 25;
                          description
                            "Address family specific neighbor data";
                          container neighbor-af-performance-statistics {
                            description
                              "Neighbor AF statistics";
                            leaf sub-group-pending-message-count {
                              type uint32;
                              description
                                "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                            }
    
                            leaf processed-messages {
                              type uint32;
                              description
                                "Number of messages processed from the neighbor's
    write queue";
                            }
    
                            leaf sent-messages {
                              type uint32;
                              description
                                "Number of messages sent from the neighbor's
    write queue";
                            }
    
                            leaf split-horizon-update-transmit {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-update-blocked {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were blocked";
                            }
    
                            leaf split-horizon-withdraw-transmit {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-withdraw-blocked {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were blocked";
                            }
                          }  // container neighbor-af-performance-statistics
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-neighbor-route-reflector-client {
                            type boolean;
                            description
                              "Nbr is a route reflector client";
                          }
    
                          leaf is-legacy-pe-rt {
                            type boolean;
                            description
                              "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                          }
    
                          leaf is-neighbor-af-capable {
                            type boolean;
                            description
                              "Address family capability received from neighbor";
                          }
    
                          leaf is-soft-reconfiguration-inbound-allowed {
                            type boolean;
                            description
                              "Inbound soft reconfiguration allowed";
                          }
    
                          leaf is-use-soft-reconfiguration-always-on {
                            type boolean;
                            description
                              "Soft reconf overrides route refresh";
                          }
    
                          leaf remove-private-as-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to this
    nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                          }
    
                          leaf remove-private-as-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                          }
    
                          leaf flowspec-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                          }
    
                          leaf flowspec-redirect-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf advertise-afi {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-reorg {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-disable {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf encapsulation-type {
                            type uint32;
                            description
                              "BGP neighbor address-familyencapsulation type";
                          }
    
                          leaf advertise-rt-type {
                            type uint8;
                            description
                              "BGP neighbor address-familyadvertise route
    target type";
                          }
    
                          leaf advertise-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of default VRF import disable";
                          }
    
                          leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 default VRF import disable";
                          }
    
                          leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 default VRF import disable";
                          }
    
                          leaf advertise-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of VRF re-import disable";
                          }
    
                          leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 VRF re-import disable";
                          }
    
                          leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 VRF re-import disable";
                          }
    
                          leaf advertise-afi-eo-r-ready {
                            type boolean;
                            description
                              "EoR Can be sent for Advertise AFI";
                          }
    
                          leaf always-use-next-hop-local {
                            type boolean;
                            description
                              "Local router always used for next-hop";
                          }
    
                          leaf sent-community-to-neighbor {
                            type boolean;
                            description
                              "Community attribute sent to neighbor";
                          }
    
                          leaf sent-gshut-community-to-neighbor {
                            type boolean;
                            description
                              "GSHUT Community attribute sent to neighbor";
                          }
    
                          leaf sent-extended-community-to-neighbor {
                            type boolean;
                            description
                              "Extended community attribute sent to neighbor";
                          }
    
                          leaf default-originate-vpn-index {
                            type uint32;
                            description
                              "Default orig vpn indexto find bitfield for a nbr
    af";
                          }
    
                          leaf neighbor-default-originate {
                            type boolean;
                            description
                              "Neighbor originates default";
                          }
    
                          leaf is-orf-sent {
                            type boolean;
                            description
                              "Outbound route filter sent to neighbor";
                          }
    
                          leaf is-update-deferred {
                            type boolean;
                            description
                              "Update deferred until ORF/route refresh received";
                          }
    
                          leaf is-orf-send-scheduled {
                            type boolean;
                            description
                              "Scheduled to send prefix based ORF";
                          }
    
                          leaf update-group-number {
                            type uint32;
                            description
                              "Update group index";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "BGP neighbor address-familyfilter group index";
                          }
    
                          leaf is-update-throttled {
                            type boolean;
                            description
                              "Updates Throttled becausewrite limit is reached";
                          }
    
                          leaf is-update-leaving {
                            type boolean;
                            description
                              "Nbr leaving update-groupto another";
                          }
    
                          leaf vpn-update-gen-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf vpn-update-gen-trigger-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf is-addpath-send-operational {
                            type boolean;
                            description
                              "Addpath is operational on send-side";
                          }
    
                          leaf is-addpath-receive-operational {
                            type boolean;
                            description
                              "Addpath is operational on receive-side";
                          }
    
                          leaf neighbor-version {
                            type uint32;
                            description
                              "BGP neighbor version for theaddress-family";
                          }
    
                          leaf weight {
                            type uint32;
                            description
                              "Weight for this AF";
                          }
    
                          leaf max-prefix-limit {
                            type uint32;
                            description
                              "Max limit for # of prefixes";
                          }
    
                          leaf use-max-prefix-warning-only {
                            type boolean;
                            description
                              "Warning only when maximum prefix limit reached";
                          }
    
                          leaf max-prefix-discard-extra-paths {
                            type boolean;
                            description
                              "Discard extra paths when prefix limit reached";
                          }
    
                          leaf max-prefix-exceed-discard-paths {
                            type boolean;
                            description
                              "Did we discard extra paths when prefix limit
    reached";
                          }
    
                          leaf max-prefix-threshold-percent {
                            type uint8;
                            units "percentage";
                            description
                              "Percentage of maximum no. of prefixes at which
    to generate warning";
                          }
    
                          leaf max-prefix-discard-paths-count {
                            type uint32;
                            description
                              "Number of discarded paths after prefix limit
    reached";
                          }
    
                          leaf max-prefix-restart-time {
                            type uint16;
                            units "minute";
                            description
                              "Time interval (in minutes) after which peering
    session will be reestablished";
                          }
    
                          leaf prefixes-accepted {
                            type uint32;
                            description
                              "Number of prefixes acceptedfrom this BGP
    neighbor";
                          }
    
                          leaf prefixes-synced {
                            type uint32;
                            description
                              "Number of prefixes synced to standby";
                          }
    
                          leaf prefixes-withdrawn-not-found {
                            type uint32;
                            description
                              "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                          }
    
                          leaf prefixes-denied {
                            type uint32;
                            description
                              "Number of prefixes denied forthis BGP neighbor";
                          }
    
                          leaf prefixes-denied-no-policy {
                            type uint32;
                            description
                              "No. of prefixes denied because there was no
    inbound policy";
                          }
    
                          leaf prefixes-denied-rt-permit {
                            type uint32;
                            description
                              "No. of prefixes denied because RT extended
    community is not imported";
                          }
    
                          leaf prefixes-denied-orf-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by prefix based ORF
    policy";
                          }
    
                          leaf prefixes-denied-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by inbound policy";
                          }
    
                          leaf number-of-bestpaths {
                            type uint32;
                            description
                              "No. of bestpaths from this neighbor";
                          }
    
                          leaf number-of-best-externalpaths {
                            type uint32;
                            description
                              "No. of best-external paths from this neighbor";
                          }
    
                          leaf prefixes-advertised {
                            type uint32;
                            description
                              "Number of prefixes advertisedfor this BGP
    neighbor";
                          }
    
                          leaf prefixes-be-advertised {
                            type uint32;
                            description
                              "Number of BE prefixes advertised";
                          }
    
                          leaf prefixes-suppressed {
                            type uint32;
                            description
                              "Number of prefixes suppressed";
                          }
    
                          leaf prefixes-withdrawn {
                            type uint32;
                            description
                              "Number of prefixes withdrawn";
                          }
    
                          leaf is-peer-orf-capable {
                            type boolean;
                            description
                              "Peer has outbound route filter capability";
                          }
    
                          leaf is-advertised-orf-send {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability advertised";
                          }
    
                          leaf is-received-orf-send-capable {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability received";
                          }
    
                          leaf is-advertised-orf-receive {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    advertised";
                          }
    
                          leaf is-received-orf-receive-capable {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    received";
                          }
    
                          leaf is-advertised-graceful-restart {
                            type boolean;
                            description
                              "Graceful Restart Capability advertised";
                          }
    
                          leaf is-graceful-restart-state-flag {
                            type boolean;
                            description
                              "Restart state flag enabled";
                          }
    
                          leaf is-received-graceful-restart-capable {
                            type boolean;
                            description
                              "Graceful Restart Capability received";
                          }
    
                          leaf is-add-path-send-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                          }
    
                          leaf is-add-path-send-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability
    received from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-received {
                            type boolean;
                            description
                              "Flag to indicate addpath receive capability
    received from BGPneighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-received {
                            type boolean;
                            description
                              "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-sent {
                            type boolean;
                            description
                              "Extended nexhop encoding capability Sent";
                          }
    
                          leaf restart-time {
                            type uint32;
                            units "second";
                            description
                              "Restart time advertised (seconds)";
                          }
    
                          leaf local-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Local Restart time (seconds)";
                          }
    
                          leaf stale-path-timeout {
                            type uint32;
                            units "second";
                            description
                              "Stale path timeout time (in seconds)";
                          }
    
                          leaf rib-purge-timeout-value {
                            type uint32;
                            units "second";
                            description
                              "RIB purge timeout time (in seconds)";
                          }
    
                          leaf neighbor-preserved-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate neighbor preserved in
    forwarding state";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-configured {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-sent {
                            type uint32;
                            units "second";
                            description
                              "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-accept {
                            type uint32;
                            units "second";
                            description
                              "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-capability-received {
                            type boolean;
                            description
                              "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-received {
                            type uint32;
                            units "second";
                            description
                              "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                          }
    
                          leaf neighbor-preserved-long-lived-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-capable {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-time-remaining {
                            type uint32;
                            description
                              "Remaining long-lived graceful-restart time";
                          }
    
                          leaf route-refreshes-received {
                            type uint32;
                            description
                              "Number of route refresh requests received";
                          }
    
                          leaf route-refreshes-sent {
                            type uint32;
                            description
                              "Number of route refresh requests sent";
                          }
    
                          leaf refresh-target-version {
                            type uint32;
                            description
                              "Target version for refresh update generation";
                          }
    
                          leaf refresh-version {
                            type uint32;
                            description
                              "Version till which refresh updates have been
    generated";
                          }
    
                          leaf refresh-acked-version {
                            type uint32;
                            description
                              "Version acked by the peer for refresh updates
    sent";
                          }
    
                          leaf is-prefix-orf-present {
                            type boolean;
                            description
                              "Outbound route filter prefix ORF present";
                          }
    
                          leaf orf-entries-received {
                            type uint32;
                            description
                              "Number of outbound route filter entries received";
                          }
    
                          leaf is-default-originate-sent {
                            type boolean;
                            description
                              "Default origination update sent";
                          }
    
                          leaf route-policy-prefix-orf {
                            type string;
                            description
                              "Prefix based ORF for incoming updates";
                          }
    
                          leaf route-policy-in {
                            type string;
                            description
                              "Incoming route policy name";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outgoing route policy name";
                          }
    
                          leaf route-policy-default-originate {
                            type string;
                            description
                              "Default-originate route policy name";
                          }
    
                          leaf is-neighbor-ebgp-without-inbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured inbound policy";
                          }
    
                          leaf is-neighbor-ebgp-without-outbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured outbound policy";
                          }
    
                          leaf is-upd-orig-loopchk-disable-set {
                            type boolean;
                            description
                              "Flag to indicate if update out originator
    loopcheck is disabled";
                          }
    
                          leaf is-as-override-set {
                            type boolean;
                            description
                              "Flag to indicate as override set for BGP
    neighbor";
                          }
    
                          leaf is-allow-as-in-set {
                            type boolean;
                            description
                              "Allowas-in set ";
                          }
    
                          leaf allow-as-in-count {
                            type uint32;
                            description
                              "Allowas-in count config";
                          }
    
                          leaf address-family-long-lived-time {
                            type uint32;
                            description
                              "AF specific Long-lived-time config";
                          }
    
                          leaf eo-r-received-in-read-only {
                            type boolean;
                            description
                              "An EoR was received while in read-only mode";
                          }
    
                          leaf acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo";
                          }
    
                          leaf synced-acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf outstanding-version {
                            type uint32;
                            description
                              "No. of all outstanding version objects waiting
    for ack from the peer";
                          }
    
                          leaf outstanding-refresh-version {
                            type uint32;
                            description
                              "No. of only refresh version objects waiting for
    ack from the peer";
                          }
    
                          leaf outstanding-version-max {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf is-aigp-set {
                            type boolean;
                            description
                              "AIGP set ";
                          }
    
                          leaf is-rt-present {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf is-rt-present-standby {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf accept-own-enabled {
                            type boolean;
                            description
                              "Flag to indicate if Accept-Own is enabled";
                          }
    
                          leaf selective-multipath-eligible {
                            type boolean;
                            description
                              "Flag to indicate if selective multipath is
    eligible";
                          }
    
                          leaf afrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf afrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf afrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf afrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf is-advertise-permanent-network {
                            type boolean;
                            description
                              "Flag to indicate if advertise is permanent
    network";
                          }
    
                          leaf is-send-mcast-attr {
                            type boolean;
                            description
                              "Send Mcast Attr";
                          }
    
                          leaf import-stitching {
                            type boolean;
                            description
                              "Import Stitching enabled";
                          }
    
                          leaf import-reoriginate {
                            type boolean;
                            description
                              "Import Reoriginate enabled";
                          }
    
                          leaf import-reoriginate-stitching {
                            type boolean;
                            description
                              "Import Reoriginate Stitching enabled";
                          }
    
                          leaf advertise-v4-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV4";
                          }
    
                          leaf advertise-v6-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV6";
                          }
    
                          leaf advertise-local-labeled-route-unicast {
                            type boolean;
                            description
                              "Advertise routes with ";
                          }
    
                          leaf prefixes-denied-non-cumulative {
                            type uint32;
                            description
                              "No. of prefixes exactly denied (non cumulative)";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Flag to indicate if label stack is enabled";
                          }
    
                          leaf ot-prov-track-enable {
                            type boolean;
                            description
                              "OT Provider Tracking enabled";
                          }
    
                          leaf ot-prov-track-state {
                            type Bgp-track-state;
                            description
                              "OT Provider Tracking state";
                          }
    
                          leaf ot-prov-track-in-gr-state {
                            type boolean;
                            description
                              "OT Provider Track in GR State";
                          }
    
                          leaf ot-prov-track-eor-tmr-running {
                            type boolean;
                            description
                              "OT Provider Track EOR timer running";
                          }
    
                          leaf slow-peer-flags {
                            type uint8;
                            description
                              "Slow Peer Flags ";
                          }
    
                          leaf slow-peer-static {
                            type boolean;
                            description
                              "Static Slow Peer ";
                          }
    
                          leaf slow-peer-dynamic {
                            type boolean;
                            description
                              "Dynamic Slow Peer";
                          }
    
                          leaf slow-peer-permanent {
                            type boolean;
                            description
                              "Permanent Slow Peer";
                          }
    
                          leaf slow-peer-count {
                            type uint16;
                            description
                              "Slow peer count";
                          }
    
                          list extended-community {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community
    
                          list extended-community-standby {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community-standby
                        }  // list af-data
                      }  // list neighbor
                    }  // container neighbors
    
                    container next-hop-vrf {
                      description
                        "A BGP Next-hop VRF table entry";
                      leaf total-processing-time {
                        type uint32;
                        description
                          "Total time spent in processing";
                      }
    
                      leaf max-proc-notification-time {
                        type uint32;
                        description
                          "How long since the maximum processing time
    notifcation was received";
                      }
    
                      leaf max-notification-bestpath-deletes {
                        type uint32;
                        description
                          "Number of bestpath deletes caused by
    notification which resulted in maximum
    processing";
                      }
    
                      leaf max-notification-bestpath-changes {
                        type uint32;
                        description
                          "Number of bestpath changes caused by
    notification which resulted in maximum
    processing";
                      }
    
                      leaf maximum-processing-time {
                        type uint32;
                        description
                          "Maximum time spent procesing a single batch
    notification";
                      }
    
                      leaf last-notificationication-time {
                        type uint32;
                        description
                          "Time since the last notification was received";
                      }
    
                      leaf last-notification-processing-time {
                        type uint32;
                        description
                          "Processing time for the last notification";
                      }
                    }  // container next-hop-vrf
    
                    container neighbor-ranges {
                      description
                        "The BGP Dynamic Neighbor Range table";
                      list neighbor-range {
                        key "neighbor-range-address";
                        description
                          "A BGP Neighbor Range table entry";
                        leaf neighbor-range-address {
                          type inet:ip-prefix;
                          description
                            "Neighbor Range prefix";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        container graceful-maintenance {
                          description
                            "BGP connection of graceful shutdown";
                          leaf gshut-exists {
                            type boolean;
                            description
                              "Graceful Maintenance enabled";
                          }
    
                          leaf gshut-local-active {
                            type boolean;
                            description
                              "Graceful Maintenance locally activated";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "Graceful Maintenance Local Preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "Graceful Maintenance Local Preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "Graceful Maintenance number of AS prepends";
                          }
    
                          leaf gshut-interface-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Interface";
                          }
    
                          leaf gshut-location-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Location";
                          }
                        }  // container graceful-maintenance
    
                        container cfg-local-address {
                          description
                            "Configured local address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container cfg-local-address
    
                        container local-address-subnet {
                          description
                            "Subnet for the BGP local address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container local-address-subnet
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Description of the BGP neighbor";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf has-internal-link {
                          type boolean;
                          description
                            "Internal link to neighbor";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf neighbor-range-prefix-length {
                          type uint8;
                          description
                            "Length of the BGP neighbor prefix";
                        }
    
                        leaf is-administratively-shut-down {
                          type boolean;
                          description
                            "Flag to indicate if neighbor is administratively
    shutdown";
                        }
    
                        leaf is-neighbor-max-prefix-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down because it exceeded max prfx
    count";
                        }
    
                        leaf is-out-of-memory-forced-up {
                          type boolean;
                          description
                            "Neighbor forced up during a low memory condition";
                        }
    
                        leaf ttl-security-enabled {
                          type boolean;
                          description
                            "TTL Security enabled";
                        }
    
                        leaf suppress4-byte-as {
                          type boolean;
                          description
                            "Suppress 4byteas capability";
                        }
    
                        leaf bfd-session-enable-mode {
                          type Bgp-bfd-enable-mode;
                          description
                            "BFD enable mode for this peer";
                        }
    
                        leaf bfd-minintervalval {
                          type uint32;
                          description
                            "BFD Mininterval for this peer";
                        }
    
                        leaf bfd-multiplierval {
                          type uint32;
                          description
                            "BFD Multiplier for this peer";
                        }
    
                        leaf ebgp-time-to-live {
                          type uint32;
                          description
                            "Maximum number of hops for external BGP neighbor";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf tcpmss {
                          type uint32;
                          description
                            "Neighbor TCP Maximum Segment
    size";
                        }
    
                        leaf msg-log-in {
                          type uint32;
                          description
                            "Message in log count";
                        }
    
                        leaf msg-log-out {
                          type uint32;
                          description
                            "Message out log count";
                        }
    
                        leaf neighbor-local-as {
                          type uint32;
                          description
                            "Local AS configured on the neighbor";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Option to not prepend the Local AS to
    announcements";
                        }
    
                        leaf merge-inbound-safi1and4-updates {
                          type boolean;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf is-capability-negotiation-performed {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor capability
    negotiation is performed";
                        }
    
                        leaf configured-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-keepalive {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-min-acc-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                        }
    
                        leaf min-advertise-interval {
                          type uint32;
                          units "second";
                          description
                            "Minimum advertisement interval, secs part";
                        }
    
                        leaf min-advertise-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement interval, msecs part";
                        }
    
                        leaf min-origination-interval {
                          type uint16;
                          units "second";
                          description
                            "Minimum origination interval (in secs)";
                        }
    
                        leaf remote-as-number {
                          type uint32;
                          description
                            "AS number of the neighbor";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Bandwidth of link to single-hop eBGP peer";
                        }
    
                        leaf ebgp-recv-dmz {
                          type boolean;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Ebgp send dmz link bw mode";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf tcp-session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "The TCP mode to be used to set up BGP session
    with the neighbor";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf standby-rp {
                          type boolean;
                          description
                            "Standby RP socket inited for Active Open";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf graceful-restart-enabled-nbr {
                          type boolean;
                          description
                            "Neighbor supports graceful-restart";
                        }
    
                        leaf gr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor restart time (in seconds)";
                        }
    
                        leaf gr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor stale-path time (in seconds)";
                        }
    
                        leaf is-passive-close {
                          type boolean;
                          description
                            "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                        }
    
                        leaf nbr-enforce-first-as {
                          type boolean;
                          description
                            "Neighbor enforce first AS";
                        }
    
                        leaf active-bmp-servers {
                          type uint8;
                          description
                            "BMP Servers to which the neighbor sends logs";
                        }
    
                        leaf nbr-cluster-id {
                          type uint32;
                          description
                            "Cluster id";
                        }
    
                        leaf nbr-in-cluster {
                          type uint8;
                          description
                            "Type of cluster_id:undefined/number/Ip address";
                        }
    
                        leaf ignore-connected {
                          type boolean;
                          description
                            "If true, the VPN client isan IBGP CE peer";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
    
                        leaf local-as-dual-as-mode-native {
                          type boolean;
                          description
                            "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                        }
    
                        leaf egress-peer-engineering-enabled {
                          type boolean;
                          description
                            "Indicates if Egress Peer Engineering is enabled";
                        }
    
                        leaf discard-as4-path {
                          type uint32;
                          description
                            "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                        }
    
                        leaf rpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf remote-as-list-name {
                          type string;
                          description
                            "Remote AS List Name";
                        }
    
                        leaf nbr-rcv-size {
                          type uint32;
                          description
                            "Nbr Receive Size";
                        }
    
                        leaf nbr-send-size {
                          type uint32;
                          description
                            "Nbr Send Size";
                        }
    
                        leaf islocal-address-cfg {
                          type boolean;
                          description
                            "Local address configured";
                        }
    
                        leaf update-source {
                          type string;
                          description
                            "Interface to get the local IP address for the
    BGP session";
                        }
    
                        leaf is-local-addr-subnet-cfg {
                          type boolean;
                          description
                            "Flag to indicate if local-address-subnet is
    configured";
                        }
    
                        leaf local-address-subnet-len {
                          type uint32;
                          description
                            "Length of subnet for BGP local address";
                        }
    
                        leaf addpath-send-enable {
                          type boolean;
                          description
                            "Flag to indicate if addpath send functionality
    is enabled";
                        }
    
                        leaf addpath-receive-enable {
                          type boolean;
                          description
                            "Flag to indicate if addpath receive
    functionality is enabled";
                        }
    
                        leaf addpath-send-disable {
                          type boolean;
                          description
                            "Flag to indicate addpath send functionality is
    disabled";
                        }
    
                        leaf addpath-receive-disable {
                          type boolean;
                          description
                            "Flag indicates if addpath receive functionality
    is disabled";
                        }
    
                        leaf upd-errh-noreset {
                          type boolean;
                          description
                            "Update error handling configuration for C1
    category errors";
                        }
    
                        leaf msg-buf-count {
                          type uint32;
                          description
                            "Message Buf Count";
                        }
    
                        leaf msg-bug-circular {
                          type boolean;
                          description
                            "Message Buf Circular";
                        }
    
                        leaf syslog-enable {
                          type boolean;
                          description
                            "Flag to indicate if syslog should be output when
    an attribute filter is executed";
                        }
    
                        leaf oper-attrf-enable {
                          type boolean;
                          description
                            "Flag to indicate if operational attribute filter
    is enabled";
                        }
    
                        leaf attrf-group-name {
                          type string;
                          description
                            "Name of the attribute filter group Name";
                        }
    
                        leaf max-peers {
                          type uint32;
                          description
                            "Max Dynamic nbrs in range";
                        }
    
                        leaf idle-watch-time {
                          type uint32;
                          units "second";
                          description
                            "Dynamic Neighbor idle-watch time (in seconds)";
                        }
    
                        leaf current-peers {
                          type uint32;
                          description
                            "Current Dynamic nbrs in range";
                        }
    
                        leaf range-open-match {
                          type uint32;
                          description
                            "Passive open matching range";
                        }
    
                        leaf range-open-accepted {
                          type uint32;
                          description
                            "BGP neighbor passive session accepted";
                        }
    
                        leaf range-max-drop {
                          type uint32;
                          description
                            "open drop due to max peers";
                        }
    
                        leaf range-inst-error {
                          type uint32;
                          description
                            "Error during instance creation";
                        }
    
                        list af-data {
                          max-elements 25;
                          description
                            "Address family specific neighbor data";
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-neighbor-route-reflector-client {
                            type boolean;
                            description
                              "Nbr is a route reflector client";
                          }
    
                          leaf is-legacy-pe-rt {
                            type boolean;
                            description
                              "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                          }
    
                          leaf is-neighbor-af-capable {
                            type boolean;
                            description
                              "Address family capability received from neighbor";
                          }
    
                          leaf is-soft-reconfiguration-inbound-allowed {
                            type boolean;
                            description
                              "Inbound soft reconfiguration allowed";
                          }
    
                          leaf is-use-soft-reconfiguration-always-on {
                            type boolean;
                            description
                              "Soft reconf overrides route refresh";
                          }
    
                          leaf remove-private-as-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to this
    nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                          }
    
                          leaf remove-private-as-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                          }
    
                          leaf flowspec-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec validation is
    disabled";
                          }
    
                          leaf flowspec-redirect-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec redirect validation
    is disabled";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf advertise-afi {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-reorg {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-local {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-disable {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf always-use-next-hop-local {
                            type boolean;
                            description
                              "Local router always used for next-hop";
                          }
    
                          leaf next-hop-unchanged {
                            type boolean;
                            description
                              "router does not change next-hop";
                          }
    
                          leaf sent-community-to-neighbor {
                            type boolean;
                            description
                              "Community attribute sent to neighbor";
                          }
    
                          leaf sent-gshut-community-to-neighbor {
                            type boolean;
                            description
                              "GSHUT Community attribute sent to neighbor";
                          }
    
                          leaf sent-extended-community-to-neighbor {
                            type boolean;
                            description
                              "Extended community attribute sent to neighbor";
                          }
    
                          leaf neighbor-default-originate {
                            type boolean;
                            description
                              "Neighbor originates default";
                          }
    
                          leaf is-orf-sent {
                            type boolean;
                            description
                              "Outbound route filter sent to neighbor";
                          }
    
                          leaf is-update-deferred {
                            type boolean;
                            description
                              "Update deferred until ORF/route refresh received";
                          }
    
                          leaf is-orf-send-scheduled {
                            type boolean;
                            description
                              "Scheduled to send prefix based ORF";
                          }
    
                          leaf vpn-update-gen-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf vpn-update-gen-trigger-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf is-addpath-send-operational {
                            type boolean;
                            description
                              "Addpath is operational on send-side";
                          }
    
                          leaf is-addpath-receive-operational {
                            type boolean;
                            description
                              "Addpath is operational on receive-side";
                          }
    
                          leaf weight {
                            type uint32;
                            description
                              "Weight for this AF";
                          }
    
                          leaf max-prefix-limit {
                            type uint32;
                            description
                              "Max limit for # of prefixes";
                          }
    
                          leaf use-max-prefix-warning-only {
                            type boolean;
                            description
                              "Warning only when maximum prefix limit reached";
                          }
    
                          leaf max-prefix-discard-extra-paths {
                            type boolean;
                            description
                              "Discard extra paths when prefix limit reached";
                          }
    
                          leaf max-prefix-exceed-discard-paths {
                            type boolean;
                            description
                              "Did we discard extra paths when prefix limit
    reached";
                          }
    
                          leaf max-prefix-threshold-percent {
                            type uint8;
                            units "percentage";
                            description
                              "Percentage of maximum no. of prefixes at which
    to generate warning";
                          }
    
                          leaf max-prefix-discard-paths-count {
                            type uint32;
                            description
                              "Number of discarded paths after prefix limit
    reached";
                          }
    
                          leaf max-prefix-restart-time {
                            type uint16;
                            units "minute";
                            description
                              "Time interval (in minutes) after which peering
    session will be reestablished";
                          }
    
                          leaf is-peer-orf-capable {
                            type boolean;
                            description
                              "Peer has outbound route filter capability";
                          }
    
                          leaf is-advertised-orf-send {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability advertised";
                          }
    
                          leaf is-received-orf-send-capable {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability received";
                          }
    
                          leaf is-advertised-orf-receive {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    advertised";
                          }
    
                          leaf is-received-orf-receive-capable {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    received";
                          }
    
                          leaf is-advertised-graceful-restart {
                            type boolean;
                            description
                              "Graceful Restart Capability advertised";
                          }
    
                          leaf is-graceful-restart-state-flag {
                            type boolean;
                            description
                              "Restart state flag enabled";
                          }
    
                          leaf is-received-graceful-restart-capable {
                            type boolean;
                            description
                              "Graceful Restart Capability received";
                          }
    
                          leaf is-add-path-send-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability is
    advertised";
                          }
    
                          leaf is-add-path-send-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability is
    received";
                          }
    
                          leaf is-add-path-receive-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate whetheraddpath receive
    capabilityadvertised";
                          }
    
                          leaf is-add-path-receive-capability-received {
                            type boolean;
                            description
                              "Flag to indicate whether addpathreceive
    capability received";
                          }
    
                          leaf restart-time {
                            type uint32;
                            units "second";
                            description
                              "Restart time advertised (seconds)";
                          }
    
                          leaf local-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Local Restart time (seconds)";
                          }
    
                          leaf stale-path-timeout {
                            type uint32;
                            units "second";
                            description
                              "Stale path timeout time (in seconds)";
                          }
    
                          leaf rib-purge-timeout-value {
                            type uint32;
                            units "second";
                            description
                              "RIB purge timeout time (in seconds)";
                          }
    
                          leaf neighbor-preserved-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor is preserved in
    forwarding state";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-configured {
                            type boolean;
                            description
                              "Flag to indicate whether long-lived
    graceful-restart stale time is configured";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-sent {
                            type uint32;
                            units "second";
                            description
                              "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-accept {
                            type uint32;
                            units "second";
                            description
                              "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-capability-received {
                            type boolean;
                            description
                              "Flag to indicate whether long-livedgraceful
    restart capability received from the neighbor";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-received {
                            type uint32;
                            units "second";
                            description
                              "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                          }
    
                          leaf neighbor-preserved-long-lived-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate whether neighbor preserved
    long-lived forwarding state";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-capable {
                            type boolean;
                            description
                              "Flag to indicate whether treat neighbor as
    long-lived graceful-restart capable";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-time-remaining {
                            type uint32;
                            description
                              "Remaining long-lived graceful-restart time";
                          }
    
                          leaf is-prefix-orf-present {
                            type boolean;
                            description
                              "Outbound route filter prefix ORF present";
                          }
    
                          leaf orf-entries-received {
                            type uint32;
                            description
                              "Number of outbound route filter entries received";
                          }
    
                          leaf route-policy-prefix-orf {
                            type string;
                            description
                              "Prefix based ORF for incoming updates";
                          }
    
                          leaf route-policy-in {
                            type string;
                            description
                              "Incoming route policy name";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outgoing route policy name";
                          }
    
                          leaf route-policy-default-originate {
                            type string;
                            description
                              "Default-originate route policy name";
                          }
    
                          leaf is-neighbor-ebgp-without-inbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured inbound policy";
                          }
    
                          leaf is-neighbor-ebgp-without-outbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured outbound policy";
                          }
    
                          leaf is-upd-orig-loopchk-disable-set {
                            type boolean;
                            description
                              "Flag to indicate for update out originator
    loopcheck disable is set";
                          }
    
                          leaf is-as-override-set {
                            type boolean;
                            description
                              "Flag to indicate if As-override is set";
                          }
    
                          leaf is-allow-as-in-set {
                            type boolean;
                            description
                              "Allowas-in set ";
                          }
    
                          leaf allow-as-in-count {
                            type uint32;
                            description
                              "Allowas-in count config";
                          }
    
                          leaf address-family-long-lived-time {
                            type uint32;
                            description
                              "AF specific Long-lived-time config";
                          }
    
                          leaf is-aigp-set {
                            type boolean;
                            description
                              "AIGP set ";
                          }
    
                          leaf is-rt-present {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf is-rt-present-standby {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf accept-own-enabled {
                            type boolean;
                            description
                              "Flag to indicate if accept-Own is enabled";
                          }
    
                          leaf selective-multipath-eligible {
                            type boolean;
                            description
                              "Flag to indicate if selective multipath is
    eligible";
                          }
    
                          leaf afrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf afrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf afrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf afrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf is-advertise-permanent-network {
                            type boolean;
                            description
                              "Flag to indicate if advertise permanent network
    is enabled";
                          }
    
                          leaf is-send-mcast-attr {
                            type boolean;
                            description
                              "Send Mcast Attr";
                          }
    
                          leaf import-stitching {
                            type boolean;
                            description
                              "Import Stitching enabled";
                          }
    
                          leaf import-reoriginate {
                            type boolean;
                            description
                              "Import Reoriginate enabled";
                          }
    
                          leaf import-reoriginate-stitching {
                            type boolean;
                            description
                              "Import Reoriginate Stitching enabled";
                          }
    
                          leaf advertise-v4-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV4";
                          }
    
                          leaf advertise-v6-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV6";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Flag to indicate if label stack is enabled";
                          }
    
                          list extended-community {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community
    
                          list extended-community-standby {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community-standby
                        }  // list af-data
    
                        list instance {
                          description
                            "Dynamic Neighbor Instance List";
                          container neighbor-address {
                            description
                              "Dynamic Neighbor address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          container neighbor-age {
                            description
                              "Age of the BGP neighbor";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container neighbor-age
    
                          container idle-watch-timer-remaining-value {
                            description
                              "Remaining time in idle watch timer";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container idle-watch-timer-remaining-value
    
                          leaf is-idle-watch-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if idle watch timer is running";
                          }
    
                          leaf connection-state {
                            type Bgp-conn-state;
                            description
                              "State of connection";
                          }
                        }  // list instance
                      }  // list neighbor-range
                    }  // container neighbor-ranges
    
                    container message-logs {
                      description
                        "The BGP Neighbor Message table";
                      list message-log {
                        description
                          "A BGP Message log entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        leaf direction {
                          type uint32 {
                            range "0..1";
                          }
                          description
                            "Message log Direction";
                        }
    
                        list neighbor-message {
                          description
                            "Array of Neighbor Messages in one direction";
                          container message-timestamp {
                            description
                              "message received time: time elapsed since 00:00
    :00 UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container message-timestamp
    
                          leaf message-type-received {
                            type uint8;
                            description
                              "Type of messages Received";
                          }
    
                          leaf total-logged-message-count {
                            type uint32;
                            description
                              "Number of total logged messages";
                          }
    
                          leaf message-data-length {
                            type uint16;
                            description
                              "Length of the BGP message";
                          }
    
                          list logged-message-data {
                            description
                              "Raw Message data in binary format";
                            leaf entry {
                              type uint8;
                              description
                                "Raw Message data in binary format";
                            }
                          }  // list logged-message-data
                        }  // list neighbor-message
                      }  // list message-log
                    }  // container message-logs
                  }  // list vrf
                }  // container vrfs
    
                container default-vrf {
                  description
                    "Default VRF related operational data";
                  container update-inbound-error-vrf {
                    description
                      "Update inbound error information for the VRF";
                    container last-update-malformed-timestamp {
                      description
                        "Last malformed messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-malformed-timestamp
    
                    leaf update-vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf update-malformed-message-count {
                      type uint32;
                      description
                        "BGP virtual routing & forwarding  malformed
    messages count";
                    }
    
                    leaf update-malformed-neighbor-count {
                      type uint32;
                      description
                        "Count of neighbors that received malformed
    messages";
                    }
    
                    leaf last-update-malformed-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last malformed messages received
    event (in seconds)";
                    }
                  }  // container update-inbound-error-vrf
    
                  container afs {
                    description
                      "BGP address family table";
                    list af {
                      key "af-name";
                      description
                        "A particular address family";
                      container rpki-refresh-af-table {
                        description
                          "RPKI Refresh Table (per AF)";
                        container rpki-refresh-af {
                          description
                            "RPKI Refresh List";
                          list refresh-entry {
                            description
                              "Array of refresh entries";
                            leaf af-name {
                              type Bgp-rpki-af;
                              description
                                "Address Family";
                            }
    
                            leaf neighbor {
                              type string;
                              description
                                "BGP neighbor";
                            }
    
                            leaf policy {
                              type string;
                              description
                                "Route Policy";
                            }
    
                            leaf paths {
                              type uint32;
                              description
                                "Number of BGP paths modified or dropped";
                            }
    
                            leaf drop {
                              type boolean;
                              description
                                "BGP paths were dropped";
                            }
                          }  // list refresh-entry
                        }  // container rpki-refresh-af
                      }  // container rpki-refresh-af-table
    
                      container remote-nh-table {
                        description
                          "A BGP Remote Nexthop table entry";
                        leaf lrnh-table {
                          type uint32;
                          description
                            "RNH Table ID";
                        }
    
                        list local-rnh-entry {
                          max-elements 2;
                          description
                            "Local RNH Entries";
                          container local-rnhesi {
                            description
                              "Local RNH ESI";
                            leaf esi {
                              type yang:hex-string;
                              description "esi";
                            }
                          }  // container local-rnhesi
    
                          leaf lrnh-present {
                            type boolean;
                            description
                              "RNH present boolean";
                          }
    
                          leaf lrnh-type {
                            type uint16;
                            description
                              "RNH Type";
                          }
    
                          leaf lrnhvni {
                            type uint32;
                            description
                              "RNH VNI";
                          }
    
                          leaf lrnh-addr {
                            type inet:ipv4-address;
                            description
                              "RNH Address";
                          }
    
                          leaf lrnhv6-addr {
                            type inet:ipv6-address;
                            description
                              "RNH IPv6 Address";
                          }
    
                          leaf lrnh-mac {
                            type Mac-address;
                            description
                              "RNH MAC Address";
                          }
                        }  // list local-rnh-entry
    
                        list rnh-entry-info {
                          description
                            "List of Dependency Tables ";
                          leaf lrnh-type {
                            type uint16;
                            description
                              "RNH Type";
                          }
    
                          leaf lrnh-table {
                            type uint32;
                            description
                              "RNH Table ID";
                          }
    
                          leaf lrnhvni {
                            type uint32;
                            description
                              "RNH VNI";
                          }
    
                          leaf lrnh-addr {
                            type inet:ipv4-address;
                            description
                              "RNH Address";
                          }
    
                          leaf lrnh-mac {
                            type Mac-address;
                            description
                              "RNH MAC Address";
                          }
    
                          leaf frnh-as {
                            type uint8;
                            description
                              "RNH Flags";
                          }
    
                          leaf rrnh-as {
                            type uint32;
                            description
                              "RNH Refcount";
                          }
                        }  // list rnh-entry-info
                      }  // container remote-nh-table
    
                      container policies {
                        description
                          "The BGP Policy Table";
                        list policy {
                          description
                            "A BGP Policy table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container neighbor-address-xr {
                            description
                              "Neighbor Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address-xr
    
                          container path-info-after-policy-in {
                            description
                              "Path information after inbound policy";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-info-after-policy-in
    
                          container path-info-after-policy-out {
                            description
                              "Path information after outbound policy";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-info-after-policy-out
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          container attributes-after-policy-out {
                            description
                              "Attributes after outbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-out
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path with advertised Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path advertised Source Route Distinguisher";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
                        }  // list policy
                      }  // container policies
    
                      container convergence {
                        description
                          "A BGP Convergence table entry";
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf has-converged {
                          type boolean;
                          description
                            "Convergence has been reached";
                        }
    
                        leaf are-write-queues-empty {
                          type boolean;
                          description
                            "All neighbor write queues are empty";
                        }
                      }  // container convergence
    
                      container af-process-info {
                        description
                          "A BGP Process address family table entry";
                        container global {
                          description
                            "Global information";
                          container version-wrap-time-spec {
                            description
                              "Version Wrap timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-wrap-time-spec
    
                          container version-wrap-start-time-spec {
                            description
                              "Version Wrap handle start timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-wrap-start-time-spec
    
                          container version-wrap-done-time-spec {
                            description
                              "Version Wrap handle Done timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-wrap-done-time-spec
    
                          container trigger-rib {
                            description
                              "Trigger RIB";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-rib
    
                          container trigger-import {
                            description
                              "Flag to keep track of import triggers to each of
    the threads";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-import
    
                          container trigger-update {
                            description
                              "Flag to keep track of update triggers for each
    thread";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-update
    
                          container trigger-label {
                            description
                              "Label to keep track of trigger for each thread";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-label
    
                          container rib-install {
                            description
                              "RIB install info";
                            container update-time {
                              description
                                "The time taken for routing information base
    download ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container update-time
    
                            container install-time {
                              description
                                "The time taken for the route installation ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container install-time
    
                            leaf installed-count {
                              type uint32;
                              description
                                "Count of installed routes";
                            }
    
                            leaf modified-count {
                              type uint32;
                              description
                                "Count of modified routes";
                            }
    
                            leaf skipped-count {
                              type uint32;
                              description
                                "Count of skipped routes";
                            }
    
                            leaf withdrawn-count {
                              type uint32;
                              description
                                "Count of withdrawn routes";
                            }
    
                            leaf start-version {
                              type uint32;
                              description
                                "Start version of the BGP routing information
    base ";
                            }
    
                            leaf target-version {
                              type uint32;
                              description
                                "Target version of BGProuting information
    baseupdate ";
                            }
                          }  // container rib-install
    
                          leaf router-state {
                            type Bgp-rtr-state;
                            description
                              "BGP router state for the address family ";
                          }
    
                          leaf table-version {
                            type uint32;
                            description
                              "BGP main routing table version";
                          }
    
                          leaf version-wrapped {
                            type uint32;
                            description
                              "Number of times Version Wrap happened";
                          }
    
                          leaf version-wrapped-tid {
                            type uint32;
                            description
                              "Version Wrapped trigger tid";
                          }
    
                          leaf max-active-pelem-version {
                            type uint32;
                            description
                              "Maximum Active Pelem Version";
                          }
    
                          leaf merged-table-version {
                            type uint32;
                            description
                              "The merged Bgp table version after RPFO";
                          }
    
                          leaf route-download-go-active-done-pending {
                            type uint32;
                            description
                              "To indicate whether routedownload go-active-done
    pulse is sent or not";
                          }
    
                          leaf rib-brib-received-version {
                            type uint32;
                            description
                              "Version received from ";
                          }
    
                          leaf table-brib-version {
                            type uint32;
                            description
                              "Version sent to RIB/bRIB";
                          }
    
                          leaf label-version {
                            type uint32;
                            description
                              "Version updated by label thread";
                          }
    
                          leaf import-version {
                            type uint32;
                            description
                              "Version updated by import thread";
                          }
    
                          leaf standby-version {
                            type uint32;
                            description
                              "Version updated by sync thread";
                          }
    
                          leaf send-version {
                            type uint32;
                            description
                              "Version for sending updates to peers";
                          }
    
                          leaf num-init-sync-pfx {
                            type uint32;
                            description
                              "Num of prefix synced during Initsync";
                          }
    
                          leaf max-label-stack-depth-v4-next-hop {
                            type uint32;
                            description
                              "Max supported label stack depth  for IPv4
    Nexthop";
                          }
    
                          leaf max-label-stack-depth-v6-next-hop {
                            type uint32;
                            description
                              "Max supported label stack depth  for IPv6
    Nexthop";
                          }
    
                          leaf local-networks-num {
                            type uint32;
                            description
                              "Total local networks";
                          }
    
                          leaf local-networks-memory {
                            type uint32;
                            description
                              "Total number of networks memory in global BGP
    address-family ";
                          }
    
                          leaf local-networks-malloced-num {
                            type uint32;
                            description
                              "Total number of networks for which memory is
    allocated";
                          }
    
                          leaf local-networks-freed-num {
                            type uint32;
                            description
                              "Total local networks freed";
                          }
    
                          leaf local-paths-num {
                            type uint32;
                            description
                              "Total local paths";
                          }
    
                          leaf local-paths-memory {
                            type uint32;
                            description
                              "Total memory allocated for local paths in BGP
    process";
                          }
    
                          leaf local-paths-malloced-num {
                            type uint32;
                            description
                              "Total local paths for which memory allocated";
                          }
    
                          leaf local-paths-freed-num {
                            type uint32;
                            description
                              "Total local paths freed";
                          }
    
                          leaf imported-paths-num {
                            type uint32;
                            description
                              "Total imported paths";
                          }
    
                          leaf imported-paths-memory {
                            type uint32;
                            description
                              "Total memory allocated for imported paths in BGP
    process";
                          }
    
                          leaf networks-num {
                            type uint32;
                            description
                              "Total Num of networks";
                          }
    
                          leaf networks-memory {
                            type uint32;
                            description
                              "Total memory allocated for networks in BGP
    process";
                          }
    
                          leaf networks-malloced-num {
                            type uint32;
                            description
                              "Total networks for which memory allocated";
                          }
    
                          leaf networks-freed-num {
                            type uint32;
                            description
                              "Total networks freed";
                          }
    
                          leaf paths-num {
                            type uint32;
                            description
                              "Total Num of paths";
                          }
    
                          leaf paths-memory {
                            type uint32;
                            description
                              "Total paths memory";
                          }
    
                          leaf paths-malloced-num {
                            type uint32;
                            description
                              "Total paths for which memory allocated";
                          }
    
                          leaf paths-freed-num {
                            type uint32;
                            description
                              "Total paths freed";
                          }
    
                          leaf path-elems-num {
                            type uint32;
                            description
                              "Total Num of path-elems";
                          }
    
                          leaf path-elems-memory {
                            type uint32;
                            description
                              "Total memory allocated for path-elements in BGP
    process";
                          }
    
                          leaf path-elems-malloced-num {
                            type uint32;
                            description
                              "Total memory allocated for path-element number";
                          }
    
                          leaf path-elems-freed-num {
                            type uint32;
                            description
                              "Total path-elems freed";
                          }
    
                          leaf label-last-trigger {
                            type uint64;
                            description
                              "Timestamp when Label thread is last triggered";
                          }
    
                          leaf last-label-version {
                            type uint32;
                            description
                              "Label thread version when last triggered";
                          }
    
                          leaf label-bgp-version {
                            type uint32;
                            description
                              "BGP version when label thread is last triggered";
                          }
    
                          leaf label-triggers {
                            type uint32;
                            description
                              "Label thread triggers";
                          }
    
                          leaf rib-last-trigger {
                            type uint64;
                            description
                              "Timestamp when RIB thread is last triggered";
                          }
    
                          leaf last-rib-version {
                            type uint32;
                            description
                              "RIB thread version when last triggered";
                          }
    
                          leaf rib-bgp-version {
                            type uint32;
                            description
                              "BGP version when RIB thread is last triggered";
                          }
    
                          leaf rib-triggers {
                            type uint32;
                            description
                              "RIB thread triggers";
                          }
    
                          leaf import-last-trigger {
                            type uint64;
                            description
                              "Timestamp when Import thread is last triggered";
                          }
    
                          leaf last-import-version {
                            type uint32;
                            description
                              "Import thread version when last triggered";
                          }
    
                          leaf import-bgp-version {
                            type uint32;
                            description
                              "BGP version when Import thread is last triggered";
                          }
    
                          leaf import-triggers {
                            type uint32;
                            description
                              "Import thread triggers";
                          }
    
                          leaf update-gen-last-trigger {
                            type uint64;
                            description
                              "Timestamp when Update generation thread is last
    triggered";
                          }
    
                          leaf update-gen-bgp-version {
                            type uint32;
                            description
                              "BGP version when Update generation thread is
    last triggered";
                          }
    
                          leaf update-triggers {
                            type uint32;
                            description
                              "Update thread triggers";
                          }
    
                          leaf total-r-ds-num {
                            type uint32;
                            description
                              "Total Num of RDs";
                          }
    
                          leaf total-remote-r-ds-num {
                            type uint32;
                            description
                              "Total Num of remote RDs";
                          }
    
                          leaf total-same-r-ds-num {
                            type uint32;
                            description
                              "Total Num of same RDs";
                          }
    
                          leaf malloced-rd-count {
                            type uint32;
                            description
                              "Activity: Number of RDs malloced";
                          }
    
                          leaf freed-rd-count {
                            type uint32;
                            description
                              "Activity: Number of RDs freed";
                          }
    
                          leaf rd-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by RD data";
                          }
    
                          leaf multipath-network-entry-count {
                            type uint32;
                            description
                              "Number of multipath network entries";
                          }
    
                          leaf multipath-network-entry-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used bymultipath network
    entries";
                          }
    
                          leaf multipath-paths-count {
                            type uint32;
                            description
                              "Number of multipath paths";
                          }
    
                          leaf multipath-paths-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used bymultimpath paths";
                          }
    
                          leaf update-wait-install-enabled {
                            type uint32;
                            description
                              "BGP process update wait until install is
    configured";
                          }
    
                          leaf rib-acked-table-version {
                            type uint32;
                            description
                              "Table version acked by routing information base";
                          }
    
                          leaf rib-ack-requests {
                            type uint32;
                            description
                              "Count for RIB ack requests";
                          }
    
                          leaf rib-acks-received {
                            type uint32;
                            description
                              "Count for RIB ack received";
                          }
    
                          leaf rib-slow-acks {
                            type uint32;
                            description
                              "Count for slow RIB acks";
                          }
                        }  // container global
    
                        container vrf {
                          description
                            "VRF information";
                          leaf network-entry-count {
                            type uint32;
                            description
                              "Number of network entries";
                          }
    
                          leaf paths-count {
                            type uint32;
                            description
                              "Number of paths";
                          }
    
                          leaf imported-paths {
                            type uint32;
                            description
                              "Number of imported paths";
                          }
    
                          leaf local-paths {
                            type uint32;
                            description
                              "Number of local paths";
                          }
    
                          leaf path-elems-count {
                            type uint32;
                            description
                              "Number of path elems";
                          }
    
                          leaf path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by path data";
                          }
    
                          leaf imported-path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by imported paths";
                          }
    
                          leaf local-path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by local paths";
                          }
    
                          leaf prefix-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by prefix data";
                          }
    
                          leaf path-elem-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by pathelem data";
                          }
    
                          leaf received-path-count {
                            type uint32;
                            description
                              "Number of (unused) received paths for inbound
    soft reconfiguration";
                          }
    
                          leaf history-path-count {
                            type uint32;
                            description
                              "Number of history paths (for dampening)";
                          }
    
                          leaf damped-path-count {
                            type uint32;
                            description
                              "Number of dampened paths";
                          }
    
                          leaf malloced-prefix-count {
                            type uint32;
                            description
                              "Activity: Number of prefixes malloced";
                          }
    
                          leaf freed-prefix-count {
                            type uint32;
                            description
                              "Activity: Number of prefixes freed";
                          }
    
                          leaf malloced-path-count {
                            type uint32;
                            description
                              "Activity: Number of paths malloced";
                          }
    
                          leaf freed-path-count {
                            type uint32;
                            description
                              "Activity: Number of paths freed";
                          }
    
                          leaf malloced-path-elem-count {
                            type uint32;
                            description
                              "Activity: Number of path elems malloced";
                          }
    
                          leaf freed-path-elem-count {
                            type uint32;
                            description
                              "Activity: Number of pathelems freed";
                          }
    
                          leaf any-ebgp-neighbor-missing-policy {
                            type boolean;
                            description
                              "Is there any neighbor which is missing either
    inbound or outbound or both routing policy for
    this address family?";
                          }
    
                          leaf attribute-download {
                            type boolean;
                            description
                              "BGP virtual routing and forwarding attribute
    download ";
                          }
    
                          leaf route-target-download {
                            type boolean;
                            description
                              "Route Target download is enabled";
                          }
    
                          leaf srms-prefix-sid {
                            type boolean;
                            description
                              "SRMS Prefix SID is ";
                          }
    
                          leaf add-path-install-enable {
                            type boolean;
                            description
                              "Additional paths installation is enabled";
                          }
    
                          leaf add-path-install-disable {
                            type boolean;
                            description
                              "Additional paths installation is disabled";
                          }
    
                          leaf best-external {
                            type boolean;
                            description
                              "Best External is enabled";
                          }
    
                          leaf best-external-disable {
                            type boolean;
                            description
                              "Best External is enabled";
                          }
    
                          leaf best-external-labeled-unicast {
                            type boolean;
                            description
                              "Best External is limited toLabeled-Unicast";
                          }
    
                          leaf label-retain {
                            type boolean;
                            description
                              "Label retention is enabled";
                          }
    
                          leaf label-retainvalue {
                            type uint32;
                            description
                              "Label retention value enabled";
                          }
    
                          leaf tbl-bitf-size {
                            type uint16;
                            description
                              "Bitfield size on table";
                          }
    
                          leaf tbl-chunk-bitf-size {
                            type uint16;
                            description
                              "Chunk Bitfield size on table";
                          }
    
                          leaf tbl-filter-group-bitf-resize-pending {
                            type boolean;
                            description
                              "Filter Group bitfield resize is pending for this
    table";
                          }
    
                          leaf is-route-reflector {
                            type boolean;
                            description
                              "Router is an RR for this AF";
                          }
    
                          leaf asbr {
                            type boolean;
                            description
                              "Router is an ASBR for this AF";
                          }
    
                          leaf retain-rt-all {
                            type boolean;
                            description
                              "Retain-RT-All enabled";
                          }
    
                          leaf ibgp-nexthop-self-count {
                            type uint32;
                            description
                              "Number of iBGP sessions configured with nh-self";
                          }
    
                          leaf use-igpsr-label {
                            type boolean;
                            description
                              "Use IGP SR label for resolution";
                          }
    
                          leaf bmp-network-entry-count {
                            type uint32;
                            description
                              "Number of BMP net entries";
                          }
    
                          leaf bmp-paths-count {
                            type uint32;
                            description
                              "Total Number of BMP paths";
                          }
    
                          leaf bmp-prefix-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by prefix data";
                          }
    
                          leaf bmp-path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by path data";
                          }
                        }  // container vrf
    
                        container performance-statistics {
                          description
                            "BGP process address familyperformance statistics
    info";
                          container global {
                            description
                              "Global information";
                            leaf has-converged {
                              type boolean;
                              description
                                "TRUE if process has converged";
                            }
    
                            leaf first-nbr-up-time {
                              type uint32;
                              units "second";
                              description
                                "Time when first peer came up (seconds since Jan
    1 1970)";
                            }
    
                            leaf total-pim-install {
                              type uint32;
                              description
                                "Total number of install to PIM";
                            }
    
                            leaf total-pim-callbacks {
                              type uint32;
                              description
                                "Total number of PIM callbacks";
                            }
    
                            leaf total-pim-callback-batch {
                              type uint32;
                              description
                                "Total number of Pim callback batches";
                            }
    
                            list mode-enter-time {
                              max-elements 7;
                              description
                                "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                              leaf entry {
                                type uint32;
                                units "second";
                                description
                                  "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                              }
                            }  // list mode-enter-time
    
                            list total-pim-install-add {
                              max-elements 7;
                              description
                                "Total number of install to PIM for add";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of install to PIM for add";
                              }
                            }  // list total-pim-install-add
    
                            list total-pim-install-del {
                              max-elements 7;
                              description
                                "Total number of install to PIM for del";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of install to PIM for del";
                              }
                            }  // list total-pim-install-del
    
                            list total-pim-callback-add {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for add";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for add";
                              }
                            }  // list total-pim-callback-add
    
                            list total-pim-callback-del {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for del";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for del";
                              }
                            }  // list total-pim-callback-del
    
                            list total-pim-callback-add-local {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for local add";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for local add";
                              }
                            }  // list total-pim-callback-add-local
    
                            list total-pim-callback-del-local {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for Local del";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for Local del";
                              }
                            }  // list total-pim-callback-del-local
                          }  // container global
    
                          container vrf {
                            description
                              "VRF information";
                            container time-rib-coverged {
                              description
                                "Time last RIB ack was sent ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container time-rib-coverged
    
                            container time-rib-down {
                              description
                                "Time last RIB down wassent. This field is
    deprecated";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container time-rib-down
    
                            container first-rib-table-full-timestamp {
                              description
                                "Timestamp when RIB table was full for the first
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-table-full-timestamp
    
                            container last-rib-table-full-timestamp {
                              description
                                "Timestamp when RIB table was full for the last
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-table-full-timestamp
    
                            container first-rib-table-has-space-timestamp {
                              description
                                "Timestamp when RIB table had space for the first
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-table-has-space-timestamp
    
                            container last-rib-table-has-space-timestamp {
                              description
                                "Timestamp when RIB table had space for the last
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-table-has-space-timestamp
    
                            container time-label-retain {
                              description
                                "Time last label retentiontriggered ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container time-label-retain
    
                            leaf update-generation-calls {
                              type uint32;
                              description
                                "No. of calls to update generation function";
                            }
    
                            leaf update-generation-prefixes-count {
                              type uint32;
                              description
                                "No. of prefixes updates generated for";
                            }
    
                            leaf update-generation-be-prefixes-count {
                              type uint32;
                              description
                                "No. of be prefixes updates generated for";
                            }
    
                            leaf update-generation-messages-count {
                              type uint32;
                              description
                                "No. of update messages generated";
                            }
    
                            leaf update-generation-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent generating updates (milliseconds)";
                            }
    
                            leaf rib-update-calls {
                              type uint32;
                              description
                                "No. of calls to RIB update function";
                            }
    
                            leaf rib-update-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent sending RIB updates (milliseconds)";
                            }
    
                            leaf prefixes-sent-to-rib {
                              type uint32;
                              description
                                "No. of prefixes sent to RIB";
                            }
    
                            leaf prefixes-resent-to-rib {
                              type uint32;
                              description
                                "No. of prefixes re-sent to RIB";
                            }
    
                            leaf prefixes-not-sent-to-rib {
                              type uint32;
                              description
                                "No. of prefixes not sent to RIB due to
    unsupported label stack size";
                            }
    
                            leaf prefixes-removed-from-rib {
                              type uint32;
                              description
                                "No. of prefixes withdrawn from RIB";
                            }
    
                            leaf attributes-sent-to-rib {
                              type uint32;
                              description
                                "No. of attributes sent to RIB";
                            }
    
                            leaf attributes-removed-from-rib {
                              type uint32;
                              description
                                "No. of attributes withdrawn from RIB";
                            }
    
                            leaf attributes-recover-from-rib {
                              type uint32;
                              description
                                "No. of attributes recovered from RIB";
                            }
    
                            leaf scanner-runs {
                              type uint32;
                              description
                                "# of times scanner has run";
                            }
    
                            leaf scanner-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent running scanner (milliseconds)";
                            }
    
                            leaf rib-tbl-del-calls {
                              type uint32;
                              description
                                "No. of rib update skipped on account of table
    delete";
                            }
    
                            leaf rib-tbl-invalid-calls {
                              type uint32;
                              description
                                "No. of  rib update skipped due to table invalid";
                            }
    
                            leaf rib-tbl-skip-calls {
                              type uint32;
                              description
                                "No. of rib update skipped";
                            }
    
                            leaf rib-tbl-local-label {
                              type uint32;
                              description
                                "No. of rib update skipped. due to no local label";
                            }
    
                            leaf rib-tbl-retry {
                              type uint32;
                              description
                                "No. of table rib retires.";
                            }
    
                            leaf time-last-update-sent {
                              type uint32;
                              units "second";
                              description
                                "Time last update was sent (seconds since Jan 1
    1970)";
                            }
    
                            leaf is-rib-table-full {
                              type boolean;
                              description
                                "Indicates if RIB table is in prefix-limit state";
                            }
    
                            leaf rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table became full (from
    non-full)";
                            }
    
                            leaf first-rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table was full for the first
    time";
                            }
    
                            leaf last-rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table was full for the last
    time";
                            }
    
                            leaf last-rib-table-full-age {
                              type uint32;
                              units "second";
                              description
                                "Time since RIB table was full for the last time
    (in seconds)";
                            }
    
                            leaf first-rib-table-has-space-version {
                              type uint32;
                              description
                                "Version when RIB table had space for the first
    time";
                            }
    
                            leaf last-rib-table-has-space-version {
                              type uint32;
                              description
                                "Version when RIB table had space for the last
    time";
                            }
    
                            leaf last-rib-table-has-space-age {
                              type uint32;
                              units "second";
                              description
                                "Times since RIB table had space for the last
    time (in seconds)";
                            }
    
                            leaf rib-trigger {
                              type boolean;
                              description
                                "Rib trigger enabled";
                            }
    
                            leaf vrf-flags {
                              type uint32;
                              description
                                "VRF flags for debug display";
                            }
    
                            leaf label-calls {
                              type uint32;
                              description
                                "No. of calls to label allocation processing
    function";
                            }
    
                            leaf label-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent running label processing
    (milliseconds)";
                            }
    
                            leaf label-rewrite-count {
                              type uint32;
                              description
                                "Number of label rewrites created";
                            }
    
                            leaf label-release-count {
                              type uint32;
                              description
                                "Number of labels released";
                            }
    
                            leaf label-added-count {
                              type uint32;
                              description
                                "Number of labels requested";
                            }
    
                            leaf import-calls {
                              type uint32;
                              description
                                "Number of calls to import processing function";
                            }
    
                            leaf import-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent in import processing (milliseconds)
    Note time accounted against source nets.";
                            }
    
                            leaf import-src-net-processed-count {
                              type uint32;
                              description
                                "Number of source nets processed";
                            }
    
                            leaf import-dest-net-processed-count {
                              type uint32;
                              description
                                "Number of destination nets processed";
                            }
    
                            leaf import-added-path-count {
                              type uint32;
                              description
                                "Number of imported paths added";
                            }
    
                            leaf import-removed-path-count {
                              type uint32;
                              description
                                "Number of imported paths removed";
                            }
    
                            leaf import-replaced-path-count {
                              type uint32;
                              description
                                "Number of imported paths ";
                            }
    
                            leaf update-group-count {
                              type uint32;
                              description
                                "No. of update group";
                            }
    
                            leaf subgroup-count {
                              type uint32;
                              description
                                "No. of update subgroup";
                            }
                          }  // container vrf
                        }  // container performance-statistics
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family id";
                        }
    
                        leaf process-instance {
                          type uint8;
                          description
                            "ID for the BGP process instance";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf vrf-totals {
                          type boolean;
                          description
                            "per VRF information aggregated across all VRFs";
                        }
                      }  // container af-process-info
    
                      container path-used-table {
                        description
                          "The BGP Path Used Table";
                        list path {
                          description
                            "A BGP path table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address for the BGP neighbor";
                          }
    
                          leaf route-type {
                            type Bgp-route;
                            description
                              "Route Type";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list path
                      }  // container path-used-table
    
                      container bmp-path-table-generic {
                        description
                          "Summary Info about BMP Table";
                        container bmp-version-wrap-time-spec {
                          description
                            "Version Wrap timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-version-wrap-time-spec
    
                        container bmp-version-wrap-start-time-spec {
                          description
                            "Version Wrap handle start timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-version-wrap-start-time-spec
    
                        container bmp-version-wrap-done-time-spec {
                          description
                            "Version Wrap handle Done timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-version-wrap-done-time-spec
    
                        leaf bmp-route-monitoringe-enabled {
                          type boolean;
                          description
                            "Is Route Monitoring mode enabled";
                        }
    
                        leaf bmp-table-version {
                          type uint32;
                          description
                            "Table version";
                        }
    
                        leaf network-count {
                          type uint32;
                          description
                            "Number of nets in the table";
                        }
    
                        leaf path-count {
                          type uint32;
                          description
                            "Number of paths in the table";
                        }
    
                        leaf bmp-version-wrapped {
                          type uint32;
                          description
                            "Number of times Table Version Wrapped";
                        }
    
                        leaf bmp-version-wrapped-tid {
                          type uint32;
                          description
                            "Version Wrapped trigger thread id";
                        }
    
                        leaf bmp-version-inprogress {
                          type boolean;
                          description
                            "Is Version wrap in progress";
                        }
    
                        leaf bmp-version-incremented {
                          type boolean;
                          description
                            "Is Version being incremented";
                        }
                      }  // container bmp-path-table-generic
    
                      container rpc-sets {
                        description
                          "BGP next-hop set table";
                        list rpc-set {
                          key "rpc-set-index";
                          description
                            "A BGP next-hop set";
                          leaf rpc-set-index {
                            type uint32;
                            description
                              "Nexthop set index";
                          }
    
                          leaf next-hop-xr {
                            type uint32;
                            description
                              "Number of multipath next-hops";
                          }
    
                          leaf label {
                            type uint32;
                            description
                              "Label assigned to the RPCnext-hop set";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference for the count";
                          }
    
                          leaf srv6-sid-address {
                            type Ipv6-address;
                            description
                              "SRv6 SID address value";
                          }
    
                          leaf srv6-sid-address-len {
                            type uint32;
                            description
                              "SRv6 SID address Length";
                          }
    
                          leaf locator-format {
                            type uint32;
                            description
                              "Locator Format";
                          }
    
                          list next-hop {
                            description
                              "List of multipath next-hops";
                            container nexthop-addr {
                              description
                                "List of multipath next-hops";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container nexthop-addr
    
                            leaf received-label {
                              type uint32;
                              description
                                "Received labl for the path";
                            }
                          }  // list next-hop
                        }  // list rpc-set
                      }  // container rpc-sets
    
                      container global-af-process-info {
                        description
                          "The Global Address Family Process information
    table";
                        container global {
                          description
                            "Global information";
                          container rib-install {
                            description
                              "RIB install info";
                            container update-time {
                              description
                                "The time taken for routing information base
    download ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container update-time
    
                            container install-time {
                              description
                                "The time taken for the route installation ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container install-time
    
                            leaf installed-count {
                              type uint32;
                              description
                                "Count of installed routes";
                            }
    
                            leaf modified-count {
                              type uint32;
                              description
                                "Count of modified routes";
                            }
    
                            leaf skipped-count {
                              type uint32;
                              description
                                "Count of skipped routes";
                            }
    
                            leaf withdrawn-count {
                              type uint32;
                              description
                                "Count of withdrawn routes";
                            }
    
                            leaf start-version {
                              type uint32;
                              description
                                "Start version of the BGP routing information
    base ";
                            }
    
                            leaf target-version {
                              type uint32;
                              description
                                "Target version of BGProuting information
    baseupdate ";
                            }
                          }  // container rib-install
    
                          leaf scanner-period {
                            type uint16;
                            units "second";
                            description
                              "Period (in seconds) of address-family scanner
    runs";
                          }
    
                          leaf nh-tunnel-version {
                            type uint32;
                            description
                              "NH Tunnel Version";
                          }
    
                          leaf scan-prefixes {
                            type uint32;
                            description
                              "Total prefixes of address-family scanned";
                          }
    
                          leaf scan-segment-prefixes {
                            type uint32;
                            description
                              "Number of prefixes scanned in a segment of
    address-family";
                          }
    
                          leaf scan-segments {
                            type uint8;
                            description
                              "Number of segments to scan all prefixes of
    address-family";
                          }
    
                          leaf inter-as-install-enabled {
                            type boolean;
                            description
                              "Is inter-AS install to pim on ASBR enabled";
                          }
    
                          leaf global-mcast-enabled {
                            type boolean;
                            description
                              "Flag to indicate if global routing table
    multicast is enabled";
                          }
    
                          leaf segmented-mcast-enabled {
                            type boolean;
                            description
                              "Flag to indicate if BGP segmented multicast is
    enabled";
                          }
    
                          leaf gblafrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf gblafrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf gblafrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf gblafrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf update-wait-install-enabled {
                            type boolean;
                            description
                              "Flag to wait for installation update";
                          }
    
                          leaf rib-ack-requests {
                            type uint32;
                            description
                              "Counter for RIB ack requests";
                          }
    
                          leaf rib-acks-received {
                            type uint32;
                            description
                              "Counter for RIB ack received";
                          }
    
                          leaf rib-slow-acks {
                            type uint32;
                            description
                              "Counter for slow RIB acks";
                          }
    
                          leaf is-perm-net-cfg {
                            type boolean;
                            description
                              "Permanent Network Enabled";
                          }
    
                          leaf perm-net-del-count {
                            type uint16;
                            description
                              "Count of removed perm paths";
                          }
    
                          leaf perm-net-stale-del-count {
                            type uint16;
                            description
                              "Count of stale perm paths";
                          }
    
                          leaf perm-net-stale-mark-count {
                            type uint16;
                            description
                              "Count of stale marked perm paths";
                          }
    
                          leaf perm-net-insert-count {
                            type uint16;
                            description
                              "Count of inserted perm paths";
                          }
    
                          leaf perm-net-existing-count {
                            type uint16;
                            description
                              "Count of existing perm paths";
                          }
    
                          leaf perm-net-rpl-query-count {
                            type uint16;
                            description
                              "Count of perm nets given by RPL";
                          }
    
                          leaf perm-net-rpl-process-count {
                            type uint16;
                            description
                              "Count of perm nets processed in RPL";
                          }
    
                          leaf perm-nbr-count {
                            type uint16;
                            description
                              "Count of neighbors configured with perm net";
                          }
    
                          leaf rib-perm-pelem-not-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-perm-path-not-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-perm-pelem-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-reg-path-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-perm-path-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf perm-pelem-free-count {
                            type uint16;
                            description
                              "Count of freed perm pelems";
                          }
    
                          leaf perm-path-refresh-count {
                            type uint16;
                            description
                              "Count of perm paths refreshed";
                          }
    
                          leaf perm-pelem-bump-count {
                            type uint16;
                            description
                              "Count of bumped perm pelems";
                          }
    
                          leaf perm-pelem-all-bump-count {
                            type uint16;
                            description
                              "Count of bumped perm pelems";
                          }
    
                          leaf af-srv6-sid-alloc-mode {
                            type uint32;
                            description
                              "SID alloc mode of SRv6 under AF";
                          }
    
                          leaf af-srv6-locator {
                            type string;
                            description
                              "SRv6 Locator Name under AF";
                          }
    
                          list syncgrp-version {
                            max-elements 2;
                            description
                              "Sync-group Version";
                            leaf entry {
                              type uint32;
                              description
                                "Sync-group Version";
                            }
                          }  // list syncgrp-version
                        }  // container global
    
                        container vrf {
                          description
                            "VRF information";
                          leaf table-is-active {
                            type boolean;
                            description
                              "Table state is active";
                          }
    
                          leaf table-id {
                            type uint32;
                            description
                              "Table ID";
                          }
    
                          leaf def-orig-enabled {
                            type boolean;
                            description
                              "Default Orig enabled for a vrf afi";
                          }
    
                          leaf table-version {
                            type uint32;
                            description
                              "BGP global process table version info";
                          }
    
                          leaf rd-version {
                            type uint32;
                            description
                              "RD version";
                          }
    
                          leaf rib-version {
                            type uint32;
                            description
                              "Table version synced to RIB";
                          }
    
                          leaf nsr-conv-version {
                            type uint32;
                            description
                              "Cache for non stop routingcurrent table version";
                          }
    
                          leaf nsr-is-conv {
                            type boolean;
                            description
                              "NSR is converged";
                          }
    
                          leaf client-reflection-enabled {
                            type boolean;
                            description
                              "Flag to indicate if client-to-client reflection
    is enabled";
                          }
    
                          leaf dampening-enabled {
                            type boolean;
                            description
                              "Flag to enable BGP address-family dampening";
                          }
    
                          leaf ebgp-distance {
                            type uint16;
                            description
                              "Distance for eBGP routes (external)";
                          }
    
                          leaf ibgp-distance {
                            type uint16;
                            description
                              "Distance for iBGP routes (internal)";
                          }
    
                          leaf aggregates-distance {
                            type uint16;
                            description
                              "Dist for aggregate routes (local)";
                          }
    
                          leaf dynamic-med-enabled {
                            type boolean;
                            description
                              "Update generation enabled for MED change";
                          }
    
                          leaf dynamic-med-interval {
                            type uint16;
                            units "minute";
                            description
                              "Delay in update generation after a MED change
    (in minutes)";
                          }
    
                          leaf dynamic-med-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if dynamic multi exit
    discriminator (MED) timer is running";
                          }
    
                          leaf dynamic-med-timer-value {
                            type uint16;
                            units "second";
                            description
                              "Dynamic MED timer value (in seconds) left on the
    timer";
                          }
    
                          leaf dynamic-med-periodic-timer-running {
                            type boolean;
                            description
                              "Dynamic multi exit discriminatorperiodic timer
    running";
                          }
    
                          leaf dynamic-med-periodic-timer-value {
                            type uint16;
                            units "second";
                            description
                              "Dynamic MED periodic timer value (in seconds)
    left on the timer";
                          }
    
                          leaf rib-has-converged {
                            type boolean;
                            description
                              "Received convergence notification from RIB";
                          }
    
                          leaf rib-convergence-version {
                            type uint32;
                            description
                              "Last convergence version received from RIB";
                          }
    
                          leaf is-rib-table-full {
                            type boolean;
                            description
                              "Indicates if RIB table is in prefix-limit state";
                          }
    
                          leaf rib-table-full-version {
                            type uint32;
                            description
                              "Version when RIB table became full (from
    non-full)";
                          }
    
                          leaf nexthop-resolution-minimum-prefix-length-configured {
                            type boolean;
                            description
                              "Flag to indicate if nexthop resolution minimum
    prefix-length is configured";
                          }
    
                          leaf nexthop-resolution-minimum-prefix-length {
                            type uint32;
                            description
                              "Used to validate prefix-length of resolving
    route of nexthopsin BGP";
                          }
    
                          leaf ipv6-nexthop-resolution-minimum-prefix-length-configured {
                            type boolean;
                            description
                              "Flag to indicate if ipv6 nexthop resolution
    minimum prefix-length is configured";
                          }
    
                          leaf ipv6-nexthop-resolution-minimum-prefix-length {
                            type uint32;
                            description
                              "Used to validate prefix-length of resolving
    route of ipv6 nexthopsin BGP";
                          }
    
                          leaf selective-ebgp-multipath-enabled {
                            type boolean;
                            description
                              "Flag to indicate if the Selective option is
    configured with multipath external bgp";
                          }
    
                          leaf selective-ibgp-multipath-enabled {
                            type boolean;
                            description
                              "Flag to indicate if the Selective option is
    configured with multipath internal bgp";
                          }
    
                          leaf selective-eibgp-multipath-enabled {
                            type boolean;
                            description
                              "Flag to indicate if the Selective option is
    configured with multipath external internal bgp";
                          }
    
                          leaf rib-acked-table-version {
                            type uint32;
                            description
                              "Table version acked by RIB";
                          }
    
                          leaf vrf-srv6-sid-alloc-mode {
                            type uint32;
                            description
                              "SID alloc mode of SRv6 under Vrf";
                          }
    
                          leaf isvrf-srv6-enabled {
                            type boolean;
                            description
                              "SRv6 info under a Vrf";
                          }
    
                          leaf vrf-srv6-locator {
                            type string;
                            description
                              "SRv6 Locator Name under Vrf";
                          }
    
                          leaf vrf-all-srv6-locator {
                            type string;
                            description
                              "SRv6 Locator Name under Vrf All";
                          }
    
                          leaf vrf-all-srv6-sid-alloc-mode {
                            type uint32;
                            description
                              "SRv6 SID alloc mode under Vrf All";
                          }
    
                          leaf isvrfall-srv6-enabled {
                            type boolean;
                            description
                              "SRv6 info under a Vrf All";
                          }
    
                          leaf rpki-version {
                            type uint32;
                            description
                              "RPKI table version walked";
                          }
    
                          leaf rpki-soft-reconf-version {
                            type uint32;
                            description
                              "RPKI soft reconfiguration version walked";
                          }
                        }  // container vrf
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family id";
                        }
    
                        leaf is-nsr-enabled {
                          type boolean;
                          description
                            "Non-stop routing enabled";
                        }
                      }  // container global-af-process-info
    
                      container advertised-path-xr {
                        description
                          "The BGP Advertised path table (bestpath)";
                        list advertised-path {
                          description
                            "A BGP Advertised path table entry (bestpath)";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of BGP Neighbor";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list advertised-path
                      }  // container advertised-path-xr
    
                      container sourced-networks {
                        description
                          "The BGP Convergence table";
                        list sourced-network {
                          key "network";
                          description
                            "A BGP network command table entry";
                          leaf network {
                            type inet:ip-prefix;
                            description
                              "Network in prefix/length format";
                          }
    
                          container sourced-prefix {
                            description
                              "Prefix length";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container sourced-prefix
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-backdoor {
                            type boolean;
                            description
                              "TRUE if net is a backdoor route";
                          }
                        }  // list sourced-network
                      }  // container sourced-networks
    
                      container update-groups {
                        description
                          "The BGP Update group table";
                        list update-group {
                          description
                            "A BGP Update group table entry";
                          leaf update-group-id {
                            type uint32;
                            description
                              "A BGP Update group table entry index";
                          }
    
                          leaf filter-group-id {
                            type uint32;
                            description
                              " A BGP Filter group index";
                          }
    
                          container performance-statistics {
                            description
                              "Aggregated performance statisticsacross all VRFs
    belonging to theparent address family";
                            leaf update-generation-calls {
                              type uint32;
                              description
                                "No. of calls to update generation function";
                            }
    
                            leaf update-generation-prefixes-count {
                              type uint32;
                              description
                                "No. of prefixes updates generated for";
                            }
    
                            leaf update-generation-be-prefixes-count {
                              type uint32;
                              description
                                "No. of be prefixes updates generated for";
                            }
    
                            leaf update-generation-messages-count {
                              type uint32;
                              description
                                "No. of update messages generated";
                            }
    
                            leaf update-generation-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent generating updates (milliseconds)";
                            }
    
                            leaf updgen-timer-start-time {
                              type uint64;
                              description
                                "Timestamp when update timer started for updgrp";
                            }
    
                            leaf updgen-timer-stop-time {
                              type uint64;
                              description
                                "Timestamp when update timer stopped for updgrp";
                            }
    
                            leaf updgen-timer-process-time {
                              type uint64;
                              description
                                "Timestamp when update timer processed for updgrp";
                            }
    
                            list not-advertised-stat {
                              max-elements 35;
                              description
                                "Not Advertised Statistics";
                              container last-updated-time {
                                description
                                  "Last update time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-updated-time
    
                              leaf not-advertised-count {
                                type uint32;
                                description
                                  "Not advertised count";
                              }
                            }  // list not-advertised-stat
                          }  // container performance-statistics
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "Instance ID of the BGP processwhere the path
    originated";
                          }
    
                          leaf session-af-name {
                            type uint8;
                            description
                              "Neighbor session Address family";
                          }
    
                          leaf update-group-number {
                            type uint32;
                            description
                              "Update group index";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family for update group";
                          }
    
                          leaf should-send-communities {
                            type boolean;
                            description
                              "Send communities";
                          }
    
                          leaf should-send-ext-communities {
                            type boolean;
                            description
                              "Send Extended communities";
                          }
    
                          leaf should-send-stitching-rt {
                            type boolean;
                            description
                              "Send Stitching RT";
                          }
    
                          leaf has-orf-receive-capability {
                            type boolean;
                            description
                              "ORF receive capability";
                          }
    
                          leaf is-route-reflector-client {
                            type boolean;
                            description
                              "Flag to indicate if peers in this update group
    are route-reflector clients";
                          }
    
                          leaf is-client-reflection-disabled {
                            type boolean;
                            description
                              "True if client-to-client reflection is disabled ";
                          }
    
                          leaf accepts-legacy-pe-rt-route {
                            type boolean;
                            description
                              "Flag to indicate if provider edge device as a
    legacy for the route target";
                          }
    
                          leaf updgrp-cluster-id {
                            type uint32;
                            description
                              "Cluster ID (populated ifclient-to-client
    reflectionis disabled)";
                          }
    
                          leaf updgrp-cluster-type {
                            type uint8;
                            description
                              "Cluster ID type:undefined/number/Ip address";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf should-remove-private-a-ss {
                            type boolean;
                            description
                              "Remove private AS numbers";
                          }
    
                          leaf should-remove-private-as-ent-path {
                            type boolean;
                            description
                              "Remove private AS numbersif the entire path
    consistsof private ASes";
                          }
    
                          leaf use-next-hop-self {
                            type boolean;
                            description
                              "Next hop self";
                          }
    
                          leaf use-next-hop-unchanged-mpath {
                            type boolean;
                            description
                              "This update group have
    next-hop-unchangedmultipath configured";
                          }
    
                          leaf is-internal-peers {
                            type boolean;
                            description
                              "Peers in this update groupare internal";
                          }
    
                          leaf is-common-admin-peers {
                            type boolean;
                            description
                              "Flag to indicate if peers are undercommon
    administration in BGP update group";
                          }
    
                          leaf is4-byte-as-peer {
                            type boolean;
                            description
                              "4-byte AS capable peers";
                          }
    
                          leaf is-addpath-capable {
                            type boolean;
                            description
                              "Add-path capable peers";
                          }
    
                          leaf is-send-mcast-attr-enabled {
                            type boolean;
                            description
                              "Flag to indicate if protocol independent
    multicast attributes are sent in this update
    group";
                          }
    
                          leaf is-aigp-capable {
                            type boolean;
                            description
                              "AIGP capable peers";
                          }
    
                          leaf is-aigp-cost-community-capable {
                            type boolean;
                            description
                              "Send AIGP cost community to peers";
                          }
    
                          leaf is-aigp-med-capable {
                            type boolean;
                            description
                              "Send AIGP cost in MED";
                          }
    
                          leaf is-llgr-capable {
                            type boolean;
                            description
                              "Send Long-lived Stale paths";
                          }
    
                          leaf is-adv-capable {
                            type boolean;
                            description
                              "Send tranlsated paths";
                          }
    
                          leaf is-adv-reorg-capable {
                            type boolean;
                            description
                              "Send Re-orig paths";
                          }
    
                          leaf disable-native-advertisement {
                            type boolean;
                            description
                              "Disable advertising native routes";
                          }
    
                          leaf disable-def-vrf-imp-advertisement {
                            type boolean;
                            description
                              "Disable advertising default VRF  imported routes";
                          }
    
                          leaf disable-vrf-re-imp-advertisement {
                            type boolean;
                            description
                              "Disable advertising VRF re-imported routes";
                          }
    
                          leaf encapsulation-type {
                            type uint32;
                            description
                              "BGP update group encapsulation type";
                          }
    
                          leaf advertise-rt-type {
                            type uint8;
                            description
                              "BGP update group toadvertise route target type";
                          }
    
                          leaf is-directly-connected-ebgp-v6-peers {
                            type boolean;
                            description
                              "Flag to indicate an update group is directly
    connected eBGP peers";
                          }
    
                          leaf minimum-advertisement-interval {
                            type uint32;
                            units "second";
                            description
                              "Minimum advert time for peers in this
    update-group in seconds";
                          }
    
                          leaf minimum-advertisement-interval-msecs {
                            type uint32;
                            units "millisecond";
                            description
                              "Minimum advert time for peers inthis update
    group in milliseconds";
                          }
    
                          leaf local-as {
                            type uint32;
                            description
                              "Local AS number";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outbound route policy name";
                          }
    
                          leaf desync-count {
                            type uint32;
                            description
                              "Number of times the update has been
    desynchronized";
                          }
    
                          leaf subgrp-merge-count {
                            type uint32;
                            description
                              "Number of times sub-groups have been merged";
                          }
    
                          leaf refresh-subgrp-count {
                            type uint32;
                            description
                              "Current count of refresh subgroups";
                          }
    
                          leaf updates-formatted {
                            type uint32;
                            description
                              "Number of updates formatted";
                          }
    
                          leaf updates-replicated {
                            type uint32;
                            description
                              "Number of updates replicatedfor BGP update group";
                          }
    
                          leaf local-as-replace-as {
                            type boolean;
                            description
                              "Local AS Replace-AS option";
                          }
    
                          leaf as-override {
                            type boolean;
                            description
                              "AS Override option";
                          }
    
                          leaf soo-value {
                            type string;
                            description
                              "Site-of-origin value";
                          }
    
                          leaf split-horizon {
                            type boolean;
                            description
                              "Split horizon check";
                          }
    
                          leaf is-labeled-afi-enabled {
                            type boolean;
                            description
                              "Update group has labeled AFI enabled";
                          }
    
                          leaf is-unlabeled-afi-enabled {
                            type boolean;
                            description
                              "Update group has unlabeled AFI enabled";
                          }
    
                          leaf ext-nh-encoding {
                            type boolean;
                            description
                              "Extended nexthop encoding cap received";
                          }
    
                          leaf remote-as {
                            type uint32;
                            description
                              "Remote AS number";
                          }
    
                          leaf is-adv-perm-net-capable {
                            type boolean;
                            description
                              "Advertise Permanent-Net capable peers";
                          }
    
                          leaf should-send-gshut-community {
                            type boolean;
                            description
                              "Send GSHUT community";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "GSHUT active";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "GSHUT local preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "GSHUT local preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "GSHUT AS prepends";
                          }
    
                          leaf advertise-local-labeled-route-unicast {
                            type boolean;
                            description
                              "Advertise routes with local-label via Unicast
    SAFI";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Enable BGP upgrade group label stack";
                          }
    
                          leaf contains-slow-peer {
                            type boolean;
                            description
                              "This update group contains slow peers";
                          }
    
                          list neighbor {
                            description
                              "Neighbors in this update group which are not in
    any sub-group";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // list neighbor
    
                          list update-sub-group {
                            description
                              "List of child refresh subgroups inBGP update
    group";
                            leaf update-sub-group-number {
                              type uint32;
                              description
                                "Update sub-group index";
                            }
    
                            leaf filter-group {
                              type uint16;
                              description
                                "Update sub-group fgrp-num";
                            }
    
                            leaf wait-for-eo-rs {
                              type boolean;
                              description
                                "Wait for  RT Nbr EoRs";
                            }
    
                            list update-filter-group {
                              description
                                "Update f-group list";
                              leaf update-filter-group-number {
                                type uint32;
                                description
                                  "Update sub-group index";
                              }
    
                              leaf rts {
                                type uint32;
                                description
                                  "RT count per filter group";
                              }
    
                              leaf fgroup-flags {
                                type uint8;
                                description
                                  "Flags per filter group";
                              }
    
                              leaf fgroup-neighbors {
                                type uint16;
                                description
                                  "Nbrs per filter group";
                              }
    
                              leaf fgroup-created-message-elements {
                                type uint32;
                                description
                                  "Number of message elems created for filtergroup";
                              }
    
                              leaf fgroup-deleted-message-elements {
                                type uint32;
                                description
                                  "Number of message elems deleted";
                              }
    
                              leaf fgroup-queued-message-elements {
                                type uint32;
                                description
                                  "Number of message elems queued";
                              }
    
                              leaf fgroup-advertised-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes advertised to filtergroup in
    last update walk";
                              }
    
                              leaf fgroup-total-advertised-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes advertised to filtergroup in
    all update walk";
                              }
    
                              leaf fgroup-withdrawn-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn f`rom filtergroupin
    last update walk";
                              }
    
                              leaf fgroup-total-withdrawn-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn f`rom filtergroupin
    all update walk";
                              }
    
                              leaf fgroup-total-non-optimised-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes  non-optm from filtergroupin
    all update walk";
                              }
    
                              leaf fgroup-skipped-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes skipped for filtergroup in
    last update walk";
                              }
    
                              leaf fgroup-suppressed-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes suppressed for filtergroup in
    last update walk";
                              }
    
                              leaf is-rt-present {
                                type boolean;
                                description
                                  "RT attribute list present";
                              }
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list neighbor {
                                description
                                  "Neighbors in this update sub-group";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // list neighbor
                            }  // list update-filter-group
    
                            list neighbor {
                              description
                                "Neighbors in this subgrp not in any filtergrp";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // list neighbor
                          }  // list update-sub-group
                        }  // list update-group
                      }  // container update-groups
    
                      container update-generation-sub-groups {
                        description
                          "The BGP Update generate entries  for all
    sub-groups";
                        list update-generation-sub-group {
                          description
                            "A BGP Update generate table entry for
    sub-group";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "A BGP Update Group Entry index";
                          }
    
                          leaf sub-group-index {
                            type uint32;
                            description
                              "A BGP Update Sub group Table index";
                          }
    
                          leaf sub-group-id {
                            type uint32;
                            description
                              "A BGP Update Sub group table ID";
                          }
    
                          container creation-timestamp {
                            description
                              "Creation time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container creation-timestamp
    
                          container last-merge-timestamp {
                            description
                              "Last merge time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-merge-timestamp
    
                          container first-update-walk-start-timestamp {
                            description
                              "BGP update generation sub-group start time for
    the first update walk";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-walk-start-timestamp
    
                          container first-update-walk-end-timestamp {
                            description
                              "BGP update generation sub-group end time for
    thefirst update walk";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-walk-end-timestamp
    
                          container last-update-walk-start-timestamp {
                            description
                              "BGP update generation sub-group start for
    thelast update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-walk-start-timestamp
    
                          container last-update-walk-end-timestamp {
                            description
                              "BGP update generation sub-group end time for
    thelast update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-walk-end-timestamp
    
                          container last-update-queued-timestamp {
                            description
                              "Time when last update queued event";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-queued-timestamp
    
                          container update-statistics {
                            description
                              "BGP subgroup statistics update";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf sub-group-index-xr {
                            type uint32;
                            description
                              "Index for BGP sub-group";
                          }
    
                          leaf sub-group-id-xr {
                            type uint32;
                            description
                              "Sub-group ID";
                          }
    
                          leaf parent-sub-group-index {
                            type uint32;
                            description
                              "Index of the  parent sub-group";
                          }
    
                          leaf parent-sub-group-id {
                            type uint32;
                            description
                              "Parent Sub-group identifier";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "Index of the this BGp update group";
                          }
    
                          leaf update-main-table-version {
                            type uint32;
                            description
                              "Main table version";
                          }
    
                          leaf update-vrf-table-rib-version {
                            type uint32;
                            description
                              "VRF Table RIB version";
                          }
    
                          leaf current-update-limit-sub-group {
                            type uint32;
                            description
                              "Current update limit";
                          }
    
                          leaf configured-update-limit-sub-group {
                            type uint32;
                            description
                              "Configured update limit";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue messages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue size";
                          }
    
                          leaf update-throttled {
                            type boolean;
                            description
                              "Flag to verify update throttled in BGPupdate
    generation sub-group";
                          }
    
                          leaf refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of times BGP Update generation
    sub-grouprefreshed";
                          }
    
                          leaf filter-group-count {
                            type uint32;
                            description
                              "Number of filter groups are present in BGPupdate
    generation";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors in the sub-group";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Version up to which we have generated updatesfor
    the entity";
                          }
    
                          leaf nsr-version {
                            type uint32;
                            description
                              "NSR version";
                          }
    
                          leaf pending-target-version {
                            type uint32;
                            description
                              "Target version for pending update generation";
                          }
    
                          leaf next-resume-version {
                            type uint32;
                            description
                              "Version number identifying the next net
    toprocess when an attribute table walk has been
    interrupted";
                          }
    
                          leaf update-refresh-target-version {
                            type uint32;
                            description
                              "Target version for update generation in response
    to arefresh request";
                          }
    
                          leaf io-write-event-pending {
                            type boolean;
                            description
                              "Flag for an event has been sent to the IO thread";
                          }
    
                          leaf merge-count {
                            type uint32;
                            description
                              "Number of times BGP update sub-groups have been
    merged";
                          }
    
                          leaf last-merged-sub-group-index {
                            type uint32;
                            description
                              "BGP subgroup index merge happened last time";
                          }
    
                          leaf eo-r-attempted {
                            type boolean;
                            description
                              "Sending EoR has been attempted";
                          }
    
                          leaf last-update-walk-end-age {
                            type uint32;
                            description
                              "Time since last update walk end event";
                          }
    
                          leaf last-update-queued-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last update queued event (in seconds)";
                          }
                        }  // list update-generation-sub-group
                      }  // container update-generation-sub-groups
    
                      container next-hop-address-families {
                        description
                          "Address family of nexthop table";
                        list next-hop-address-family {
                          key "next-hop-af-name";
                          description
                            "Address family of a nexthop entry";
                          container next-hop-af-vrf-af {
                            description
                              "A BGP Next-hop VRF AF table entry";
                            container performance-statistics {
                              description
                                "BGP next hop virtual routingand forwarding
    performancestatistics";
                              leaf critical-notf-count {
                                type uint32;
                                description
                                  "Number of critical event notifications from RIB";
                              }
    
                              leaf noncritical-notf-count {
                                type uint32;
                                description
                                  "Number of non-critical event notifications from
    RIB";
                              }
    
                              leaf last-notf-bestpath-deletes {
                                type uint32;
                                description
                                  "Number of bestpath deletes due to last
    notification";
                              }
    
                              leaf last-notf-bestpath-changes {
                                type uint32;
                                description
                                  "Number of bestpath changes due to last
    notification";
                              }
    
                              leaf nh-sync-reg-calls {
                                type uint32;
                                description
                                  "NH sync register calls";
                              }
    
                              leaf nha-sync-reg-calls {
                                type uint32;
                                description
                                  "NH async register calls";
                              }
    
                              leaf nha-sync-un-reg-calls {
                                type uint32;
                                description
                                  "NH async unregister calls";
                              }
    
                              leaf nh-pending-registrations {
                                type uint32;
                                description
                                  "NH Registration List Count";
                              }
    
                              leaf nh-peak-registrations {
                                type uint32;
                                description
                                  "NH Registration List Count Peak";
                              }
    
                              leaf nh-batch-finish-calls {
                                type uint32;
                                description
                                  "Count of the batch finish calls for next hop";
                              }
    
                              leaf nh-flush-timer-calls {
                                type uint32;
                                description
                                  "Count of the flush timer calls for net hop";
                              }
    
                              leaf nh-last-sync-reg-ts {
                                type uint32;
                                description
                                  "NH Last sync Register TS";
                              }
    
                              leaf nh-last-a-sync-reg-ts {
                                type uint32;
                                description
                                  "NH Last async Register TS";
                              }
    
                              leaf nh-last-a-sync-un-reg-ts {
                                type uint32;
                                description
                                  "NH Last async UnRegister TS";
                              }
    
                              leaf nh-last-batch-finish-ts {
                                type uint32;
                                description
                                  "NH Last batch finish TS";
                              }
    
                              leaf nh-last-flush-timer-ts {
                                type uint32;
                                description
                                  "NH Last flush timer TS";
                              }
    
                              leaf nhrib-update-calls {
                                type uint32;
                                description
                                  "No. of calls to RIB update function";
                              }
    
                              leaf nhrib-update-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent sending RIB updates (milliseconds)";
                              }
    
                              leaf nexthops-sent-to-rib {
                                type uint32;
                                description
                                  "No. of nexthops sent to RIB";
                              }
    
                              leaf nexthops-resent-to-rib {
                                type uint32;
                                description
                                  "No. of nexthops re-sent to RIB";
                              }
    
                              leaf nexthops-removed-from-rib {
                                type uint32;
                                description
                                  "No. of nexthops withdrawn from RIB";
                              }
    
                              leaf rib-sync-registers-failed {
                                type uint32;
                                description
                                  "No. of sync registers with RIB that failed";
                              }
    
                              leaf riba-sync-registers-failed {
                                type uint32;
                                description
                                  "No. of async registers with RIB that failed";
                              }
    
                              leaf ribnh-reg-failed-for-no-tbl-id {
                                type uint32;
                                description
                                  "No. of nh registers failed because of no tbl-id";
                              }
    
                              leaf ribnh-reg-failed-for-no-rib-conn {
                                type uint32;
                                description
                                  "No. of nh registers failed because of no rib
    conn";
                              }
    
                              leaf tunnel-walk-nh-not-found {
                                type uint32;
                                description
                                  "No. of times nexthop was not found during tunnel
    walk";
                              }
    
                              leaf tunnel-walk-gw-not-found {
                                type uint32;
                                description
                                  "No. of times gw was not found during tunnel walk";
                              }
    
                              leaf tunnel-walk-backup-creates {
                                type uint32;
                                description
                                  "No. of times backup tid created during tunnel
    walk";
                              }
                            }  // container performance-statistics
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf gwaf-name {
                              type Bgp-afi;
                              description
                                "GW Address family identifier";
                            }
    
                            leaf total-nexthops {
                              type uint32;
                              description
                                "Total number of nexthops";
                            }
    
                            leaf critical-trigger-delay {
                              type uint32;
                              description
                                "Trigger delay for critical event processing";
                            }
    
                            leaf non-critical-trigger-delay {
                              type uint32;
                              description
                                "Trigger delay for non-critical event processing";
                            }
    
                            leaf table-active {
                              type boolean;
                              description
                                "Whether the VRF is active";
                            }
    
                            leaf nh-rib-up {
                              type boolean;
                              description
                                "Whether the VRF is active";
                            }
    
                            leaf nh-rib-version {
                              type uint32;
                              description
                                "RIB version for gw_ctx";
                            }
    
                            leaf nh-nexthop-version {
                              type uint32;
                              description
                                "NH version for gw_ctx";
                            }
    
                            leaf nh-table-id {
                              type uint32;
                              description
                                "Gateway context table id";
                            }
    
                            leaf epe-table-version {
                              type uint32;
                              description
                                "Version of the EPE table";
                            }
    
                            leaf epe-label-version {
                              type uint32;
                              description
                                "Version of the EPE label walk";
                            }
    
                            leaf epe-downloaded-version {
                              type uint32;
                              description
                                "Version of the EPE table downloaded";
                            }
    
                            leaf epe-standby-version {
                              type uint32;
                              description
                                "Version of the EPE table processed by sync
    thread";
                            }
                          }  // container next-hop-af-vrf-af
    
                          container next-hop-afs {
                            description
                              "The BGP Next-hop table";
                            list next-hop-af {
                              description
                                "A BGP Next hop entry";
                              leaf next-hop-address {
                                type inet:ip-address-no-zone;
                                description
                                  "IP address of Next hop Entry";
                              }
    
                              leaf attribute-set {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Attribute Set Name";
                              }
    
                              container nexthop-address {
                                description
                                  "IP address of nexthop in BGP";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container nexthop-address
    
                              container nh-tunnel {
                                description
                                  "NH tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container nexthop-internal-info {
                                description
                                  "Internal nexthop info";
                                container nexthop-address {
                                  description
                                    "IP address of the next hop in BGP";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container nexthop-address
    
                                leaf nexthop-id {
                                  type uint32;
                                  description
                                    "Comm librray ID";
                                }
    
                                leaf nexthop-version {
                                  type uint32;
                                  description
                                    "Table version";
                                }
    
                                leaf nexthop-flags {
                                  type uint32;
                                  description
                                    "Flags associated with the next hop address in
    BGP";
                                }
    
                                leaf nexthop-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle associated with the next hop
    address in BGP";
                                }
    
                                leaf nexthop-af-user-bits {
                                  type uint32;
                                  description
                                    "Bitmask indicating the AFs which share the
    nexthop";
                                }
    
                                leaf nexthop-label {
                                  type uint32;
                                  description
                                    "Label associated with the next hop address";
                                }
    
                                leaf gateway-flags {
                                  type uint32;
                                  description
                                    "BGP nexthop gateway flags";
                                }
    
                                list nexthop-metrice {
                                  description
                                    "Metrices associated with the next hop address in
    
    BGP";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Metrices associated with the next hop address in
    
    BGP";
                                  }
                                }  // list nexthop-metrice
    
                                list nexthop-refcount {
                                  description
                                    "reference counts for the next hop";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "reference counts for the next hop";
                                  }
                                }  // list nexthop-refcount
    
                                list nexthop-gateway-internal-info {
                                  description
                                    "Internal nexthop Gateway info";
                                  leaf gateway-flags {
                                    type uint32;
                                    description
                                      "Flags in BGP gateway next hop";
                                  }
    
                                  leaf registration-type {
                                    type Bgp-nh-validate;
                                    description
                                      "Registration type for next hop";
                                  }
    
                                  leaf registration-since {
                                    type uint32;
                                    description
                                      "Time since registration";
                                  }
                                }  // list nexthop-gateway-internal-info
                              }  // container nexthop-internal-info
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf rib-nexthop-id {
                                type uint32;
                                description
                                  "RIB Nexthop Id";
                              }
    
                              leaf nexthop-pending-registration {
                                type uint8;
                                description
                                  "Nexthop registration is pending";
                              }
    
                              leaf nexthop-reference-count {
                                type uint32;
                                description
                                  "Count of neighbors/prefixes referencing this
    nexthop";
                              }
    
                              leaf nh-reference-count-total {
                                type uint32;
                                description
                                  "Count of neighbors/prefixes referencing this
    nexthop (AFs)";
                              }
    
                              leaf nh-first-hop-if-handle {
                                type xr:Interface-name;
                                description
                                  "First-hop interface handle";
                              }
    
                              leaf nexthop-aigp-metric {
                                type uint32;
                                description
                                  "AIGP metrice of nexthop";
                              }
    
                              leaf nexthop-gateway-reachable {
                                type boolean;
                                description
                                  "Flag to indicate if Gateway is reachable";
                              }
    
                              leaf nexthop-gateway-prefix-connected {
                                type boolean;
                                description
                                  "Flag to indicate if Gateway resolved through
    Connected route";
                              }
    
                              leaf nexthop-gateway-prefix-length {
                                type uint32;
                                description
                                  "Gateway prefix length";
                              }
    
                              list nexthop-gateway-info {
                                description
                                  "Gateway related info, including Optimal Route
    Reflector Gateways";
                                container nexthop-route {
                                  description
                                    "Route resolving the nexthop";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container nexthop-route
    
                                leaf nexthop-route-prefix-length {
                                  type uint8;
                                  description
                                    "Prefix length of the route resolving the nexthop";
                                }
    
                                leaf nexthop-route-protocol {
                                  type string;
                                  description
                                    "Protocol that resolves the route to the nexthop";
                                }
    
                                leaf nexthop-route-path-count {
                                  type uint32;
                                  description
                                    "Count of paths in the resolving route";
                                }
    
                                leaf nexthop-af-invalid-bits {
                                  type uint16;
                                  description
                                    "Bitmask indicating the address-family which have
    been invalidated for the nexthop";
                                }
    
                                leaf nexthop-status {
                                  type uint8;
                                  description
                                    "Status of the next hop address";
                                }
    
                                leaf nexthop-tableid {
                                  type uint64;
                                  description
                                    "BGP gateway neighbor route table id";
                                }
    
                                leaf nexthop-metric {
                                  type uint32;
                                  description
                                    "IGP metric for nexthop";
                                }
    
                                leaf orrafi-used-bits {
                                  type uint32;
                                  description
                                    "ORR afi bits";
                                }
    
                                leaf last-event-type {
                                  type Bgp-nh-event;
                                  description
                                    "Last nexthop event type";
                                }
    
                                leaf last-update-type {
                                  type Bgp-nh-update;
                                  description
                                    "Last nexthop update type";
                                }
    
                                leaf critical-events {
                                  type uint32;
                                  description
                                    "Count of critical events received from RIB";
                                }
    
                                leaf non-critical-events {
                                  type uint32;
                                  description
                                    "Count of non-critical events received from RIB";
                                }
    
                                leaf last-event-since {
                                  type uint32;
                                  description
                                    "Time since the last event sent to or received
    from RIB";
                                }
    
                                leaf last-rib-update {
                                  type uint32;
                                  description
                                    "Time since the last rib update happened";
                                }
    
                                leaf nexthop-mpls-enabled {
                                  type boolean;
                                  description
                                    "TRUE if MPLS is configured for IAS/CsC
    application";
                                }
    
                                leaf nexthop-mpls-interfaces {
                                  type uint32;
                                  description
                                    "Count of interfaces on which MPLS is enabled";
                                }
    
                                leaf nexthop-mpls-label {
                                  type uint32;
                                  description
                                    "Local label allocated for IAS/CsC application";
                                }
    
                                list nexthop-route-path {
                                  description
                                    "Nexthop paths of the resolving route";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // list nexthop-route-path
                              }  // list nexthop-gateway-info
    
                              list neighbor-address {
                                description
                                  "Neighbor Address List";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // list neighbor-address
                            }  // list next-hop-af
                          }  // container next-hop-afs
    
                          leaf next-hop-af-name {
                            type dt1:Bgp-address-family;
                            description
                              "Address family";
                          }
                        }  // list next-hop-address-family
                      }  // container next-hop-address-families
    
                      container rt-set-counters {
                        description
                          "The RT-set counter table";
                        list rt-set-counter {
                          key "rt-set-id";
                          description
                            "One RT-set counter table entry";
                          leaf rt-set-id {
                            type uint32;
                            description
                              "Identifier of RTSet";
                          }
    
                          container route-target-set {
                            description
                              "BGP route target set";
                            leaf rt-set-len {
                              type uint8;
                              units "byte";
                              description
                                "Length in bytes of set of route targets";
                            }
    
                            leaf rt-set-id {
                              type uint32;
                              description
                                "Identifier of the rtset";
                            }
    
                            leaf rt-set-net-count {
                              type uint32;
                              description
                                "Count of nets with paths with the rtset";
                            }
    
                            list rt-set {
                              description
                                "Set of route targets";
                              leaf entry {
                                type uint8;
                                description
                                  "Set of route targets";
                              }
                            }  // list rt-set
                          }  // container route-target-set
                        }  // list rt-set-counter
                      }  // container rt-set-counters
    
                      container bmp-paths {
                        description
                          "The paths in BMP Table";
                        list bmp-path {
                          key "network";
                          description
                            "A BMP path table entry";
                          leaf network {
                            type inet:ip-prefix;
                            description
                              "Network in prefix/length format";
                          }
    
                          container bgp-prefix {
                            description
                              "BGP prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bgp-prefix
    
                          container version-timestamp {
                            description
                              "Net Version bump timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-timestamp
    
                          container version-age {
                            description
                              "Net Version bump age";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-age
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf bmp-net-flags {
                            type uint32;
                            description
                              "Flags associated with net";
                          }
    
                          leaf bmp-net-version {
                            type uint32;
                            description
                              "Net's version";
                          }
    
                          leaf num-of-path {
                            type uint32;
                            description
                              "Number of path for the net";
                          }
    
                          leaf has-local-label {
                            type boolean;
                            description
                              "Flag to indicate if local label is present in
    netbag";
                          }
    
                          leaf net-local-label {
                            type uint32;
                            description
                              "Local label";
                          }
    
                          list bmp-path {
                            description
                              "List of paths under the BMP net";
                            container neighbor-address {
                              description
                                "BGP monitoring protocolip address of neighbor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf bmp-path-flags {
                              type uint32;
                              description
                                "Flags associated with path";
                            }
    
                            leaf bmp-path-adv-bit-map {
                              type uint16;
                              description
                                "Path's Adv bit map";
                            }
    
                            leaf bmp-path-snd-bit-map {
                              type uint16;
                              description
                                "Path's pending snd bit map";
                            }
    
                            leaf bmp-nbr-bit-map {
                              type uint32;
                              description
                                "Paths Nbr bmp bit map";
                            }
    
                            leaf local-path {
                              type boolean;
                              description
                                "Is path originated locally?";
                            }
    
                            leaf bpath-pointer {
                              type uint64;
                              description
                                "BGP Path pointer";
                            }
    
                            list received-label {
                              description
                                "Set of received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Set of received label stack";
                              }
                            }  // list received-label
                          }  // list bmp-path
                        }  // list bmp-path
                      }  // container bmp-paths
    
                      container update-generation-update-groups {
                        description
                          "The BGP Update generate entries for all
    update-groups";
                        list update-generation-update-group {
                          key "update-group-index";
                          description
                            "A BGP Update Generate Group Entry";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Update group index of the update-group table";
                          }
    
                          container last-update-timer-start-timestamp {
                            description
                              "Start timer update for the last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-start-timestamp
    
                          container last-update-timer-stop-timestamp {
                            description
                              "Timer stop time for the last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-stop-timestamp
    
                          container last-update-timer-expiry-timestamp {
                            description
                              "Timer expiry time update for last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-expiry-timestamp
    
                          container last-update-timer-remaining-value {
                            description
                              "Update timer remaining time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-remaining-value
    
                          container last-update-timer-delay-value {
                            description
                              "Number of timer delayed for the last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-delay-value
    
                          container update-statistics {
                            description
                              "BGP update-group update statistics";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf neighbor-session-af-name {
                            type uint8;
                            description
                              "Neighbor session address family";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "Index of the BGP update group";
                          }
    
                          leaf update-group-flags2 {
                            type uint32;
                            description
                              "Update-group internal flags2";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue Messages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue Size";
                          }
    
                          leaf update-sub-group-count {
                            type uint32;
                            description
                              "Sub-group count";
                          }
    
                          leaf sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled sub-group count";
                          }
    
                          leaf refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of temporary refresh sub groups";
                          }
    
                          leaf refresh-sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled refresh sub-group count";
                          }
    
                          leaf filter-group-count {
                            type uint32;
                            description
                              "Number of filter groups in BGP update generation";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors present in BGp update
    generation";
                          }
    
                          leaf neighbor-leaving-count {
                            type uint32;
                            description
                              "Count of neighbors leaving the update-group";
                          }
    
                          leaf update-generation-recovery-pending {
                            type boolean;
                            description
                              "Flag to indicate if update generation recovery
    is pending";
                          }
    
                          leaf last-update-timer-expiry-age {
                            type uint32;
                            description
                              "Time since last update timer expiry event";
                          }
    
                          leaf is-update-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if timer is  running";
                          }
    
                          leaf perm-pelem-encountered {
                            type uint32;
                            description
                              "Count of Perm Pelems seen by updgen";
                          }
    
                          leaf perm-pelem-allowed {
                            type uint32;
                            description
                              "Count of Perm Pelems allowed by updgen";
                          }
    
                          leaf perm-pelem-not-allowed {
                            type uint32;
                            description
                              "Count of Perm Pelems not allowed by updgen";
                          }
    
                          leaf perm-pelem-exp-wdr {
                            type uint32;
                            description
                              "Count of Perm Pelems explicitly wdrn by updgen";
                          }
    
                          leaf perm-pelem-spur-wdr {
                            type uint32;
                            description
                              "Count of Perm Pelems Spurious withdraws by
    updgen";
                          }
    
                          leaf is-permanent {
                            type boolean;
                            description
                              "Permanent UG check";
                          }
                        }  // list update-generation-update-group
                      }  // container update-generation-update-groups
    
                      container update-generation-filter-groups {
                        description
                          "Update generation for all filter-groups under
    a sub-group";
                        list update-generation-filter-group {
                          description
                            "A BGP Update generate table entry for
    filter-group";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "A BGP Update Group Entry index";
                          }
    
                          leaf sub-group-index {
                            type uint32;
                            description
                              "A BGP Update Sub group Table index";
                          }
    
                          leaf sub-group-id {
                            type uint32;
                            description
                              "A BGP Update Sub group table ID";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "A BGP Filter group Table index";
                          }
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-filter-group-index {
                            type uint32;
                            description
                              "Filter-group index";
                          }
    
                          leaf parent-filter-group-index {
                            type uint32;
                            description
                              "In refresh sub group points to the
    correspondingfilter group in parent subgroup
    index";
                          }
    
                          leaf sub-group-index-xr {
                            type uint32;
                            description
                              "Index for the sub-group used when accessing bits";
                          }
    
                          leaf sub-group-id-xr {
                            type uint32;
                            description
                              "Sub-group identifier";
                          }
    
                          leaf parent-sub-group-index {
                            type uint32;
                            description
                              "Index for the subgroup of parent";
                          }
    
                          leaf parent-sub-group-id {
                            type uint32;
                            description
                              "Parent Sub-group identifier";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "BGP update generation index of update-group";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors in this BGP filter-group";
                          }
                        }  // list update-generation-filter-group
                      }  // container update-generation-filter-groups
    
                      container networks {
                        description
                          "The BGP Network Table";
                        list network {
                          description
                            "A BGP Network table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          container bgp-prefix {
                            description
                              "BGP prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bgp-prefix
    
                          container version-timestamp {
                            description
                              "BGP network version timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-timestamp
    
                          container version-age {
                            description
                              "BGP network age of version";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-age
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "ID of the BGP process instance";
                          }
    
                          leaf has-inconsistent-paths {
                            type boolean;
                            description
                              "Flag to indicate if inconsistent paths attached
    to net";
                          }
    
                          leaf is-net-aggregation-suppressed {
                            type boolean;
                            description
                              "Net suppressed due to aggregation";
                          }
    
                          leaf is-net-ldp-signaled {
                            type boolean;
                            description
                              "L2VPN Net LDP signaled  aggregation";
                          }
    
                          leaf table-version {
                            type uint32;
                            description
                              "Table version # for net";
                          }
    
                          leaf table-brib-version {
                            type uint32;
                            description
                              "Table version # for updates";
                          }
    
                          leaf advertisedto-pe {
                            type boolean;
                            description
                              "Net could be advertised
    to PE peers";
                          }
    
                          leaf has-local-label {
                            type boolean;
                            description
                              "Flag to indicate if local BGP labelassociated
    with the net";
                          }
    
                          leaf net-local-label {
                            type uint32;
                            description
                              "Local label";
                          }
    
                          leaf net-label-mode {
                            type uint32;
                            description
                              "Label mode";
                          }
    
                          leaf net-local-label-rewrite {
                            type boolean;
                            description
                              "Net label has rewrite";
                          }
    
                          leaf net-local-label-srgb {
                            type boolean;
                            description
                              "Net label allocated fromSegment routing global
    block";
                          }
    
                          leaf has-lbl-retained {
                            type boolean;
                            description
                              "Flag to indicate if BGP network labels are
    retained ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP network Route Distinguisher";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf net-flags {
                            type uint32;
                            description
                              "Flags associated with
    net";
                          }
    
                          leaf net-extended-flags {
                            type uint32;
                            description
                              "BGP network flags for extendedcommunity";
                          }
    
                          leaf net-multipath {
                            type boolean;
                            description
                              "Net has multipaths";
                          }
    
                          leaf net-eibgp-multipath {
                            type boolean;
                            description
                              "Net has EIBGP multipaths";
                          }
    
                          leaf net-backup-available {
                            type boolean;
                            description
                              "Net has backup path";
                          }
    
                          leaf net-backup-label-rewrite-available {
                            type boolean;
                            description
                              "Net has label rewrite for backup path";
                          }
    
                          leaf rib-failed {
                            type boolean;
                            description
                              "RIB install failed";
                          }
    
                          leaf gateway-array {
                            type uint32;
                            description
                              "ID for the gateway array";
                          }
    
                          leaf resilient-nexthop-set {
                            type uint32;
                            description
                              "ID for the Resilient per CEnexthop set";
                          }
    
                          leaf is-permanent-network {
                            type boolean;
                            description
                              "Flag that indicates that the networkhas
    permanent path";
                          }
    
                          leaf num-of-path {
                            type uint32;
                            description
                              "Number of path for this net";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "The version of the the radix tree";
                          }
    
                          leaf bit {
                            type uint16;
                            description "Bit";
                          }
    
                          leaf flags {
                            type uint8;
                            description "Flags";
                          }
    
                          leaf has-srv6-sid-allocated {
                            type boolean;
                            description
                              "Net has SRv6 SID allocated";
                          }
    
                          leaf srv6-sid-address {
                            type Ipv6-address;
                            description
                              "SRv6 SID address value";
                          }
    
                          leaf srv6-sid-address-len {
                            type uint32;
                            description
                              "SRv6 SID address Length";
                          }
    
                          list local-peers-advertised-to {
                            description
                              "Local peers that this prefix has been advertised
    to";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list local-peers-advertised-to
    
                          list pe-peers-advertised-to {
                            description
                              "PE peers that this prefix has been advertised to";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list pe-peers-advertised-to
    
                          list best-path-orrbitfield {
                            description
                              "ORR Best path Bitfields";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list best-path-orrbitfield
    
                          list add-path-orrbitfield {
                            description
                              "ORR Add path Bitfields";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list add-path-orrbitfield
    
                          list local-process-instance-path {
                            description
                              "Local (to process instance) paths for this net ";
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list local-process-instance-path
    
                          list active-process-instance-path {
                            description
                              "Path for this net from BGP active instance
    process";
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list active-process-instance-path
    
                          list local-path-element {
                            description
                              "BGP network elements list of thelocal path";
                            container pelem-path-nexthop {
                              description
                                "Path nexthop address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-nexthop
    
                            container nh-tunnel {
                              description
                                "NH tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container pelem-path-neighbor-addr {
                              description
                                "Path neighbor address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-neighbor-addr
    
                            leaf pelem-path-id {
                              type uint32;
                              description
                                "Local Path ID";
                            }
    
                            leaf pelem-version {
                              type uint32;
                              description
                                "Version";
                            }
    
                            leaf pelem-flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf pelem-gw-metric {
                              type uint32;
                              description
                                "Gateway metric";
                            }
    
                            leaf pelem-path-flags {
                              type uint64;
                              description
                                "Path flags";
                            }
    
                            leaf pelem-path-peer-path-id {
                              type uint32;
                              description
                                "Path peer path ID";
                            }
    
                            leaf pelem-table-attr-version {
                              type uint32;
                              description
                                "Table Attr version";
                            }
    
                            leaf pelem-path-table-attr-version {
                              type uint32;
                              description
                                "Path Table Attribute version";
                            }
    
                            leaf pelem-no-bestpath-table-attr-version {
                              type uint32;
                              description
                                "BGP network no best path tableattribute version
    number";
                            }
    
                            leaf pelem-no-addpath-table-attr-version {
                              type uint32;
                              description
                                "The version of the no addpath table attribute";
                            }
    
                            leaf is-perm-path-pelem {
                              type boolean;
                              description
                                "Pelem for permanent path";
                            }
                          }  // list local-path-element
    
                          list active-path-element {
                            description
                              "Path element list received from Active inst";
                            container pelem-path-nexthop {
                              description
                                "Path nexthop address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-nexthop
    
                            container nh-tunnel {
                              description
                                "NH tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container pelem-path-neighbor-addr {
                              description
                                "Path neighbor address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-neighbor-addr
    
                            leaf pelem-path-id {
                              type uint32;
                              description
                                "Local Path ID";
                            }
    
                            leaf pelem-version {
                              type uint32;
                              description
                                "Version";
                            }
    
                            leaf pelem-flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf pelem-gw-metric {
                              type uint32;
                              description
                                "Gateway metric";
                            }
    
                            leaf pelem-path-flags {
                              type uint64;
                              description
                                "Path flags";
                            }
    
                            leaf pelem-path-peer-path-id {
                              type uint32;
                              description
                                "Path peer path ID";
                            }
    
                            leaf pelem-table-attr-version {
                              type uint32;
                              description
                                "Table Attr version";
                            }
    
                            leaf pelem-path-table-attr-version {
                              type uint32;
                              description
                                "Path Table Attribute version";
                            }
    
                            leaf pelem-no-bestpath-table-attr-version {
                              type uint32;
                              description
                                "BGP network no best path tableattribute version
    number";
                            }
    
                            leaf pelem-no-addpath-table-attr-version {
                              type uint32;
                              description
                                "The version of the no addpath table attribute";
                            }
    
                            leaf is-perm-path-pelem {
                              type boolean;
                              description
                                "Pelem for permanent path";
                            }
                          }  // list active-path-element
                        }  // list network
                      }  // container networks
    
                      container path-table {
                        description
                          "The BGP Path Table";
                        list path {
                          description
                            "A BGP path table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address for the BGP neighbor";
                          }
    
                          leaf route-type {
                            type Bgp-route;
                            description
                              "Route Type";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list path
                      }  // container path-table
    
                      container mvpn-rt-list {
                        description
                          "A BGP Multicast VPN Route Target List for
    address-family";
                        container mvpn-extcomm-list {
                          description
                            "Prefix list";
                          list bgp-mvpn-extcomm {
                            description
                              "Next entry in prefix list";
                            leaf ext-comm-value {
                              type yang:hex-string;
                              description
                                "Extended community value";
                            }
    
                            leaf ext-comm-is-stale {
                              type boolean;
                              description
                                "Extended community is stale";
                            }
                          }  // list bgp-mvpn-extcomm
                        }  // container mvpn-extcomm-list
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identfier";
                        }
    
                        leaf vrf-ri-exist {
                          type boolean;
                          description
                            "Is Vrf ri existing";
                        }
    
                        leaf router-address {
                          type inet:ipv4-address;
                          description
                            "PE address";
                        }
    
                        leaf vrf-index {
                          type uint16;
                          description
                            "Vrf index";
                        }
    
                        leaf seg-nh-exist {
                          type boolean;
                          description
                            "Is segmented nh existing";
                        }
    
                        leaf seg-nh-address {
                          type inet:ipv4-address;
                          description
                            "Segmented nexthop";
                        }
    
                        leaf source-as-exist {
                          type boolean;
                          description
                            "Is source as exising";
                        }
    
                        leaf source-as {
                          type uint32;
                          description
                            "Source As number";
                        }
    
                        leaf vrf-ri-exist-m {
                          type boolean;
                          description
                            "Is Vrf ri existing for mcast";
                        }
    
                        leaf router-address-m {
                          type inet:ipv4-address;
                          description
                            "PE address for mcast";
                        }
    
                        leaf vrf-index-m {
                          type uint16;
                          description
                            "Vrf index for mcast";
                        }
    
                        leaf seg-nh-exist-m {
                          type boolean;
                          description
                            "Is segmented nh existing for mcast";
                        }
    
                        leaf seg-nh-address-m {
                          type inet:ipv4-address;
                          description
                            "Segmented nexthop for mcast";
                        }
    
                        leaf source-as-exist-m {
                          type boolean;
                          description
                            "Is source as exising for mcast";
                        }
    
                        leaf source-as-m {
                          type uint32;
                          description
                            "Source As number for mcast";
                        }
    
                        leaf connector-src-exist {
                          type boolean;
                          description
                            "Is Connector src existing";
                        }
    
                        leaf connector-src {
                          type inet:ipv4-address;
                          description
                            "Connector src";
                        }
                      }  // container mvpn-rt-list
    
                      container recent-prefixes {
                        description
                          "BGP Recent Prefix Table";
                        list recent-prefix {
                          description
                            "BGP Recent Prefix";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          container bgp-prefix {
                            description
                              "BGP prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bgp-prefix
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list recent-prefix
                      }  // container recent-prefixes
    
                      container advertised-path-counts {
                        description
                          "The BGP Advertised paths table (bestpath)";
                        list advertised-path-count {
                          key "neighbor-address";
                          description
                            "The BGP Advertised path table Count
    (bestpath)";
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          leaf max-prefix-advertisedcount {
                            type uint32;
                            description
                              "Number of prefixes advertsied to neighbor";
                          }
                        }  // list advertised-path-count
                      }  // container advertised-path-counts
    
                      container path-labeled-table {
                        description
                          "The BGP Path Labeled Table";
                        list path {
                          description
                            "A BGP path table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address for the BGP neighbor";
                          }
    
                          leaf route-type {
                            type Bgp-route;
                            description
                              "Route Type";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list path
                      }  // container path-labeled-table
    
                      container orr-group-table-entries {
                        description
                          "The BGP Optimal Route Reflection Group Table";
                        list orr-group-table-entry {
                          key "orr-grp-name";
                          description
                            "A BGP Optimal Route Reflection Group Table
    Entry";
                          leaf orr-grp-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "The BGP Optimal Route Reflection Group Name";
                          }
    
                          container orr-root-address {
                            description
                              "ORR Root Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container orr-root-address
    
                          container orr-sec-root-address {
                            description
                              "ORR Sec Root Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container orr-sec-root-address
    
                          container orr-ter-root-address {
                            description
                              "ORR ter Root Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container orr-ter-root-address
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configured";
                          }
    
                          leaf is-orr-sec-root-address-configured {
                            type boolean;
                            description
                              "ORR Sec Root address configured";
                          }
    
                          leaf is-orr-ter-root-address-configured {
                            type boolean;
                            description
                              "ORR Ter Root address configured";
                          }
    
                          leaf orr-neighbor-count {
                            type uint32;
                            description
                              "ORR neighbor count";
                          }
    
                          leaf orr-index {
                            type uint32;
                            description
                              "ORR index";
                          }
    
                          leaf orr-tableid {
                            type uint32;
                            description
                              "ORR Group tableid";
                          }
                        }  // list orr-group-table-entry
                      }  // container orr-group-table-entries
    
                      container advertised-paths {
                        description
                          "The BGP Advertised paths table (add-paths)";
                        list advertised-path {
                          description
                            "A BGP Advertised paths table entry
    (add-paths)";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "Neighbor ";
                          }
    
                          list paths {
                            description
                              "BGP paths information";
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list paths
    
                          list adv-path-info {
                            description
                              "Net Advertized Paths";
                            container neighbor-address-xr {
                              description
                                "Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address-xr
    
                            container path-info-after-policy-in {
                              description
                                "Path information after inbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-in
    
                            container path-info-after-policy-out {
                              description
                                "Path information after outbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-out
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            container attributes-after-policy-out {
                              description
                                "Attributes after outbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-out
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path with advertised Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path advertised Source Route Distinguisher";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list adv-path-info
                        }  // list advertised-path
                      }  // container advertised-paths
    
                      container neighbor-af-table {
                        description
                          "The BGP Neighbor AF table";
                        list neighbor {
                          key "neighbor-address";
                          description
                            "A BGP Neighbor table entry";
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container connection-local-address {
                            description
                              "Local address for the connection";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container connection-local-address
    
                          container connection-remote-address {
                            description
                              "Remote address for the connection";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container connection-remote-address
    
                          container send-notification-info {
                            description
                              "Information on the last notification sent";
                            leaf time-since-last-notification {
                              type uint32;
                              units "second";
                              description
                                "Time since the last notification was sent or
    received (seconds)";
                            }
    
                            leaf notification-error-code {
                              type uint8;
                              description
                                "Error code in last notification";
                            }
    
                            leaf notification-error-subcode {
                              type uint8;
                              description
                                "Error subcode in last notification";
                            }
    
                            list last-notification-data {
                              description
                                "Message data in last notification";
                              leaf entry {
                                type uint8;
                                description
                                  "Message data in last notification";
                              }
                            }  // list last-notification-data
                          }  // container send-notification-info
    
                          container received-notification-info {
                            description
                              "Information on the last notification received";
                            leaf time-since-last-notification {
                              type uint32;
                              units "second";
                              description
                                "Time since the last notification was sent or
    received (seconds)";
                            }
    
                            leaf notification-error-code {
                              type uint8;
                              description
                                "Error code in last notification";
                            }
    
                            leaf notification-error-subcode {
                              type uint8;
                              description
                                "Error subcode in last notification";
                            }
    
                            list last-notification-data {
                              description
                                "Message data in last notification";
                              leaf entry {
                                type uint8;
                                description
                                  "Message data in last notification";
                              }
                            }  // list last-notification-data
                          }  // container received-notification-info
    
                          container performance-statistics {
                            description
                              "BGP neighbor performance statistics";
                            leaf read-throttles {
                              type uint32;
                              description
                                "Number of partial read throttles";
                            }
    
                            leaf low-throttled-read {
                              type uint32;
                              description
                                "Num socket reads after nbrs crossed low
    threshold";
                            }
    
                            leaf high-throttled-read {
                              type uint32;
                              description
                                "Num of socket reads after nbr crossed high
    threshold";
                            }
    
                            leaf time-since-last-throttled-read {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last read after being
    throttled";
                            }
    
                            leaf read-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to read inbound data";
                            }
    
                            leaf read-messages-count {
                              type uint32;
                              description
                                "Number of BGP messages read";
                            }
    
                            leaf data-bytes-read {
                              type uint32;
                              units "byte";
                              description
                                "No. of bytes of data read";
                            }
    
                            leaf io-read-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent reading inbound data (milliseconds)";
                            }
    
                            leaf write-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to write outbound data";
                            }
    
                            leaf data-bytes-written {
                              type uint32;
                              units "byte";
                              description
                                "Number of bytes that havesent to peers";
                            }
    
                            leaf io-write-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent writing outbound data (milliseconds)";
                            }
    
                            leaf last-sent-seq-no {
                              type uint32;
                              description
                                "Seq No of the last sent byte";
                            }
    
                            leaf write-subgroup-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to process sub-group
    message list";
                            }
    
                            leaf write-subgroup-messages-count {
                              type uint32;
                              description
                                "Number of sub-group msgs processed";
                            }
    
                            leaf subgroup-list-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent processing sub-group message list
    (milliseconds)";
                            }
    
                            leaf write-queue-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to process write queue";
                            }
    
                            leaf write-queue-messages-count {
                              type uint32;
                              description
                                "Number of write queue messages processed";
                            }
    
                            leaf write-queue-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent processing write queue (milliseconds)";
                            }
    
                            leaf inbound-update-messages {
                              type uint32;
                              description
                                "Number of inbound update messages processed";
                            }
    
                            leaf inbound-update-messages-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent processing inbound update messages
    (milliseconds)";
                            }
    
                            leaf maximum-read-size {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Size of largest socket (milliseconds)";
                            }
    
                            leaf actives {
                              type uint32;
                              description
                                "Number of retried Active opens for this neighbor";
                            }
    
                            leaf failed-post-actives {
                              type uint32;
                              description
                                "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                            }
    
                            leaf passives {
                              type uint32;
                              description
                                "Number of retried Passive opens for this
    neighbor";
                            }
    
                            leaf rejected-passives {
                              type uint32;
                              description
                                "Number of rejected Passive opens for this
    neighbor";
                            }
    
                            leaf active-collision {
                              type uint32;
                              description
                                "Number of Closed Active connections for this
    neighbor due to collision ";
                            }
    
                            leaf passive-collision {
                              type uint32;
                              description
                                "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                            }
    
                            leaf control-to-read-thread-trigger {
                              type uint32;
                              description
                                "Number of times io-control thread trigger read
    thread";
                            }
    
                            leaf control-to-write-thread-trigger {
                              type uint32;
                              description
                                "Number of times io-control thread trigger write
    thread";
                            }
    
                            leaf network-status {
                              type uint32;
                              description
                                "Socket status, TRUE if socket closed";
                            }
    
                            leaf reset-flags {
                              type uint32;
                              description
                                "Reset flags, per thread";
                            }
    
                            leaf nbr-flags {
                              type uint32;
                              description
                                "Nbr flags, per thread";
                            }
    
                            leaf nbr-fd {
                              type int32;
                              description
                                "Primary FD, per nbr";
                            }
    
                            leaf reset-retries {
                              type uint8;
                              description
                                "Reset Retries, per nbr";
                            }
    
                            leaf sync-flags {
                              type uint32;
                              description
                                "Sync flags, per nbr";
                            }
    
                            leaf nsr-oper-down-count {
                              type uint32;
                              description
                                "Number of times NSR scoped sync has been done";
                            }
    
                            leaf last-nsr-scoped-sync {
                              type uint32;
                              description
                                "Last time NSR scoped syncwas done for the
    neighbor";
                            }
                          }  // container performance-statistics
    
                          container message-statistics {
                            description
                              "BGP neighbor message statistics";
                            container open {
                              description "Open";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container open
    
                            container notification {
                              description
                                "BGP neighbor messagestatistics notification";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container notification
    
                            container update {
                              description
                                "BGP neighbor message statisticsupdate";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container update
    
                            container keepalive {
                              description
                                "Message sent between BGP neighborsto check the
    link between is operating";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container keepalive
    
                            container route-refresh {
                              description
                                "BGP neighbor message statisticsroute refresh";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container route-refresh
    
                            container total {
                              description
                                "Total";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container total
                          }  // container message-statistics
    
                          container tcp-init-sync-time-spec {
                            description
                              "Time When neighbor entered TCP Init Sync";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container tcp-init-sync-time-spec
    
                          container tcp-init-sync-phase-two-time-spec {
                            description
                              "Time when neighbor entered TCP Init Sync Phase
    Two";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container tcp-init-sync-phase-two-time-spec
    
                          container tcp-init-sync-done-time-spec {
                            description
                              "Time when neighbor entered TCP Init Sync Done";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container tcp-init-sync-done-time-spec
    
                          container graceful-maintenance {
                            description
                              "Globally activated BGp neighborfor graceful
    shutdown";
                            leaf gshut-exists {
                              type boolean;
                              description
                                "Graceful Maintenance enabled";
                            }
    
                            leaf gshut-local-active {
                              type boolean;
                              description
                                "Graceful Maintenance locally activated";
                            }
    
                            leaf gshut-active {
                              type boolean;
                              description
                                "Graceful Maintenance activated";
                            }
    
                            leaf gshut-locpref-set {
                              type boolean;
                              description
                                "Graceful Maintenance Local Preference set";
                            }
    
                            leaf gshut-locpref {
                              type uint32;
                              description
                                "Graceful Maintenance Local Preference";
                            }
    
                            leaf gshut-prepends {
                              type uint8;
                              description
                                "Graceful Maintenance number of AS prepends";
                            }
    
                            leaf gshut-interface-active {
                              type boolean;
                              description
                                "Graceful Maintenance activated at Interface";
                            }
    
                            leaf gshut-location-active {
                              type boolean;
                              description
                                "Graceful Maintenance activated at Location";
                            }
                          }  // container graceful-maintenance
    
                          leaf speaker-id {
                            type uint8;
                            description
                              "Speaker this neighbor is allocated to";
                          }
    
                          leaf description {
                            type string;
                            description
                              "BGP neighbor description";
                          }
    
                          leaf local-as {
                            type uint32;
                            description
                              "Local AS number";
                          }
    
                          leaf remote-as {
                            type uint32;
                            description
                              "Remote AS number";
                          }
    
                          leaf has-internal-link {
                            type boolean;
                            description
                              "Internal link to neighbor";
                          }
    
                          leaf is-external-neighbor-not-directly-connected {
                            type boolean;
                            description
                              "Flag to indicate neighbor is external and not
    directly connected";
                          }
    
                          leaf messages-received {
                            type uint32;
                            description
                              "Number of messages received";
                          }
    
                          leaf messages-sent {
                            type uint32;
                            description
                              "Number of messages sent";
                          }
    
                          leaf update-messages-in {
                            type uint32;
                            description
                              "No. of update msgs received";
                          }
    
                          leaf update-messages-out {
                            type uint32;
                            description
                              "No. of update messages sent";
                          }
    
                          leaf messages-queued-in {
                            type uint32;
                            description
                              "No. of msgs on receive queue";
                          }
    
                          leaf messages-queued-out {
                            type uint32;
                            description
                              "No. of messages on send queue";
                          }
    
                          leaf connection-established-time {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) that the connection has been
    established";
                          }
    
                          leaf connection-state {
                            type Bgp-conn-state;
                            description
                              "State of connection";
                          }
    
                          leaf previous-connection-state {
                            type uint32;
                            description
                              "Previous state of connection";
                          }
    
                          leaf connection-admin-status {
                            type uint32;
                            description
                              "Administrative status of connection";
                          }
    
                          leaf open-check-error-code {
                            type Bgp-open-check-err;
                            description
                              "Error code for open check failure forBGP
    neighbor";
                          }
    
                          leaf is-local-address-configured {
                            type boolean;
                            description
                              "Local address configured for the neighbor
    connection";
                          }
    
                          leaf connection-local-port {
                            type uint32;
                            description
                              "Local port for the connection";
                          }
    
                          leaf connection-remote-port {
                            type uint32;
                            description
                              "Remote port for the connection";
                          }
    
                          leaf neighbor-interface-handle {
                            type uint32;
                            description
                              "Interface Handle of Neighbor";
                          }
    
                          leaf reset-notification-sent {
                            type boolean;
                            description
                              "Notification was sent during last reset";
                          }
    
                          leaf is-administratively-shut-down {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor is
    administratively shut down";
                          }
    
                          leaf is-neighbor-max-prefix-shutdown {
                            type boolean;
                            description
                              "Neighbor shut down because it exceeded max prfx
    count";
                          }
    
                          leaf is-out-of-memory-shutdown {
                            type boolean;
                            description
                              "Neighbor shut down during a SEVERE low memory
    condition";
                          }
    
                          leaf is-out-of-memory-forced-up {
                            type boolean;
                            description
                              "Neighbor forced up during a low memory condition";
                          }
    
                          leaf is-ebgp-peer-as-league {
                            type boolean;
                            description
                              "EBGP peer belongs to AS League";
                          }
    
                          leaf is-ebgp-peer-common-admin {
                            type boolean;
                            description
                              "EBGP peer with common administation";
                          }
    
                          leaf ttl-security-enabled {
                            type boolean;
                            description
                              "TTL Security enabled";
                          }
    
                          leaf suppress4-byte-as {
                            type boolean;
                            description
                              "Suppress 4byteas capability";
                          }
    
                          leaf bfd-session-state {
                            type Bgp-bfd-state;
                            description
                              "BFD state for this peer";
                          }
    
                          leaf bfd-session-created-state {
                            type Bgp-bfd-state;
                            description
                              "BFD state for this peer";
                          }
    
                          leaf bfd-session-enable-mode {
                            type Bgp-bfd-enable-mode;
                            description
                              "BFD enable mode for this peer";
                          }
    
                          leaf bfd-minintervalval {
                            type uint32;
                            description
                              "BFD Mininterval for this peer";
                          }
    
                          leaf bfd-multiplierval {
                            type uint32;
                            description
                              "BFD Multiplier for this peer";
                          }
    
                          leaf bfd-state-ts {
                            type uint64;
                            description
                              "Timestamp since when nbr is in this bfd state";
                          }
    
                          leaf router-id {
                            type inet:ipv4-address;
                            description
                              "Router ID for the neighbor";
                          }
    
                          leaf negotiated-protocol-version {
                            type uint16;
                            description
                              "Negotiated protocol version with the BGP
    neighbor";
                          }
    
                          leaf ebgp-time-to-live {
                            type uint32;
                            description
                              "Maximum number of hops for external BGP neighbor";
                          }
    
                          leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                            type boolean;
                            description
                              "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                          }
    
                          leaf tcpmss {
                            type uint32;
                            description
                              "Neighbor TCP Maximum Segment
    size";
                          }
    
                          leaf msg-log-in {
                            type uint32;
                            description
                              "Message in log count";
                          }
    
                          leaf msg-log-out {
                            type uint32;
                            description
                              "Message out log count";
                          }
    
                          leaf neighbor-local-as {
                            type uint32;
                            description
                              "Local AS configured on the neighbor";
                          }
    
                          leaf local-as-no-prepend {
                            type boolean;
                            description
                              "Option to not prepend the Local AS to
    announcements";
                          }
    
                          leaf is-capability-negotiation-suppressed {
                            type boolean;
                            description
                              "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                          }
    
                          leaf is-capability-negotiation-performed {
                            type boolean;
                            description
                              "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                          }
    
                          leaf is-route-refresh-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if the neighbor supports
    route-refresh was received";
                          }
    
                          leaf is-route-refresh-old-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                          }
    
                          leaf is-gr-aware {
                            type boolean;
                            description
                              "GR awareness received";
                          }
    
                          leaf is4-byte-as-capability-received {
                            type boolean;
                            description
                              "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                          }
    
                          leaf is4-byte-as-capability-sent {
                            type boolean;
                            description
                              "4-byte AScapability Snt";
                          }
    
                          leaf multi-protocol-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if multi-protocol capability
    has been received";
                          }
    
                          leaf hold-time {
                            type uint16;
                            units "second";
                            description
                              "Hold time (in secs) negotiated for this
    connection";
                          }
    
                          leaf keep-alive-time {
                            type uint16;
                            units "second";
                            description
                              "Keepalive time (in secs) negotiated for this
    connection";
                          }
    
                          leaf configured-hold-time {
                            type uint16;
                            units "second";
                            description
                              "Hold time (in secs) configured for this
    connection";
                          }
    
                          leaf configured-keepalive {
                            type uint16;
                            units "second";
                            description
                              "Keepalive time (in secs) configured for this
    connection";
                          }
    
                          leaf configured-min-acc-hold-time {
                            type uint16;
                            units "second";
                            description
                              "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                          }
    
                          leaf min-advertise-interval {
                            type uint32;
                            units "second";
                            description
                              "Minimum advertisement interval, secs part";
                          }
    
                          leaf min-advertise-interval-msecs {
                            type uint32;
                            units "millisecond";
                            description
                              "Minimum advertisement interval, msecs part";
                          }
    
                          leaf min-origination-interval {
                            type uint16;
                            units "second";
                            description
                              "Minimum origination interval (in secs)";
                          }
    
                          leaf connect-retry-interval {
                            type uint16;
                            units "second";
                            description
                              "Time (in secs) for connect retry timer";
                          }
    
                          leaf time-since-last-update {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last update message was
    received";
                          }
    
                          leaf time-since-last-read {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read";
                          }
    
                          leaf time-since-last-read-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read before last reset";
                          }
    
                          leaf time-last-cb {
                            type uint64;
                            description "CB";
                          }
    
                          leaf time-last-cb-reset {
                            type uint32;
                            description
                              "Last CB before reset";
                          }
    
                          leaf time-last-fb {
                            type uint64;
                            description "FB";
                          }
    
                          leaf count-last-write {
                            type uint32;
                            description "Count";
                          }
    
                          leaf time-since-last-write {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write";
                          }
    
                          leaf attempted-last-write-bytes {
                            type uint32;
                            description
                              "Attempted size of last write";
                          }
    
                          leaf actual-last-write-bytes {
                            type uint32;
                            description
                              "Actual size of last write";
                          }
    
                          leaf time-since-second-last-write {
                            type uint32;
                            units "second";
                            description
                              "Time (in seconds) elapsed since the second last
    write event";
                          }
    
                          leaf attempted-second-last-write-bytes {
                            type uint32;
                            description
                              "Attempted size of second last write";
                          }
    
                          leaf actual-second-last-write-bytes {
                            type uint32;
                            description
                              "Actual size of second last write";
                          }
    
                          leaf time-since-last-write-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write before last
    reset";
                          }
    
                          leaf attempted-last-write-reset-bytes {
                            type uint32;
                            description
                              "Attempted size of last write before reset";
                          }
    
                          leaf actual-last-write-reset-bytes {
                            type uint32;
                            description
                              "Actual size of last write before reset";
                          }
    
                          leaf time-since-second-last-write-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write before last
    reset";
                          }
    
                          leaf attempted-second-last-write-reset-bytes {
                            type uint32;
                            description
                              "Attempted size of second last write before reset";
                          }
    
                          leaf actual-second-last-write-reset-bytes {
                            type uint32;
                            description
                              "Actual size of second last write before reset";
                          }
    
                          leaf last-write-event {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write thread event";
                          }
    
                          leaf second-last-write-event {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since second last write thread
    event";
                          }
    
                          leaf last-k-aexpiry-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last KA timer expiry before
    reset";
                          }
    
                          leaf second-last-k-aexpiry-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since second last KA timer expiry
    before reset";
                          }
    
                          leaf last-k-anotsent-reset {
                            type uint32;
                            units "second";
                            description
                              "Duration (in secs) since last time that KA was
    not sent before reset";
                          }
    
                          leaf last-k-aerror-reset {
                            type uint32;
                            units "second";
                            description
                              "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                          }
    
                          leaf last-k-astart-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since the last KA timer start
    before reset";
                          }
    
                          leaf second-last-k-astart-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since the second last KA timer
    start before reset";
                          }
    
                          leaf connection-up-count {
                            type uint32;
                            description
                              "Number of times the connection was established";
                          }
    
                          leaf connection-down-count {
                            type uint32;
                            description
                              "Number of times connection was dropped";
                          }
    
                          leaf time-since-connection-last-dropped {
                            type uint32;
                            units "second";
                            description
                              "Time since the connection last went down
    (seconds)";
                          }
    
                          leaf reset-reason {
                            type Bgp-reset-reason-index;
                            description
                              "Reason for last connection reset";
                          }
    
                          leaf peer-reset-reason {
                            type Bgp-peer-reset-reason-index;
                            description
                              "Reason for last peer close event";
                          }
    
                          leaf peer-error-code {
                            type uint32;
                            description
                              "If peer closed, error received from transport";
                          }
    
                          leaf last-notify-error-code {
                            type uint8;
                            description
                              "Code for the last error notification seen on the
    connection";
                          }
    
                          leaf last-notify-error-subcode {
                            type uint8;
                            description
                              "Error subcode of the last error notification
    seen on the connection";
                          }
    
                          leaf error-notifies-received {
                            type uint32;
                            description
                              "Number of error notifications received on the
    connection";
                          }
    
                          leaf error-notifies-sent {
                            type uint32;
                            description
                              "Number of error notifications sent on the
    connection";
                          }
    
                          leaf remote-as-number {
                            type uint32;
                            description
                              "Remote AS number of BGP neighbor";
                          }
    
                          leaf dmz-link-bandwidth {
                            type uint32;
                            description
                              "Bandwidth of link to single-hop eBGP peer";
                          }
    
                          leaf ebgp-recv-dmz {
                            type boolean;
                            description
                              "Receive Bandwidth of link to single-hop eBGP
    peer";
                          }
    
                          leaf ebgp-send-dmz-mode {
                            type Bgp-ebgp-send-dmz-enable-mode;
                            description
                              "Ebgp send dmz link bw mode";
                          }
    
                          leaf tos-type {
                            type uint8;
                            description
                              "Precedence or DSCP type";
                          }
    
                          leaf tos-value {
                            type uint8;
                            description
                              "Precedence or DSCP value";
                          }
    
                          leaf tcp-session-open-mode {
                            type Bgp-tcp-mode;
                            description
                              "The TCP mode to be used to set up BGP session
    with the neighbor";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf standby-rp {
                            type boolean;
                            description
                              "Standby RP socket inited for Active Open";
                          }
    
                          leaf nsr-enabled {
                            type boolean;
                            description
                              "Neighbor supports NSR";
                          }
    
                          leaf graceful-restart-enabled-nbr {
                            type boolean;
                            description
                              "Neighbor supports graceful-restart";
                          }
    
                          leaf gr-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Neighbor restart time (in seconds)";
                          }
    
                          leaf gr-stale-path-time {
                            type uint32;
                            units "second";
                            description
                              "Neighbor stale-path time (in seconds)";
                          }
    
                          leaf fssn-offset {
                            type uint32;
                            description
                              "First standby SeqNo offset";
                          }
    
                          leaf fpbsn-offset {
                            type uint32;
                            description
                              "First standby PDU boundary SeqNo offset";
                          }
    
                          leaf last-ackd-seq-no {
                            type uint32;
                            description
                              "SeqNo of the last Ackd byte";
                          }
    
                          leaf bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Total bytes written by write thread";
                          }
    
                          leaf bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "Total bytes read";
                          }
    
                          leaf socket-read-bytes {
                            type uint32;
                            units "byte";
                            description
                              "Total read bytes value insocket-lib";
                          }
    
                          leaf is-read-disabled {
                            type boolean;
                            description
                              "If true, socket read isdisabled";
                          }
    
                          leaf update-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "Total number of bytes readcorresponding to
    update messages";
                          }
    
                          leaf nsr-state {
                            type Bgp-sync-nbr-nsr-state;
                            description
                              "NSR state";
                          }
    
                          leaf is-passive-close {
                            type boolean;
                            description
                              "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                          }
    
                          leaf nbr-enforce-first-as {
                            type boolean;
                            description
                              "Neighbor enforce first AS";
                          }
    
                          leaf active-bmp-servers {
                            type uint8;
                            description
                              "BMP Servers to which the neighbor sends logs";
                          }
    
                          leaf nbr-cluster-id {
                            type uint32;
                            description
                              "Cluster id";
                          }
    
                          leaf nbr-in-cluster {
                            type uint8;
                            description
                              "Type of cluster_id:undefined/number/Ip address";
                          }
    
                          leaf ignore-connected {
                            type boolean;
                            description
                              "If true, the VPN client isan IBGP CE peer";
                          }
    
                          leaf internal-vpn-client {
                            type boolean;
                            description
                              "If true, don't do NHconnected check for nbr";
                          }
    
                          leaf io-armed {
                            type boolean;
                            description
                              "If true, socket has beenauto-armed for io
    control";
                          }
    
                          leaf read-armed {
                            type boolean;
                            description
                              "If true, socket has beenauto-armed for read";
                          }
    
                          leaf write-armed {
                            type boolean;
                            description
                              "If true, socket has beenauto-armed for write";
                          }
    
                          leaf discard-data-bytes {
                            type uint32;
                            units "byte";
                            description
                              "Remaining discard data (bytes) on Standby";
                          }
    
                          leaf local-as-replace-as {
                            type boolean;
                            description
                              "Local AS Replace-AS option";
                          }
    
                          leaf local-as-dual-as {
                            type boolean;
                            description
                              "Local AS Dual-AS option";
                          }
    
                          leaf local-as-dual-as-mode-native {
                            type boolean;
                            description
                              "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                          }
    
                          leaf egress-peer-engineering-enabled {
                            type boolean;
                            description
                              "Indicates if Egress Peer Engineering is enabled";
                          }
    
                          leaf discard-as4-path {
                            type uint32;
                            description
                              "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                          }
    
                          leaf rpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf rpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf rpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf rpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf dynamic-neighbor {
                            type boolean;
                            description
                              "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                          }
    
                          leaf merge-inbound-safi1and4-updates {
                            type boolean;
                            description
                              "Merge SAFI-1 and SAFI-4 updates from neighbor";
                          }
    
                          leaf is-capability-enhe-suppressed {
                            type boolean;
                            description
                              "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                          }
    
                          leaf delete-time-remaining {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) remaining for deletion";
                          }
    
                          leaf sn-bfd-discriminator {
                            type uint32;
                            description
                              "Local Discriminator for the associated BFD
    session";
                          }
    
                          list af-data {
                            max-elements 25;
                            description
                              "Address family specific neighbor data";
                            container neighbor-af-performance-statistics {
                              description
                                "Neighbor AF statistics";
                              leaf sub-group-pending-message-count {
                                type uint32;
                                description
                                  "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                              }
    
                              leaf processed-messages {
                                type uint32;
                                description
                                  "Number of messages processed from the neighbor's
    write queue";
                              }
    
                              leaf sent-messages {
                                type uint32;
                                description
                                  "Number of messages sent from the neighbor's
    write queue";
                              }
    
                              leaf split-horizon-update-transmit {
                                type uint32;
                                description
                                  "No. of update messages with split-horizon flag
    that were sent out";
                              }
    
                              leaf split-horizon-update-blocked {
                                type uint32;
                                description
                                  "No. of update messages with split-horizon flag
    that were blocked";
                              }
    
                              leaf split-horizon-withdraw-transmit {
                                type uint32;
                                description
                                  "No. of withdraw messages with split-horizon flag
    that were sent out";
                              }
    
                              leaf split-horizon-withdraw-blocked {
                                type uint32;
                                description
                                  "No. of withdraw messages with split-horizon flag
    that were blocked";
                              }
                            }  // container neighbor-af-performance-statistics
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf is-neighbor-route-reflector-client {
                              type boolean;
                              description
                                "Nbr is a route reflector client";
                            }
    
                            leaf is-legacy-pe-rt {
                              type boolean;
                              description
                                "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                            }
    
                            leaf is-neighbor-af-capable {
                              type boolean;
                              description
                                "Address family capability received from neighbor";
                            }
    
                            leaf is-soft-reconfiguration-inbound-allowed {
                              type boolean;
                              description
                                "Inbound soft reconfiguration allowed";
                            }
    
                            leaf is-use-soft-reconfiguration-always-on {
                              type boolean;
                              description
                                "Soft reconf overrides route refresh";
                            }
    
                            leaf remove-private-as-from-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates to this
    nbr";
                            }
    
                            leaf remove-private-as-entire-aspath-from-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                            }
    
                            leaf remove-private-as-from-inbound-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates from
    this nbr";
                            }
    
                            leaf remove-private-as-entire-aspath-from-inbound-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                            }
    
                            leaf flowspec-validation-d-isable {
                              type boolean;
                              description
                                "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                            }
    
                            leaf flowspec-redirect-validation-d-isable {
                              type boolean;
                              description
                                "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                            }
    
                            leaf orr-group-name {
                              type string;
                              description
                                "ORR Group Name";
                            }
    
                            leaf orr-group-index {
                              type uint32;
                              description
                                "ORR Group Index";
                            }
    
                            leaf is-orr-root-address-configured {
                              type boolean;
                              description
                                "ORR Root address configuredfor the neighbor
    connection";
                            }
    
                            leaf advertise-afi {
                              type boolean;
                              description
                                "Encode in Advertise AFI";
                            }
    
                            leaf advertise-afi-reorg {
                              type boolean;
                              description
                                "Encode in Advertise AFI";
                            }
    
                            leaf advertise-afi-disable {
                              type boolean;
                              description
                                "Encode in Advertise AFI";
                            }
    
                            leaf encapsulation-type {
                              type uint32;
                              description
                                "BGP neighbor address-familyencapsulation type";
                            }
    
                            leaf advertise-rt-type {
                              type uint8;
                              description
                                "BGP neighbor address-familyadvertise route
    target type";
                            }
    
                            leaf advertise-afi-def-vrf-imp-disable {
                              type boolean;
                              description
                                "Advertise of default VRF import disable";
                            }
    
                            leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                              type boolean;
                              description
                                "Advertise of v4 default VRF import disable";
                            }
    
                            leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                              type boolean;
                              description
                                "Advertise of v6 default VRF import disable";
                            }
    
                            leaf advertise-afi-vrf-re-imp-disable {
                              type boolean;
                              description
                                "Advertise of VRF re-import disable";
                            }
    
                            leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                              type boolean;
                              description
                                "Advertise of v4 VRF re-import disable";
                            }
    
                            leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                              type boolean;
                              description
                                "Advertise of v6 VRF re-import disable";
                            }
    
                            leaf advertise-afi-eo-r-ready {
                              type boolean;
                              description
                                "EoR Can be sent for Advertise AFI";
                            }
    
                            leaf always-use-next-hop-local {
                              type boolean;
                              description
                                "Local router always used for next-hop";
                            }
    
                            leaf sent-community-to-neighbor {
                              type boolean;
                              description
                                "Community attribute sent to neighbor";
                            }
    
                            leaf sent-gshut-community-to-neighbor {
                              type boolean;
                              description
                                "GSHUT Community attribute sent to neighbor";
                            }
    
                            leaf sent-extended-community-to-neighbor {
                              type boolean;
                              description
                                "Extended community attribute sent to neighbor";
                            }
    
                            leaf default-originate-vpn-index {
                              type uint32;
                              description
                                "Default orig vpn indexto find bitfield for a nbr
    af";
                            }
    
                            leaf neighbor-default-originate {
                              type boolean;
                              description
                                "Neighbor originates default";
                            }
    
                            leaf is-orf-sent {
                              type boolean;
                              description
                                "Outbound route filter sent to neighbor";
                            }
    
                            leaf is-update-deferred {
                              type boolean;
                              description
                                "Update deferred until ORF/route refresh received";
                            }
    
                            leaf is-orf-send-scheduled {
                              type boolean;
                              description
                                "Scheduled to send prefix based ORF";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
    
                            leaf filter-group-index {
                              type uint32;
                              description
                                "BGP neighbor address-familyfilter group index";
                            }
    
                            leaf is-update-throttled {
                              type boolean;
                              description
                                "Updates Throttled becausewrite limit is reached";
                            }
    
                            leaf is-update-leaving {
                              type boolean;
                              description
                                "Nbr leaving update-groupto another";
                            }
    
                            leaf vpn-update-gen-enabled {
                              type boolean;
                              description
                                "RT Nbr enabled for updategento another";
                            }
    
                            leaf vpn-update-gen-trigger-enabled {
                              type boolean;
                              description
                                "RT Nbr enabled for updategento another";
                            }
    
                            leaf is-addpath-send-operational {
                              type boolean;
                              description
                                "Addpath is operational on send-side";
                            }
    
                            leaf is-addpath-receive-operational {
                              type boolean;
                              description
                                "Addpath is operational on receive-side";
                            }
    
                            leaf neighbor-version {
                              type uint32;
                              description
                                "BGP neighbor version for theaddress-family";
                            }
    
                            leaf weight {
                              type uint32;
                              description
                                "Weight for this AF";
                            }
    
                            leaf max-prefix-limit {
                              type uint32;
                              description
                                "Max limit for # of prefixes";
                            }
    
                            leaf use-max-prefix-warning-only {
                              type boolean;
                              description
                                "Warning only when maximum prefix limit reached";
                            }
    
                            leaf max-prefix-discard-extra-paths {
                              type boolean;
                              description
                                "Discard extra paths when prefix limit reached";
                            }
    
                            leaf max-prefix-exceed-discard-paths {
                              type boolean;
                              description
                                "Did we discard extra paths when prefix limit
    reached";
                            }
    
                            leaf max-prefix-threshold-percent {
                              type uint8;
                              units "percentage";
                              description
                                "Percentage of maximum no. of prefixes at which
    to generate warning";
                            }
    
                            leaf max-prefix-discard-paths-count {
                              type uint32;
                              description
                                "Number of discarded paths after prefix limit
    reached";
                            }
    
                            leaf max-prefix-restart-time {
                              type uint16;
                              units "minute";
                              description
                                "Time interval (in minutes) after which peering
    session will be reestablished";
                            }
    
                            leaf prefixes-accepted {
                              type uint32;
                              description
                                "Number of prefixes acceptedfrom this BGP
    neighbor";
                            }
    
                            leaf prefixes-synced {
                              type uint32;
                              description
                                "Number of prefixes synced to standby";
                            }
    
                            leaf prefixes-withdrawn-not-found {
                              type uint32;
                              description
                                "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                            }
    
                            leaf prefixes-denied {
                              type uint32;
                              description
                                "Number of prefixes denied forthis BGP neighbor";
                            }
    
                            leaf prefixes-denied-no-policy {
                              type uint32;
                              description
                                "No. of prefixes denied because there was no
    inbound policy";
                            }
    
                            leaf prefixes-denied-rt-permit {
                              type uint32;
                              description
                                "No. of prefixes denied because RT extended
    community is not imported";
                            }
    
                            leaf prefixes-denied-orf-policy {
                              type uint32;
                              description
                                "No. of prefixes denied by prefix based ORF
    policy";
                            }
    
                            leaf prefixes-denied-policy {
                              type uint32;
                              description
                                "No. of prefixes denied by inbound policy";
                            }
    
                            leaf number-of-bestpaths {
                              type uint32;
                              description
                                "No. of bestpaths from this neighbor";
                            }
    
                            leaf number-of-best-externalpaths {
                              type uint32;
                              description
                                "No. of best-external paths from this neighbor";
                            }
    
                            leaf prefixes-advertised {
                              type uint32;
                              description
                                "Number of prefixes advertisedfor this BGP
    neighbor";
                            }
    
                            leaf prefixes-be-advertised {
                              type uint32;
                              description
                                "Number of BE prefixes advertised";
                            }
    
                            leaf prefixes-suppressed {
                              type uint32;
                              description
                                "Number of prefixes suppressed";
                            }
    
                            leaf prefixes-withdrawn {
                              type uint32;
                              description
                                "Number of prefixes withdrawn";
                            }
    
                            leaf is-peer-orf-capable {
                              type boolean;
                              description
                                "Peer has outbound route filter capability";
                            }
    
                            leaf is-advertised-orf-send {
                              type boolean;
                              description
                                "Prefix based ORF send mode capability advertised";
                            }
    
                            leaf is-received-orf-send-capable {
                              type boolean;
                              description
                                "Prefix based ORF send mode capability received";
                            }
    
                            leaf is-advertised-orf-receive {
                              type boolean;
                              description
                                "Prefix based ORF receive mode capability
    advertised";
                            }
    
                            leaf is-received-orf-receive-capable {
                              type boolean;
                              description
                                "Prefix based ORF receive mode capability
    received";
                            }
    
                            leaf is-advertised-graceful-restart {
                              type boolean;
                              description
                                "Graceful Restart Capability advertised";
                            }
    
                            leaf is-graceful-restart-state-flag {
                              type boolean;
                              description
                                "Restart state flag enabled";
                            }
    
                            leaf is-received-graceful-restart-capable {
                              type boolean;
                              description
                                "Graceful Restart Capability received";
                            }
    
                            leaf is-add-path-send-capability-advertised {
                              type boolean;
                              description
                                "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                            }
    
                            leaf is-add-path-send-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if addpath send capability
    received from BGP neighbor";
                            }
    
                            leaf is-add-path-receive-capability-advertised {
                              type boolean;
                              description
                                "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                            }
    
                            leaf is-add-path-receive-capability-received {
                              type boolean;
                              description
                                "Flag to indicate addpath receive capability
    received from BGPneighbor";
                            }
    
                            leaf is-ext-nh-encoding-capability-received {
                              type boolean;
                              description
                                "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                            }
    
                            leaf is-ext-nh-encoding-capability-sent {
                              type boolean;
                              description
                                "Extended nexhop encoding capability Sent";
                            }
    
                            leaf restart-time {
                              type uint32;
                              units "second";
                              description
                                "Restart time advertised (seconds)";
                            }
    
                            leaf local-restart-time {
                              type uint32;
                              units "second";
                              description
                                "Local Restart time (seconds)";
                            }
    
                            leaf stale-path-timeout {
                              type uint32;
                              units "second";
                              description
                                "Stale path timeout time (in seconds)";
                            }
    
                            leaf rib-purge-timeout-value {
                              type uint32;
                              units "second";
                              description
                                "RIB purge timeout time (in seconds)";
                            }
    
                            leaf neighbor-preserved-forwarding-state {
                              type boolean;
                              description
                                "Flag to indicate neighbor preserved in
    forwarding state";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-configured {
                              type boolean;
                              description
                                "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-sent {
                              type uint32;
                              units "second";
                              description
                                "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-accept {
                              type uint32;
                              units "second";
                              description
                                "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                            }
    
                            leaf long-lived-graceful-restart-capability-received {
                              type boolean;
                              description
                                "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-received {
                              type uint32;
                              units "second";
                              description
                                "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                            }
    
                            leaf neighbor-preserved-long-lived-forwarding-state {
                              type boolean;
                              description
                                "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                            }
    
                            leaf neighbor-long-lived-graceful-restart-capable {
                              type boolean;
                              description
                                "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                            }
    
                            leaf neighbor-long-lived-graceful-restart-time-remaining {
                              type uint32;
                              description
                                "Remaining long-lived graceful-restart time";
                            }
    
                            leaf route-refreshes-received {
                              type uint32;
                              description
                                "Number of route refresh requests received";
                            }
    
                            leaf route-refreshes-sent {
                              type uint32;
                              description
                                "Number of route refresh requests sent";
                            }
    
                            leaf refresh-target-version {
                              type uint32;
                              description
                                "Target version for refresh update generation";
                            }
    
                            leaf refresh-version {
                              type uint32;
                              description
                                "Version till which refresh updates have been
    generated";
                            }
    
                            leaf refresh-acked-version {
                              type uint32;
                              description
                                "Version acked by the peer for refresh updates
    sent";
                            }
    
                            leaf is-prefix-orf-present {
                              type boolean;
                              description
                                "Outbound route filter prefix ORF present";
                            }
    
                            leaf orf-entries-received {
                              type uint32;
                              description
                                "Number of outbound route filter entries received";
                            }
    
                            leaf is-default-originate-sent {
                              type boolean;
                              description
                                "Default origination update sent";
                            }
    
                            leaf route-policy-prefix-orf {
                              type string;
                              description
                                "Prefix based ORF for incoming updates";
                            }
    
                            leaf route-policy-in {
                              type string;
                              description
                                "Incoming route policy name";
                            }
    
                            leaf route-policy-out {
                              type string;
                              description
                                "Outgoing route policy name";
                            }
    
                            leaf route-policy-default-originate {
                              type string;
                              description
                                "Default-originate route policy name";
                            }
    
                            leaf is-neighbor-ebgp-without-inbound-policy {
                              type boolean;
                              description
                                "eBGP neighbor with no configured inbound policy";
                            }
    
                            leaf is-neighbor-ebgp-without-outbound-policy {
                              type boolean;
                              description
                                "eBGP neighbor with no configured outbound policy";
                            }
    
                            leaf is-upd-orig-loopchk-disable-set {
                              type boolean;
                              description
                                "Flag to indicate if update out originator
    loopcheck is disabled";
                            }
    
                            leaf is-as-override-set {
                              type boolean;
                              description
                                "Flag to indicate as override set for BGP
    neighbor";
                            }
    
                            leaf is-allow-as-in-set {
                              type boolean;
                              description
                                "Allowas-in set ";
                            }
    
                            leaf allow-as-in-count {
                              type uint32;
                              description
                                "Allowas-in count config";
                            }
    
                            leaf address-family-long-lived-time {
                              type uint32;
                              description
                                "AF specific Long-lived-time config";
                            }
    
                            leaf eo-r-received-in-read-only {
                              type boolean;
                              description
                                "An EoR was received while in read-only mode";
                            }
    
                            leaf acked-version {
                              type uint32;
                              description
                                "Version mapped from acked seqNo";
                            }
    
                            leaf synced-acked-version {
                              type uint32;
                              description
                                "Version mapped from acked seqNo that was synced
    last";
                            }
    
                            leaf outstanding-version {
                              type uint32;
                              description
                                "No. of all outstanding version objects waiting
    for ack from the peer";
                            }
    
                            leaf outstanding-refresh-version {
                              type uint32;
                              description
                                "No. of only refresh version objects waiting for
    ack from the peer";
                            }
    
                            leaf outstanding-version-max {
                              type uint32;
                              description
                                "Version mapped from acked seqNo that was synced
    last";
                            }
    
                            leaf is-aigp-set {
                              type boolean;
                              description
                                "AIGP set ";
                            }
    
                            leaf is-rt-present {
                              type boolean;
                              description
                                "RT attribute list present";
                            }
    
                            leaf is-rt-present-standby {
                              type boolean;
                              description
                                "RT attribute list present";
                            }
    
                            leaf accept-own-enabled {
                              type boolean;
                              description
                                "Flag to indicate if Accept-Own is enabled";
                            }
    
                            leaf selective-multipath-eligible {
                              type boolean;
                              description
                                "Flag to indicate if selective multipath is
    eligible";
                            }
    
                            leaf afrpki-disable {
                              type boolean;
                              description
                                "Prefix validation disabled";
                            }
    
                            leaf afrpki-use-validity {
                              type boolean;
                              description
                                "Prefix v. use validity";
                            }
    
                            leaf afrpki-allow-invalid {
                              type boolean;
                              description
                                "Prefix v. allow invalid";
                            }
    
                            leaf afrpki-signal-ibgp {
                              type boolean;
                              description
                                "Prefix v. signal ibgp";
                            }
    
                            leaf is-advertise-permanent-network {
                              type boolean;
                              description
                                "Flag to indicate if advertise is permanent
    network";
                            }
    
                            leaf is-send-mcast-attr {
                              type boolean;
                              description
                                "Send Mcast Attr";
                            }
    
                            leaf import-stitching {
                              type boolean;
                              description
                                "Import Stitching enabled";
                            }
    
                            leaf import-reoriginate {
                              type boolean;
                              description
                                "Import Reoriginate enabled";
                            }
    
                            leaf import-reoriginate-stitching {
                              type boolean;
                              description
                                "Import Reoriginate Stitching enabled";
                            }
    
                            leaf advertise-v4-flags {
                              type uint32;
                              description
                                "Advertise options for VPNV4";
                            }
    
                            leaf advertise-v6-flags {
                              type uint32;
                              description
                                "Advertise options for VPNV6";
                            }
    
                            leaf advertise-local-labeled-route-unicast {
                              type boolean;
                              description
                                "Advertise routes with ";
                            }
    
                            leaf prefixes-denied-non-cumulative {
                              type uint32;
                              description
                                "No. of prefixes exactly denied (non cumulative)";
                            }
    
                            leaf enable-label-stack {
                              type boolean;
                              description
                                "Flag to indicate if label stack is enabled";
                            }
    
                            leaf ot-prov-track-enable {
                              type boolean;
                              description
                                "OT Provider Tracking enabled";
                            }
    
                            leaf ot-prov-track-state {
                              type Bgp-track-state;
                              description
                                "OT Provider Tracking state";
                            }
    
                            leaf ot-prov-track-in-gr-state {
                              type boolean;
                              description
                                "OT Provider Track in GR State";
                            }
    
                            leaf ot-prov-track-eor-tmr-running {
                              type boolean;
                              description
                                "OT Provider Track EOR timer running";
                            }
    
                            leaf slow-peer-flags {
                              type uint8;
                              description
                                "Slow Peer Flags ";
                            }
    
                            leaf slow-peer-static {
                              type boolean;
                              description
                                "Static Slow Peer ";
                            }
    
                            leaf slow-peer-dynamic {
                              type boolean;
                              description
                                "Dynamic Slow Peer";
                            }
    
                            leaf slow-peer-permanent {
                              type boolean;
                              description
                                "Permanent Slow Peer";
                            }
    
                            leaf slow-peer-count {
                              type uint16;
                              description
                                "Slow peer count";
                            }
    
                            list extended-community {
                              description
                                "Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Extended community attribute";
                              }
                            }  // list extended-community
    
                            list extended-community-standby {
                              description
                                "Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Extended community attribute";
                              }
                            }  // list extended-community-standby
                          }  // list af-data
                        }  // list neighbor
                      }  // container neighbor-af-table
    
                      container epe-objects {
                        description
                          "The BGP Egress Engineering table";
                        list epe-object {
                          description
                            "A BGP Egress Engineering object";
                          leaf epe-type {
                            type Bgp-epe-obj;
                            description
                              "Type of EPE object. Can be Peer, Peer-set or
    Adjacency";
                          }
    
                          leaf epe-object-key {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Value of the EPE object.Please provide a
    number forPeer-Set and an IP addressfor peer
    or adjacency";
                          }
    
                          container epe-local-address {
                            description
                              "Local address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container epe-local-address
    
                          container epe-next-hop {
                            description
                              "Nexthop address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container epe-next-hop
    
                          leaf epe-key-length {
                            type uint8;
                            description
                              "EPE key length in bits";
                          }
    
                          leaf epe-type-xr {
                            type uint8;
                            description
                              "Type of EPE object";
                          }
    
                          leaf epe-version {
                            type uint32;
                            description
                              "EPE object's version";
                          }
    
                          leaf epe-flags {
                            type uint16;
                            description
                              "EPE object's flags";
                          }
    
                          leaf epe-local-asn {
                            type uint32;
                            description
                              "Local AS Number";
                          }
    
                          leaf epe-remote-asn {
                            type uint32;
                            description
                              "Remote AS Number";
                          }
    
                          leaf epe-remote-router-id {
                            type uint32;
                            description
                              "BGP egress peer engineeringremote router id";
                          }
    
                          leaf epe-local-router-id {
                            type uint32;
                            description
                              "BGP egress peer engineeringlocal router id";
                          }
    
                          leaf label {
                            type uint32;
                            description
                              "Label assigned to the RPCnext-hop set";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference count indicates numberof places being
    updated";
                          }
    
                          leaf rpc-set-object-id {
                            type uint32;
                            description
                              "RPC set object ID";
                          }
    
                          list epe-key {
                            description
                              "Key of EPE object";
                            leaf entry {
                              type uint8;
                              description
                                "Key of EPE object";
                            }
                          }  // list epe-key
    
                          list nexthop-id {
                            description
                              "List of nexthop ID of EPE";
                            leaf entry {
                              type uint32;
                              description
                                "List of nexthop ID of EPE";
                            }
                          }  // list nexthop-id
    
                          list ifhandle {
                            description
                              "List of ifhandle of EPE";
                            leaf entry {
                              type uint32;
                              description
                                "List of ifhandle of EPE";
                            }
                          }  // list ifhandle
    
                          list first-hop {
                            description
                              "List of firsthops of EPE";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // list first-hop
    
                          list linked-epe {
                            description
                              "List of EPE objects linked to this current EPE
    object";
                            leaf epe-key-length {
                              type uint8;
                              description
                                "EPE key length in bits";
                            }
    
                            leaf epe-type {
                              type uint8;
                              description
                                "Type of EPE object";
                            }
    
                            list epe-key {
                              description
                                "Key of EPE object";
                              leaf entry {
                                type uint8;
                                description
                                  "Key of EPE object";
                              }
                            }  // list epe-key
                          }  // list linked-epe
                        }  // list epe-object
                      }  // container epe-objects
    
                      container update-generation-neighbors {
                        description
                          "A BGP Update generate Table Entry for all BGP
    neighbors";
                        list update-generation-neighbor {
                          description
                            "BGP Update generate entry for BGP neighbor";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "A BGP Update Group Entry index";
                          }
    
                          leaf sub-group-index {
                            type uint32;
                            description
                              "A BGP Update Sub group Table index";
                          }
    
                          leaf sub-group-id {
                            type uint32;
                            description
                              "A BGP Update Sub group table ID";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "A BGP Filter group Table index";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container update-neighbor-address {
                            description
                              "Neighbor address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container update-neighbor-address
    
                          container last-sub-group-add-timestamp {
                            description
                              "Last added time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-sub-group-add-timestamp
    
                          container last-sub-group-remove-timestamp {
                            description
                              "Last removed time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-sub-group-remove-timestamp
    
                          container last-filter-group-add-timestamp {
                            description
                              "Last added time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-filter-group-add-timestamp
    
                          container last-filter-group-remove-timestamp {
                            description
                              "Last removed time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-filter-group-remove-timestamp
    
                          container first-default-originate-timestamp {
                            description
                              "Timestamp when the first default-origination was
    done";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-default-originate-timestamp
    
                          container last-default-originate-timestamp {
                            description
                              "Timestamp when the last default-origination was
    done";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-default-originate-timestamp
    
                          container last-update-group-start-timestamp {
                            description
                              "Last update-group timer start";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-group-start-timestamp
    
                          container last-update-group-expiry-timestamp {
                            description
                              "Last update-group timer expiry";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-group-expiry-timestamp
    
                          container first-update-queued-timestamp {
                            description
                              "Timestamp when the first update was queued";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-queued-timestamp
    
                          container last-update-queued-timestamp {
                            description
                              "Timestamp when last update was queued";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-queued-timestamp
    
                          container last-refresh-update-queued-timestamp {
                            description
                              "Timestamp when the last refresh update was
    queued";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-refresh-update-queued-timestamp
    
                          container first-update-write-timestamp {
                            description
                              "Timestamp when the first update was written";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-write-timestamp
    
                          container last-update-write-timestamp {
                            description
                              "Timestamp when the last update was  written";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-write-timestamp
    
                          container last-refresh-update-write-timestamp {
                            description
                              "Timestamp when the last refresh update written";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-refresh-update-write-timestamp
    
                          container update-statistics {
                            description
                              "BGP update generation statistics update";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-filter-group-index {
                            type uint32;
                            description
                              "Filter-group index";
                          }
    
                          leaf refresh-filter-group-index {
                            type uint32;
                            description
                              "BGP update generation refresh Filter-group index";
                          }
    
                          leaf sub-group-index-xr {
                            type uint32;
                            description
                              "BGP update generation index for sub-group";
                          }
    
                          leaf refresh-sub-group-index {
                            type uint32;
                            description
                              "BGP update generation refresh Sub-group index";
                          }
    
                          leaf refresh-sub-group-id {
                            type uint32;
                            description
                              "ID of the refresh subgroup for BGP update
    generation";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "Index of this BGP Update-group";
                          }
    
                          leaf update-main-table-version {
                            type uint32;
                            description
                              "Main table version";
                          }
    
                          leaf update-vrf-table-rib-version {
                            type uint32;
                            description
                              "VRF Table RIB version";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue messages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue size";
                          }
    
                          leaf refresh-update-out-queue-messages {
                            type uint32;
                            description
                              "Refresh OutQueue messages";
                          }
    
                          leaf refresh-update-out-queue-size {
                            type uint32;
                            description
                              "Refresh OutQueue size";
                          }
    
                          leaf update-filter-group-messages {
                            type uint32;
                            description
                              "The number of messages on the BGP filter-group";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Version up to which we have generated updates
    for BGP";
                          }
    
                          leaf pending-target-version {
                            type uint32;
                            description
                              "Version of pending target for BGP update
    generation";
                          }
    
                          leaf next-resume-version {
                            type uint32;
                            description
                              "Version number identifying the next to process
    when tablewalk has been interrupted";
                          }
    
                          leaf ack-version {
                            type uint32;
                            description
                              "Identifying the prefixs that have been
    advertisedto the peer and acknowledged by it";
                          }
    
                          leaf synced-ack-version {
                            type uint32;
                            description
                              "Peer acked version that was previously
    synchronized";
                          }
    
                          leaf outstanding-version-count {
                            type uint32;
                            description
                              "The number of all outstanding version objects
    for thisneighbor address-family";
                          }
    
                          leaf update-refresh-version {
                            type uint32;
                            description
                              "Refresh version";
                          }
    
                          leaf refresh-requested-target-version {
                            type uint32;
                            description
                              "Requested refresh target version";
                          }
    
                          leaf update-refresh-target-version {
                            type uint32;
                            description
                              "Target version for update generation in response
    to arefresh request";
                          }
    
                          leaf refresh-pending-target-version {
                            type uint32;
                            description
                              "Pending refresh target version";
                          }
    
                          leaf refresh-next-resume-version {
                            type uint32;
                            description
                              "Version number identifying the next to process
    whena table walk has been interrupted";
                          }
    
                          leaf refresh-ack-version {
                            type uint32;
                            description
                              "Versio of the Refresh Ack for BGP update
    generation";
                          }
    
                          leaf last-default-originate-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last default-origination event (in
    seconds)";
                          }
    
                          leaf default-originate-state {
                            type int32;
                            description
                              "BGP update generation default originate state
    information";
                          }
    
                          leaf default-originate-internal-context {
                            type int32;
                            description
                              "BGP update generation default originate context
    stateinformation";
                          }
    
                          leaf is-eor-outstanding {
                            type boolean;
                            description
                              "Number of EORs outstanding";
                          }
    
                          leaf outbound-refresh-count {
                            type uint32;
                            description
                              "Refresh Outbound count";
                          }
    
                          leaf inbound-refresh-count {
                            type uint32;
                            description
                              "Refresh Inbound count";
                          }
    
                          leaf is-update-group-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if update-group timer is
    running";
                          }
    
                          leaf current-update-group-af-name {
                            type Bgp-afi;
                            description
                              "Current Update-group address-family identifier";
                          }
    
                          leaf last-update-group-af-name {
                            type Bgp-afi;
                            description
                              "Last Update-group address-family identifier";
                          }
    
                          leaf last-update-queued-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last update queued event (in seconds)";
                          }
    
                          leaf last-refresh-update-queued-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last refresh update queued event (in
    seconds)";
                          }
    
                          leaf last-update-write-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last update write event (in seconds)";
                          }
    
                          leaf last-refresh-update-write-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last refresh update write event (in
    seconds)";
                          }
                        }  // list update-generation-neighbor
                      }  // container update-generation-neighbors
    
                      container update-generation-address-family {
                        description
                          "A BGP Update Generate Entry for address-family";
                        container update-statistics {
                          description
                            "BGP address-family statistics update";
                          container last-update-discard-timestamp {
                            description
                              "Last Discarded time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-discard-timestamp
    
                          container last-update-cleared-timestamp {
                            description
                              "Last Cleared time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-cleared-timestamp
    
                          container last-update-throttle-timestamp {
                            description
                              "Last Throttled time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-throttle-timestamp
    
                          container last-update-recovery-timestamp {
                            description
                              "Last Recovery time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-recovery-timestamp
    
                          container last-update-memory-allocation-fail-timestamp {
                            description
                              "Memory allocation failure time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-memory-allocation-fail-timestamp
    
                          leaf update-out-queue-messages-high {
                            type uint32;
                            description
                              "OutQueue High Messages";
                          }
    
                          leaf update-out-queue-messages-cumulative {
                            type uint32;
                            description
                              "OutQueue Cumulative Messages";
                          }
    
                          leaf update-out-queue-messages-discarded {
                            type uint32;
                            description
                              "OutQueue Discarded Messages";
                          }
    
                          leaf update-out-queue-messages-cleared {
                            type uint32;
                            description
                              "OutQueue Cleared Messages";
                          }
    
                          leaf update-out-queue-size-high {
                            type uint32;
                            description
                              "OutQueue Hi Size";
                          }
    
                          leaf update-out-queue-size-cumulative {
                            type uint64;
                            description
                              "OutQueue Cumulative Size";
                          }
    
                          leaf update-out-queue-size-discarded {
                            type uint64;
                            description
                              "OutQueue Discarded Size";
                          }
    
                          leaf update-out-queue-size-cleared {
                            type uint64;
                            description
                              "OutQueue Cleared Size";
                          }
    
                          leaf last-update-discard-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Discard event (in seconds)";
                          }
    
                          leaf last-update-cleard-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Clear event (in seconds)";
                          }
    
                          leaf update-throttle-count {
                            type uint32;
                            description
                              "Throttle Count";
                          }
    
                          leaf last-update-throttle-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Throttle event (in seconds)";
                          }
    
                          leaf update-recovery-count {
                            type uint32;
                            description
                              "Recovery Count";
                          }
    
                          leaf last-update-recovery-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Recovery event (in seconds)";
                          }
    
                          leaf update-memory-allocation-fail-count {
                            type uint32;
                            description
                              "Number of times there was failure when
    allocatingmemory for BGP update generation";
                          }
    
                          leaf last-update-memory-allocation-fail-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last memory allocation failure event
    (in seconds)";
                          }
                        }  // container update-statistics
    
                        leaf update-group-af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf update-main-table-version {
                          type uint32;
                          description
                            "Main table version";
                        }
    
                        leaf update-rib-version {
                          type uint32;
                          description
                            "RIB version";
                        }
    
                        leaf update-min-neighbor-version {
                          type uint32;
                          description
                            "Minimum Neighbor version";
                        }
    
                        leaf current-update-limit-af {
                          type uint32;
                          description
                            "BGP Current AF sub-group update limit";
                        }
    
                        leaf configured-update-limit-af {
                          type uint32;
                          units "byte";
                          description
                            "Update limit per address-family in bytes";
                        }
    
                        leaf current-update-limit-subgrp-ebgp {
                          type uint32;
                          description
                            "Current EBGP sub-group update limit";
                        }
    
                        leaf configured-update-limit-subgrp-ebgp {
                          type uint32;
                          description
                            "Configured EBGP sub-group update limit";
                        }
    
                        leaf current-update-limit-sub-group-ibgp {
                          type uint32;
                          description
                            "Current IBGP sub-group update limit";
                        }
    
                        leaf configured-update-limit-sub-group-ibgp {
                          type uint32;
                          description
                            "Configured IBGP sub-group update limit";
                        }
    
                        leaf update-out-queue-messages {
                          type uint32;
                          description
                            "OutQueue messsages";
                        }
    
                        leaf update-out-queue-size {
                          type uint32;
                          description
                            "OutQueue size";
                        }
    
                        leaf update-throttled {
                          type boolean;
                          description
                            "Flag to indicate if update generation is
    currently throttled";
                        }
    
                        leaf update-update-group-count {
                          type uint32;
                          description
                            "Update-group count";
                        }
    
                        leaf update-sub-group-count {
                          type uint32;
                          description
                            "Sub-group count";
                        }
    
                        leaf sub-group-throttled-count {
                          type uint32;
                          description
                            "Throttled sub-group count";
                        }
    
                        leaf refresh-sub-group-count {
                          type uint32;
                          description
                            "Number of refresh sub groups";
                        }
    
                        leaf refresh-sub-group-throttled-count {
                          type uint32;
                          description
                            "Throttled refresh sub-group count";
                        }
    
                        leaf filter-group-count {
                          type uint32;
                          description
                            "Number of refresh filter groups";
                        }
    
                        leaf neighbor-count {
                          type uint32;
                          description
                            "Number of neighbors in BGP";
                        }
    
                        leaf update-table-vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf update-vrfaf-name {
                          type uint32;
                          description
                            "Address family identifier";
                        }
    
                        leaf update-vrf-rd-version {
                          type uint32;
                          description
                            "RD Version";
                        }
    
                        leaf update-vrf-table-rib-version {
                          type uint32;
                          description
                            "VRF Table RIB version";
                        }
    
                        leaf table-update-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    update groups";
                        }
    
                        leaf update-table-sub-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    sub groups";
                        }
    
                        leaf table-sub-group-throttled-count {
                          type uint32;
                          description
                            "VRF Table throttled sub-group count";
                        }
    
                        leaf table-refresh-sub-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    refresh sub groups";
                        }
    
                        leaf table-refresh-sub-group-throttled-count {
                          type uint32;
                          description
                            "VRF Table throttled refresh sub-group count";
                        }
    
                        leaf update-table-filter-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    filter groups";
                        }
    
                        leaf table-neighbor-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    neighbors";
                        }
                      }  // container update-generation-address-family
    
                      container dampenings {
                        description
                          "The BGP Dampening table";
                        list dampening {
                          description
                            "A BGP Dampening table entry";
                          leaf reuse {
                            type uint32 {
                              range "0..65535";
                            }
                            description
                              "Reuse array index";
                          }
    
                          leaf version {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Version number";
                          }
    
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf length {
                            type uint32 {
                              range "0..128";
                            }
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher value";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list dampening
                      }  // container dampenings
    
                      container dependency {
                        description
                          "A BGP Dependency table entry";
                        list dep-entry-info {
                          description
                            "List of Dependency Tables ";
                          leaf tblid {
                            type uint32;
                            description
                              "Tbl Id ";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
                        }  // list dep-entry-info
                      }  // container dependency
    
                      container prefix-filters {
                        description
                          "The BGP Prefix Filter table";
                        list prefix-filter {
                          key "neighbor-address";
                          description
                            "A BGP prefix filter table entry";
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container neighbor-address-xr {
                            description
                              "Neighbor Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address-xr
    
                          container prefix-list-info {
                            description
                              "Prefix list";
                            list bgp-pfxlst {
                              description
                                "Next entry in prefix list";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              leaf sequence-number {
                                type uint32;
                                description
                                  "Sequence number of the entry in the prefix-list";
                              }
    
                              leaf is-prefix-grant {
                                type boolean;
                                description
                                  "TRUE = permit, FALSE = deny";
                              }
    
                              leaf min-prefix-length {
                                type uint8;
                                units "bit";
                                description
                                  "Minimum prefix length in bits";
                              }
    
                              leaf max-prefix-length {
                                type uint8;
                                units "bit";
                                description
                                  "Maximum prefix length in bits";
                              }
                            }  // list bgp-pfxlst
                          }  // container prefix-list-info
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identfier";
                          }
                        }  // list prefix-filter
                      }  // container prefix-filters
    
                      leaf af-name {
                        type dt1:Bgp-address-family;
                        description
                          "Address family";
                      }
    
                      container attributes {
                        description
                          "The BGP Attribute table";
                        list attribute {
                          description
                            "A BGP Attribute table entry";
                          leaf attribute-iid {
                            type uint32 {
                              range "0..255";
                            }
                            description
                              "Identifier of BGP Attribute table entry";
                          }
    
                          leaf attribute-cache-bucket {
                            type uint32 {
                              range "0..65535";
                            }
                            description
                              "Cache bucket value of BGP Attribute table
    entry";
                          }
    
                          leaf attribute-cache-id {
                            type uint32;
                            description
                              "Identifier of the BGP Attribute Cache";
                          }
    
                          container attribute-info {
                            description
                              "Attributes";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attribute-info
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP attribute process instance ID";
                          }
    
                          leaf attribute-instance-id {
                            type uint8;
                            description
                              "Instance ID for BGP attribute context ";
                          }
    
                          leaf attribute-structure-id {
                            type uint32;
                            description
                              "BGP ID of attribute structure information";
                          }
    
                          leaf attribute-structure-hash-value {
                            type uint32;
                            description
                              "Hash value for attribute structure";
                          }
    
                          leaf reference-count {
                            type uint32;
                            description
                              "Number of paths which use this attribute
    structure";
                          }
                        }  // list attribute
                      }  // container attributes
                    }  // list af
                  }  // container afs
    
                  container information {
                    description
                      "Meta data for VRF";
                    leaf route-distinguisher {
                      type xr:Route-dist;
                      description
                        "BGP virtual routing and forwardingroute
    distinguisher";
                    }
                  }  // container information
    
                  container update-inbound-filter-vrf {
                    description
                      "Update inbound filtering information for the VRF";
                    container last-update-filtered-timestamp {
                      description
                        "Last Filtered messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-filtered-timestamp
    
                    leaf update-vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf update-filtered-message-count {
                      type uint32;
                      description
                        "Number of filtered messages";
                    }
    
                    leaf update-filtered-neighbor-count {
                      type uint32;
                      description
                        "Count of neighbors that received filtered
    messages";
                    }
    
                    leaf last-update-filtered-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last filtered messages received event
    (in seconds)";
                    }
                  }  // container update-inbound-filter-vrf
    
                  container postits {
                    description
                      "The BGP Neighbor table";
                    list postit {
                      key "neighbor-address";
                      description
                        "A BGP Postit table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container neighbors-address {
                        description
                          "Neighbor Addr";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbors-address
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf connect-state {
                        type uint32;
                        description "State";
                      }
    
                      leaf start-time {
                        type uint32;
                        description "StartTime";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      list neighbor-af {
                        min-elements 25;
                        max-elements 25;
                        description
                          "Neighbor Afi";
                        leaf entry {
                          type boolean;
                          description
                            "Array entry.";
                        }
                      }  // list neighbor-af
    
                      list postit-info {
                        description
                          "BGP neighbor postit rounting information";
                        container postit-notification {
                          description
                            "Time since last notification was sent or
    received";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container postit-notification
    
                        leaf postit-type {
                          type uint32;
                          description
                            "Type of the event for post-it";
                        }
    
                        leaf postit-subtype {
                          type uint32;
                          description
                            "BGP Postit Subtype";
                        }
    
                        leaf postit-flags {
                          type uint8;
                          description
                            "Flags associated with post-it";
                        }
    
                        leaf postit-af-name {
                          type Bgp-afi;
                          description
                            "Postit Afi";
                        }
    
                        leaf postit-ts {
                          type uint64;
                          description
                            "Postit TS";
                        }
    
                        leaf postit-direction {
                          type uint8;
                          description
                            "BGP postit inbound oroutbound direction";
                        }
    
                        leaf postit-id {
                          type uint32;
                          description
                            "Postit ID";
                        }
    
                        leaf peer-id {
                          type uint32;
                          description "Peer ID";
                        }
    
                        leaf postit-policy {
                          type string;
                          description "Policy";
                        }
    
                        leaf postit-reset {
                          type Bgp-reset-reason-index;
                          description "Reset";
                        }
                      }  // list postit-info
                    }  // list postit
                  }  // container postits
    
                  container global-process-info {
                    description
                      "The Global Process information table";
                    container global {
                      description
                        "Global information";
                      container gshut-nbr-all-ts {
                        description
                          "BGP gshut nbr all timestamp";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container gshut-nbr-all-ts
    
                      container gshut-nbr-all-age {
                        description
                          "BGP gshut nbr all age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container gshut-nbr-all-age
    
                      leaf in-standalone-mode {
                        type boolean;
                        description
                          "Standalone or Distributed mode";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local autonomous system number";
                      }
    
                      leaf instance-name {
                        type string;
                        description
                          "Name of BGP instance";
                      }
    
                      leaf restart-count {
                        type uint32;
                        description
                          "No of times BGP has started";
                      }
    
                      leaf update-delay {
                        type uint32;
                        units "second";
                        description
                          "Update delay timeout time (in seconds)";
                      }
    
                      leaf generic-scan-period {
                        type uint16;
                        units "second";
                        description
                          "Period (in seconds) of generic scanner runs";
                      }
    
                      leaf confederation-id {
                        type uint32;
                        description
                          "BGP global process confederation ID";
                      }
    
                      leaf cluster-id {
                        type uint32;
                        description "Cluster ID";
                      }
    
                      leaf configured-cluster-id {
                        type uint32;
                        description
                          "BGP global process configuredcluster ID";
                      }
    
                      leaf is-cluster-id-specified-as-ip {
                        type boolean;
                        description
                          "Cluster ID specified as an IP address";
                      }
    
                      leaf asn-format {
                        type uint32;
                        description
                          "BGP AS Number Format";
                      }
    
                      leaf srgb-start-configured {
                        type uint32;
                        description
                          "Configured segment-routing Global Block start
    value";
                      }
    
                      leaf srgb-end-configured {
                        type uint32;
                        description
                          "Configured segment-routing Global Block end
    value";
                      }
    
                      leaf srgb-start {
                        type uint32;
                        description
                          "In use segment-routing Global Block start value";
                      }
    
                      leaf srgb-end {
                        type uint32;
                        description
                          "In use Segment-routing Global Block end value";
                      }
    
                      leaf srlb-start-configured {
                        type uint32;
                        description
                          "Configured segment-routing Local Block start
    value";
                      }
    
                      leaf srlb-end-configured {
                        type uint32;
                        description
                          "Configured segment-routing Local Block end value";
                      }
    
                      leaf srlb-start {
                        type uint32;
                        description
                          "In use segment-routing Local Block start value";
                      }
    
                      leaf srlb-end {
                        type uint32;
                        description
                          "In use Segment-routing Local Block end value";
                      }
    
                      leaf mix-srte-native {
                        type boolean;
                        description
                          "Platform support mix of SR-TE and Native IGP
    Nexthop";
                      }
    
                      leaf graceful-maintenance {
                        type boolean;
                        description
                          "Graceful shutdown activated for allneighbors";
                      }
    
                      leaf graceful-maint-all-nbrs {
                        type boolean;
                        description
                          "Graceful Maintenance also for neighbors without
    GM configuration";
                      }
    
                      leaf graceful-maint-retain-routes {
                        type boolean;
                        description
                          "Retaining routes in RIB when BGP process stops
    while in Graceful Maintenance";
                      }
    
                      leaf process-rlimit {
                        type uint64;
                        description
                          "Platform RLIMIT max for the process";
                      }
    
                      leaf bmp-maximum-buffer-size {
                        type uint64;
                        description
                          "Maximum limit user can configure for
    max-buffer-size command under bmp-server";
                      }
    
                      leaf bmp-default-buffer-size {
                        type uint64;
                        description
                          "Default value for BMP buffer limit when a value
    is not configured";
                      }
    
                      leaf bmp-current-buffer-size {
                        type uint64;
                        description
                          "Current value for BMP buffer ";
                      }
    
                      leaf bmp-cur-maximum-buffer-size {
                        type uint64;
                        description
                          "Maximum limit user has configure using
    max-buffer-size command under bmp-server";
                      }
    
                      leaf gbl-srv6-locator {
                        type string;
                        description
                          "Global Srv6 Locator Name";
                      }
    
                      list cluster-id-entry {
                        description
                          "All configured Cluster IDs";
                        leaf cluster-id-val {
                          type uint32;
                          description
                            "Cluster ID ";
                        }
    
                        leaf cluster-id-type {
                          type uint8;
                          description
                            "Cluster ID type: number or IPv4 address";
                        }
                      }  // list cluster-id-entry
    
                      list color-id {
                        description
                          "All configured Color IDs";
                        leaf color-id-val {
                          type uint32;
                          description
                            "Color ID ";
                        }
                      }  // list color-id
                    }  // container global
    
                    container vrf {
                      description
                        "VRF information";
                      leaf vrf-is-active {
                        type boolean;
                        description "VRF state";
                      }
    
                      leaf route-distinguisher {
                        type yang:hex-string;
                        description
                          "BGP global process route distinguisher";
                      }
    
                      leaf router-id {
                        type inet:ipv4-address;
                        description
                          "Router ID for the VRF";
                      }
    
                      leaf configured-router-id {
                        type inet:ipv4-address;
                        description
                          "BGP global process configured router ID";
                      }
    
                      leaf is-redistribute-ibgp-to-ig-ps-enabled {
                        type boolean;
                        description
                          "Redistribute iBGP into IGPs enabled";
                      }
    
                      leaf is-fast-external-fallover-enabled {
                        type boolean;
                        description
                          "Flag to indicate if fast external fallover is
    enabled";
                      }
    
                      leaf is-bestpath-missing-med-is-worst-enabled {
                        type boolean;
                        description
                          "Bestpath: Treat missing MED as worst";
                      }
    
                      leaf is-bestpath-always-compare-med-enabled {
                        type boolean;
                        description
                          "Bestpath: Always compare MED";
                      }
    
                      leaf is-bestpath-ignore-as-path-enabled {
                        type boolean;
                        description
                          "Bestpath: Ignore AS path";
                      }
    
                      leaf is-bestpath-as-path-mpath-relax-enabled {
                        type boolean;
                        description
                          "Bestpath: Relax AS path for mpath";
                      }
    
                      leaf is-bestpath-compare-med-from-confed-peer-enabled {
                        type boolean;
                        description
                          "Bestpath: Compare MED from confed peer";
                      }
    
                      leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled {
                        type boolean;
                        description
                          "Bestpath: Compare routerID for eBGP peers";
                      }
    
                      leaf is-bestpath-aigp-ignore-enabled {
                        type boolean;
                        description
                          "Bestpath: Ignore AIGP unless both paths have
    AIGP attribute";
                      }
    
                      leaf is-bestpath-igp-metric-ignore-enabled {
                        type boolean;
                        description
                          "Bestpath: Ignore IGP metric";
                      }
    
                      leaf is-bestpath-igp-metric-sr-policy-enabled {
                        type boolean;
                        description
                          "Bestpath: Prefer SR-Policy admin/metric of
    color-extcomm Nexthop as IGP metric";
                      }
    
                      leaf is-multipath-as-path-ignore-onwards-enabled {
                        type boolean;
                        description
                          "Multipath: Ignore everything AS path onwards for
    mpath";
                      }
    
                      leaf is-multipath-section-use-cluster-list-length {
                        type boolean;
                        description
                          "Multipath: Use Cluster-List Length Criteria";
                      }
    
                      leaf is-bestpath-sr-policy-prefer-enabled {
                        type boolean;
                        description
                          "Bestpath: Pefer SR policy path";
                      }
    
                      leaf is-enforce-first-as-enabled {
                        type boolean;
                        description
                          "Enforce first AS";
                      }
    
                      leaf default-local-preference {
                        type uint32;
                        description
                          "BGP global process default local preference";
                      }
    
                      leaf keep-alive-time {
                        type uint16;
                        units "second";
                        description
                          "Default keepalive timer (seconds)";
                      }
    
                      leaf hold-time {
                        type uint16;
                        units "second";
                        description
                          "Default hold timer (seconds)";
                      }
    
                      leaf min-acceptable-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Default min acceptable hold time from
    neighbor(seconds)";
                      }
    
                      leaf is-neighbor-logging {
                        type boolean;
                        description
                          "Neighbor logging enabled";
                      }
    
                      leaf is-default-metric-configured {
                        type boolean;
                        description
                          "Flag to indicate if default metric is configured";
                      }
    
                      leaf default-metric {
                        type uint32;
                        description
                          "BGP global process virtual routingand forwarding
    default metric";
                      }
    
                      leaf is-default-originate-configured {
                        type boolean;
                        description
                          "Flag to indicate if default route originate is
    configured";
                      }
    
                      leaf is-graceful-restart {
                        type boolean;
                        description
                          "Graceful restart enabled";
                      }
    
                      leaf is-nsr {
                        type boolean;
                        description
                          "Non-stop routing enabled";
                      }
    
                      leaf slow-peer-detection-enabled {
                        type boolean;
                        description
                          "Slow peer detection status";
                      }
    
                      leaf nexthop-validation-disabled {
                        type boolean;
                        description
                          "Color-Extcomm Nexthop validation disabled";
                      }
    
                      leaf nexthop-validation-srte {
                        type boolean;
                        description
                          "Color-Extcomm Nexthop validation SR-Policy";
                      }
    
                      leaf restart-time {
                        type uint32;
                        units "second";
                        description
                          "Restart time (in seconds)";
                      }
    
                      leaf stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Stale path timeout time (in seconds)";
                      }
    
                      leaf rib-purge-timeout {
                        type uint32;
                        units "second";
                        description
                          "RIB purge timeout time (in seconds)";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Use RPKI validity for bestpath calculation";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Allow invalid paths";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Signal RPKI validity to iBGP peers";
                      }
                    }  // container vrf
    
                    leaf vrf-name {
                      type string;
                      description
                        "Name of the VRF";
                    }
    
                    leaf vrfid {
                      type uint32;
                      description "VRF ID";
                    }
                  }  // container global-process-info
    
                  container update-inbound-error-neighbors {
                    description
                      "Update inbound error information for all
    neighbors";
                    list update-inbound-error-neighbor {
                      key "neighbor-address";
                      description
                        "Update inbound error information for neighbor";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container update-neighbor-address {
                        description
                          "Neighbor address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container update-neighbor-address
    
                      container first-update-malformed-timestamp {
                        description
                          "First malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-malformed-timestamp
    
                      container last-update-malformed-timestamp {
                        description
                          "Last malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-malformed-timestamp
    
                      container first-update-memory-allocation-fail-timestamp {
                        description
                          "First memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-memory-allocation-fail-timestamp
    
                      container last-update-memory-allocation-fail-timestamp {
                        description
                          "Last memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-memory-allocation-fail-timestamp
    
                      container first-update-error-handling-reset-timestamp {
                        description
                          "First error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-error-handling-reset-timestamp
    
                      container last-error-handling-reset-timestamp {
                        description
                          "Last error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-error-handling-reset-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-error-handling-avoid-reset {
                        type boolean;
                        description
                          "Configure error-handling to avoid resets";
                      }
    
                      leaf total-update-message-count {
                        type uint32;
                        description
                          "The total number of update messages encoutered
    so far";
                      }
    
                      leaf update-malformed-message-count {
                        type uint32;
                        description
                          "The toatl number of malform update messages so
    far";
                      }
    
                      leaf last-update-malformed-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last malformed message received event
    (in seconds)";
                      }
    
                      leaf update-memory-allocation-fail-count {
                        type uint32;
                        description
                          "Total number of memory allocation failures";
                      }
    
                      leaf last-update-memory-allocation-fail-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last memory allocation failure event
    (in seconds)";
                      }
    
                      leaf update-error-handling-reset-count {
                        type uint32;
                        description
                          "Total number of neighbor reset due to
    error-handling";
                      }
    
                      leaf last-error-handling-reset-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last error-handling reset event (in
    seconds)";
                      }
    
                      leaf update-error-message-list-count {
                        type uint32;
                        description
                          "Malformed messages list count";
                      }
    
                      leaf update-attribute-discard-count {
                        type uint32;
                        description
                          "Discarded attribute count";
                      }
    
                      leaf establishment-total-update-message-count {
                        type uint32;
                        description
                          "Total update messages count since session
    establishment";
                      }
    
                      list establishment-action-count {
                        max-elements 7;
                        description
                          "Number of occurence of each action type since
    
    session establishment";
                        leaf entry {
                          type uint32;
                          description
                            "Number of occurence of each action type since
    
    session establishment";
                        }
                      }  // list establishment-action-count
    
                      list update-error-message {
                        description
                          "List of malformed messages";
                        container update-message-timestamp {
                          description
                            "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container update-message-timestamp
    
                        container update-message-reset-data {
                          description
                            "Reset data";
                          leaf update-error-reset-reason {
                            type Bgp-reset-reason-index;
                            description
                              "Reset Reason";
                          }
    
                          leaf update-error-reset-notification-code {
                            type uint8;
                            description
                              "Notification code";
                          }
    
                          leaf update-error-reset-notification-sub-code {
                            type uint16;
                            description
                              "Notification sub code";
                          }
    
                          leaf update-error-reset-notification-data {
                            type yang:hex-string;
                            description
                              "Notification data";
                          }
    
                          leaf update-error-reset-notification-data-length {
                            type uint16;
                            description
                              "Notification data length";
                          }
                        }  // container update-message-reset-data
    
                        leaf update-error-final-action {
                          type Bgp-bag-upd-err-action;
                          description
                            "Error final action";
                        }
    
                        leaf update-attribute-discard-count {
                          type uint32;
                          description
                            "Discarded attribute count";
                        }
    
                        leaf update-error-nlri-address-family {
                          type Bgp-afi;
                          description
                            "NLRI address-family";
                        }
    
                        leaf update-error-nlri-string {
                          type string;
                          description
                            "List of NLRIs in string format";
                        }
    
                        leaf update-error-nlri-string-truncated {
                          type boolean;
                          description
                            "Indicates whether NLRI string was truncated due
    to lack of space";
                        }
    
                        list update-message-data {
                          description
                            "Raw Message data in binary format";
                          leaf entry {
                            type uint8;
                            description
                              "Raw Message data in binary format";
                          }
                        }  // list update-message-data
    
                        list update-error-element {
                          max-elements 3;
                          description
                            "Error element list";
                          leaf update-attribute-flags {
                            type uint8;
                            description
                              "Attribute Flags [RFC4271: BGP4]";
                          }
    
                          leaf update-attribute-code {
                            type uint8;
                            description
                              "Attribute code [RFC4271: BGP4]";
                          }
    
                          leaf update-attribute-length {
                            type uint16;
                            description
                              "Attribute Length [RFC4271: BGP4]";
                          }
    
                          leaf update-error-data {
                            type yang:hex-string;
                            description
                              "Error data";
                          }
    
                          leaf update-error-data-length {
                            type uint16;
                            description
                              "Error data length";
                          }
    
                          leaf update-error-action {
                            type Bgp-bag-upd-err-action;
                            description
                              "Error action";
                          }
                        }  // list update-error-element
                      }  // list update-error-message
                    }  // list update-inbound-error-neighbor
                  }  // container update-inbound-error-neighbors
    
                  container update-inbound-filter-neighbors {
                    description
                      "Update inbound filtering information for all
    neighbors";
                    list update-inbound-filter-neighbor {
                      key "neighbor-address";
                      description
                        "Update inbound filtering information for
    neighbor";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container update-neighbor-address {
                        description
                          "Neighbor address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container update-neighbor-address
    
                      container first-update-filtered-timestamp {
                        description
                          "First filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-filtered-timestamp
    
                      container last-update-filtered-timestamp {
                        description
                          "Last filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-filtered-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-filter-logging-enabled {
                        type boolean;
                        description
                          "Logging is enabled";
                      }
    
                      leaf configured-update-filter-message-buffer-count {
                        type uint32;
                        description
                          "Total number of configured update filter
    messagebuffer size";
                      }
    
                      leaf operational-update-filter-message-buffer-count {
                        type uint32;
                        description
                          "Number of messages in the message buffer";
                      }
    
                      leaf update-filter-message-buffer-circular {
                        type boolean;
                        description
                          "Indicates if the message buffers are circular";
                      }
    
                      leaf update-attribute-filter-group-name {
                        type string;
                        description
                          "String format BGP attribute-filter group name";
                      }
    
                      leaf operational-update-attribute-filtering-enabled {
                        type boolean;
                        description
                          "Attribute filtering is enabled";
                      }
    
                      leaf message-update-attribute-filtering-enabled {
                        type boolean;
                        description
                          "Attribute filtering is enabled for the current
    message being parsed";
                      }
    
                      leaf total-filter-update-message-count {
                        type uint32;
                        description
                          "Total number of filtered messages encoutered";
                      }
    
                      leaf establishment-total-filter-update-message-count {
                        type uint32;
                        description
                          "Total update messages count since session
    establishment";
                      }
    
                      leaf update-filtered-message-count {
                        type uint32;
                        description
                          "Total number of filtered messages encountered so
    far";
                      }
    
                      leaf establishment-update-filtered-message-count {
                        type uint32;
                        description
                          "Filtered messages count since session
    establishment";
                      }
    
                      leaf last-update-filtered-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last filtered message received event
    (in seconds)";
                      }
    
                      leaf update-filter-message-list-count {
                        type uint32;
                        description
                          "Filtered messages list count";
                      }
    
                      list update-attribute-filter-attributes {
                        description
                          "List of attributes that can be filtered";
                        container last-update-filter-match-timestamp {
                          description
                            "Last attribute filtered time: time elapsed since
    00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-filter-match-timestamp
    
                        leaf update-internal-attribute-code {
                          type uint32;
                          description
                            "Internal attribute code [RFC4271: BGP4]";
                        }
    
                        leaf update-filter-action {
                          type Bgp-bag-upd-filter-action;
                          description
                            "Filtering action";
                        }
    
                        leaf update-filter-match-count {
                          type uint32;
                          description
                            "Filter match counter";
                        }
    
                        leaf establishment-update-filter-match-count {
                          type uint32;
                          description
                            "Filter match counter since last session
    establishment";
                        }
    
                        leaf last-update-filter-match-age {
                          type uint32;
                          units "second";
                          description
                            "Time since this attribute was last filtered (in
    seconds)";
                        }
                      }  // list update-attribute-filter-attributes
    
                      list update-filter-message {
                        description
                          "List of filtered messages";
                        container update-filter-message-timestamp {
                          description
                            "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container update-filter-message-timestamp
    
                        leaf update-filtered-attribute-count {
                          type uint32;
                          description
                            "Total number of attributes filtered in
    thismessage";
                        }
    
                        leaf update-filter-final-action {
                          type Bgp-bag-upd-filter-action;
                          description
                            "Filtering final action";
                        }
    
                        leaf update-filter-nlri-address-family {
                          type Bgp-afi;
                          description
                            "NLRI address-family";
                        }
    
                        leaf update-filter-nlri-string {
                          type string;
                          description
                            "List of NLRIs in string format";
                        }
    
                        leaf update-filter-nlri-string-truncated {
                          type boolean;
                          description
                            "Indicates whether NLRI string was truncated due
    to lack of space";
                        }
    
                        list update-filter-message-data {
                          description
                            "Raw Message data in binary format";
                          leaf entry {
                            type uint8;
                            description
                              "Raw Message data in binary format";
                          }
                        }  // list update-filter-message-data
    
                        list update-filter-element {
                          max-elements 3;
                          description
                            "Filtering element list";
                          leaf update-attribute-flags {
                            type uint8;
                            description
                              "Attribute Flags [RFC4271: BGP4]";
                          }
    
                          leaf update-attribute-code {
                            type uint8;
                            description
                              "Attribute code [RFC4271: BGP4]";
                          }
    
                          leaf update-filter-action {
                            type Bgp-bag-upd-filter-action;
                            description
                              "Filtering action";
                          }
                        }  // list update-filter-element
                      }  // list update-filter-message
                    }  // list update-inbound-filter-neighbor
                  }  // container update-inbound-filter-neighbors
    
                  container bmp {
                    description
                      "BMP related Operational Data";
                    container server-summaries {
                      description
                        "Table of BMP Servers";
                      list server-summary {
                        key "server-id";
                        description
                          "Summary Information about BMP server";
                        leaf server-id {
                          type uint32 {
                            range "1..8";
                          }
                          description
                            "BMP Server ID";
                        }
    
                        container bmp-server-state-age {
                          description
                            "Age of current state of BMP Server";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-server-state-age
    
                        container bmp-server-state-time-spec {
                          description
                            "Timespec of current state of BMP Server";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-server-state-time-spec
    
                        container bmp-server-last-discon-time {
                          description
                            "Timespec of Last Disconnect event received from
    BMP server";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-server-last-discon-time
    
                        container update-source-address {
                          description
                            "Address of Interface configured as Update Source";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container update-source-address
    
                        leaf bmp-server-id {
                          type uint8;
                          description
                            "BMP Server ID";
                        }
    
                        leaf bmp-server-host-name {
                          type string;
                          description
                            "BMP Server Hostname";
                        }
    
                        leaf bmp-server-port {
                          type uint32;
                          description
                            "BMP Server Port Number";
                        }
    
                        leaf bmp-server-state {
                          type Bgp-bmp-state;
                          description
                            "Connection state of the BMP server";
                        }
    
                        leaf bmp-server-is-flapping {
                          type boolean;
                          description
                            "Connection to the BMP server Flapping";
                        }
    
                        leaf bmp-server-nbr-count {
                          type uint32;
                          description
                            "Neighbor count for the BMP Server";
                        }
    
                        leaf bmp-init-msg-count {
                          type uint32;
                          description
                            "Number of Initiation Msgs sent by this BMP
    Server";
                        }
    
                        leaf bmp-termination-msg-count {
                          type uint32;
                          description
                            "Number of Termination Messages sent by this BMP
    Server";
                        }
    
                        leaf bmp-status-report-count {
                          type uint32;
                          description
                            "Number of Status ReportMessages sent by this BMP
    Server";
                        }
    
                        leaf bmp-per-peer-msg-count {
                          type uint32;
                          description
                            "Total number of per peer messages sent";
                        }
    
                        leaf bmp-peer-msg-drop-count {
                          type uint32;
                          description
                            "Total number of messages dropped";
                        }
    
                        leaf bmp-peer-msg-pending-count {
                          type uint32;
                          description
                            "Total number of bmpQ msgs pending";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence (0) or DSCP (1) type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf update-source-interface-name {
                          type string;
                          description
                            "Interface configured as Update Source";
                        }
    
                        leaf update-source-vrf-id {
                          type uint32;
                          description
                            "VRF ID of interface configured as Update Source";
                        }
    
                        leaf bmp-vrf-name {
                          type string;
                          description
                            "VRF Name configured";
                        }
    
                        leaf bmp-vrf-id {
                          type uint32;
                          description
                            "VRF ID for the vrf name configured";
                        }
    
                        leaf bmp-update-mode {
                          type Bgp-bmp-upd-mode;
                          description
                            "Update sending mode configured for this BMP
    server";
                        }
    
                        leaf tcp-keep-alive-interval {
                          type uint32;
                          description
                            "TCP Keep alive interval configured";
                        }
    
                        leaf tcp-maximum-segment-size {
                          type uint32;
                          description
                            "TCP Maximum Segments size configured";
                        }
    
                        leaf tcp-write-cb-pending {
                          type uint32;
                          description
                            "Are we waiting for TCP write callback ?";
                        }
    
                        leaf tcp-last-write-result {
                          type uint32;
                          description
                            "Last TCP Socket write status";
                        }
    
                        leaf tcp-last-write-cb-time {
                          type uint64;
                          description
                            "Last TCP Write CB time";
                        }
    
                        leaf tcp-last-write-time {
                          type uint64;
                          description
                            "Last TCP Write time";
                        }
    
                        leaf bmpq-last-write-pulse-sent-time {
                          type uint64;
                          description
                            "Last BMPQ write pulse Sent time";
                        }
    
                        leaf bmpq-last-all-write-pulse-sent-time {
                          type uint64;
                          description
                            "Last BMPQ write pulse Sent for all BMP servers ";
                        }
    
                        leaf bmpq-last-write-pulse-cb-time {
                          type uint64;
                          description
                            "Last BMPQ write pulse callback time";
                        }
    
                        leaf path-update-count {
                          type uint32;
                          description
                            "Number of path update sent ";
                        }
    
                        leaf path-withdraw-count {
                          type uint32;
                          description
                            "Number of path wdraw sent";
                        }
    
                        leaf path-update-drop {
                          type uint32;
                          description
                            "Number of path update drop ";
                        }
    
                        leaf path-withdraw-drop {
                          type uint32;
                          description
                            "Number of path wdraw drop ";
                        }
    
                        leaf bmp-peer-msg-pending-count-max {
                          type uint32;
                          description
                            "Total bmpQ msgs pending max";
                        }
    
                        leaf bmp-peer-msg-pending-count-hwts {
                          type uint64;
                          description
                            "Total bmpQ msgs pending max time";
                        }
    
                        leaf bmp-bytes-written-tcp {
                          type uint64;
                          units "byte";
                          description
                            "Total bytes sent to TCP";
                        }
    
                        leaf tcp-write-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sending msg to
    TCP(milliseconds)";
                        }
    
                        leaf bmpr-mon-upd-messages {
                          type uint32;
                          description
                            "Total bmpQ update msgs ";
                        }
    
                        leaf bmpr-mon-wdraw-messages {
                          type uint32;
                          description
                            "Total bmpQ withdraw msgs ";
                        }
    
                        leaf bmp-messages-wdraw-discarded {
                          type uint32;
                          description
                            "Total bmpQ wdraw msgs discarded because of peer
    down";
                        }
    
                        leaf bmp-pfx-wdraw-discarded {
                          type uint32;
                          description
                            "Total bmpQ wdraw pfxes discarded because of peer
    down";
                        }
    
                        leaf bmp-per-peer-msg-route-mon-count {
                          type uint32;
                          description
                            "Total number of per peer route mon messages sent";
                        }
    
                        leaf bmpr-mon-update-gen-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent in update generation(milliseconds)";
                        }
    
                        leaf bmpr-mon-eo-rmessages {
                          type uint32;
                          description
                            "Total bmpQ EOR update msgs ";
                        }
    
                        leaf bmp-rmon-cur-buffer-size {
                          type uint64;
                          description
                            "Current Buffer usage per BMP Route Mon";
                        }
    
                        leaf bmp-maximum-buffer-size-route-mon {
                          type uint64;
                          description
                            "Buffer limit used for route mon";
                        }
    
                        leaf bmp-server-up-count {
                          type uint32;
                          description
                            "Number of BMP server that are UP";
                        }
    
                        leaf bmp-upd-gen-in-progress {
                          type boolean;
                          description
                            "Update generation in progress";
                        }
    
                        leaf bmp-reset-walk-in-progress {
                          type boolean;
                          description
                            "Flag to indicate if BGP monitoring protocol
    server reset walk is in progress";
                        }
    
                        list bmpafi-info {
                          description
                            "AFI specific info for BMP server";
                          container bmp-resume-prefix {
                            description
                              "BMP Resume prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bmp-resume-prefix
    
                          container bmp-filter-neighbor-address {
                            description
                              "Filter Neighbor Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container bmp-filter-neighbor-address
    
                          leaf bmpaf-name {
                            type Bgp-afi;
                            description
                              "BMP Address family identifier";
                          }
    
                          leaf bmp-resume-prefix-len {
                            type uint32;
                            description
                              "BMP Resume prefix Len";
                          }
    
                          leaf bmp-upd-gen-resume-start-version {
                            type uint32;
                            description
                              "Update Gen ResumeWalk start version";
                          }
    
                          leaf bmp-upd-gen-resume-end-version {
                            type uint32;
                            description
                              "Update Gen ResumeWalk end version";
                          }
    
                          leaf bmp-upd-gen-walk-stopped {
                            type boolean;
                            description
                              "Update Gen WalkStopped";
                          }
    
                          leaf bmp-upd-gen-resume-net-version {
                            type uint32;
                            description
                              "Update Gen ResumeWalk Net version";
                          }
    
                          leaf bmp-upd-gen-walk-run-time-stamp {
                            type uint64;
                            description
                              "Last Update Gen Run time stamp";
                          }
    
                          leaf bmp-upd-gen-walk-run-count {
                            type uint64;
                            description
                              "Number of times Update Gen ran";
                          }
    
                          leaf bmp-upd-gen-walk-stop-time-stamp {
                            type uint64;
                            description
                              "Last Update Gen Stop time stamp";
                          }
    
                          leaf bmp-upd-gen-walk-stop-count {
                            type uint64;
                            description
                              "Number of times Update Gen Stopped";
                          }
    
                          leaf bmp-init-eor-end-version {
                            type uint32;
                            description
                              "Version to reach to send EOR";
                          }
    
                          leaf bmp-init-eor-pending-cnt {
                            type uint32;
                            description
                              "Count for pending EOR";
                          }
    
                          leaf bmp-filter-neighbor-address-set {
                            type boolean;
                            description
                              "Filter Neighbor Address Set ?";
                          }
    
                          leaf bmp-filter-nbr-cnt {
                            type uint32;
                            description
                              "Filter nbr Count for this AFI";
                          }
    
                          leaf bmp-send-version {
                            type uint32;
                            description
                              "Table Version that this BMP server has caught
    upto";
                          }
                        }  // list bmpafi-info
                      }  // list server-summary
                    }  // container server-summaries
    
                    container server-neighbors {
                      description
                        "Table of Neighbors for a BMP Server";
                      list server-neighbor {
                        key "server-id";
                        description
                          "BMP Server under which neighbor info are
    needed";
                        container monitored-neighbors {
                          description
                            "List of Neighbors under which BMP Server is
    configured";
                          list monitored-neighbor {
                            description
                              "Information about a neighbor monitored by
    BMP server";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            leaf vrf-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Name of VRF, the neighbor belongs to";
                            }
    
                            container bmp-neighbor-address {
                              description
                                "Address of Nbr that logs to BMP server";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container bmp-neighbor-address
    
                            leaf bmp-neighbor-msg-pending {
                              type uint32;
                              description
                                "Number of messages pending to be sent to BMP
    Server from this Neighbor";
                            }
    
                            leaf bmp-neighbor-msg-dropped {
                              type uint32;
                              description
                                "Number of messages dropped sent from this
    neighbor";
                            }
    
                            leaf bmp-neighbor-peer-up-sent {
                              type uint32;
                              description
                                "Number of Peer UP Messages sent from this
    neighbor";
                            }
    
                            leaf bmp-neighbor-peer-down-sent {
                              type uint32;
                              description
                                "Number of Peer DOWN Messages sent from this
    neighbor";
                            }
    
                            leaf bmp-neighbor-route-monitor-sent {
                              type uint32;
                              description
                                "Number of Route Monitor Messages sent";
                            }
    
                            leaf bmp-neighbor-route-monitor-eor-sent {
                              type uint32;
                              description
                                "Number of Route Monitor EOR Messages sent";
                            }
    
                            leaf bmp-neighbor-path-update-sent {
                              type uint32;
                              description
                                "Number of Path UpdateMessages sent";
                            }
    
                            leaf bmp-neighbor-path-withdraw-sent {
                              type uint32;
                              description
                                "Number of Path WithdrawMessages sent";
                            }
    
                            leaf bmp-neighbor-path-update-drop {
                              type uint32;
                              description
                                "Number of path update drop ";
                            }
    
                            leaf bmp-neighbor-path-withdraw-drop {
                              type uint32;
                              description
                                "Number of path wdraw drop ";
                            }
    
                            leaf bmp-neighbor-upd-msg-sent {
                              type uint32;
                              description
                                "Number of update message sent";
                            }
    
                            leaf bmp-neighbor-wdraw-msg-sent {
                              type uint32;
                              description
                                "Number of withdraw message sent";
                            }
                          }  // list monitored-neighbor
                        }  // container monitored-neighbors
    
                        leaf server-id {
                          type uint32 {
                            range "1..8";
                          }
                          description
                            "BMP Server ID";
                        }
                      }  // list server-neighbor
                    }  // container server-neighbors
                  }  // container bmp
    
                  container neighbor-missing-eor-table {
                    description
                      "The BGP Neighbor missing eor table";
                    list neighbor {
                      key "neighbor-address";
                      description
                        "A BGP Neighbor table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      container send-notification-info {
                        description
                          "Information on the last notification sent";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container send-notification-info
    
                      container received-notification-info {
                        description
                          "Information on the last notification received";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container received-notification-info
    
                      container performance-statistics {
                        description
                          "BGP neighbor performance statistics";
                        leaf read-throttles {
                          type uint32;
                          description
                            "Number of partial read throttles";
                        }
    
                        leaf low-throttled-read {
                          type uint32;
                          description
                            "Num socket reads after nbrs crossed low
    threshold";
                        }
    
                        leaf high-throttled-read {
                          type uint32;
                          description
                            "Num of socket reads after nbr crossed high
    threshold";
                        }
    
                        leaf time-since-last-throttled-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read after being
    throttled";
                        }
    
                        leaf read-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to read inbound data";
                        }
    
                        leaf read-messages-count {
                          type uint32;
                          description
                            "Number of BGP messages read";
                        }
    
                        leaf data-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "No. of bytes of data read";
                        }
    
                        leaf io-read-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent reading inbound data (milliseconds)";
                        }
    
                        leaf write-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to write outbound data";
                        }
    
                        leaf data-bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes that havesent to peers";
                        }
    
                        leaf io-write-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent writing outbound data (milliseconds)";
                        }
    
                        leaf last-sent-seq-no {
                          type uint32;
                          description
                            "Seq No of the last sent byte";
                        }
    
                        leaf write-subgroup-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process sub-group
    message list";
                        }
    
                        leaf write-subgroup-messages-count {
                          type uint32;
                          description
                            "Number of sub-group msgs processed";
                        }
    
                        leaf subgroup-list-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sub-group message list
    (milliseconds)";
                        }
    
                        leaf write-queue-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process write queue";
                        }
    
                        leaf write-queue-messages-count {
                          type uint32;
                          description
                            "Number of write queue messages processed";
                        }
    
                        leaf write-queue-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing write queue (milliseconds)";
                        }
    
                        leaf inbound-update-messages {
                          type uint32;
                          description
                            "Number of inbound update messages processed";
                        }
    
                        leaf inbound-update-messages-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing inbound update messages
    (milliseconds)";
                        }
    
                        leaf maximum-read-size {
                          type uint32;
                          units "millisecond";
                          description
                            "Size of largest socket (milliseconds)";
                        }
    
                        leaf actives {
                          type uint32;
                          description
                            "Number of retried Active opens for this neighbor";
                        }
    
                        leaf failed-post-actives {
                          type uint32;
                          description
                            "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                        }
    
                        leaf passives {
                          type uint32;
                          description
                            "Number of retried Passive opens for this
    neighbor";
                        }
    
                        leaf rejected-passives {
                          type uint32;
                          description
                            "Number of rejected Passive opens for this
    neighbor";
                        }
    
                        leaf active-collision {
                          type uint32;
                          description
                            "Number of Closed Active connections for this
    neighbor due to collision ";
                        }
    
                        leaf passive-collision {
                          type uint32;
                          description
                            "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                        }
    
                        leaf control-to-read-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger read
    thread";
                        }
    
                        leaf control-to-write-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger write
    thread";
                        }
    
                        leaf network-status {
                          type uint32;
                          description
                            "Socket status, TRUE if socket closed";
                        }
    
                        leaf reset-flags {
                          type uint32;
                          description
                            "Reset flags, per thread";
                        }
    
                        leaf nbr-flags {
                          type uint32;
                          description
                            "Nbr flags, per thread";
                        }
    
                        leaf nbr-fd {
                          type int32;
                          description
                            "Primary FD, per nbr";
                        }
    
                        leaf reset-retries {
                          type uint8;
                          description
                            "Reset Retries, per nbr";
                        }
    
                        leaf sync-flags {
                          type uint32;
                          description
                            "Sync flags, per nbr";
                        }
    
                        leaf nsr-oper-down-count {
                          type uint32;
                          description
                            "Number of times NSR scoped sync has been done";
                        }
    
                        leaf last-nsr-scoped-sync {
                          type uint32;
                          description
                            "Last time NSR scoped syncwas done for the
    neighbor";
                        }
                      }  // container performance-statistics
    
                      container message-statistics {
                        description
                          "BGP neighbor message statistics";
                        container open {
                          description "Open";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container open
    
                        container notification {
                          description
                            "BGP neighbor messagestatistics notification";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container notification
    
                        container update {
                          description
                            "BGP neighbor message statisticsupdate";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container update
    
                        container keepalive {
                          description
                            "Message sent between BGP neighborsto check the
    link between is operating";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container keepalive
    
                        container route-refresh {
                          description
                            "BGP neighbor message statisticsroute refresh";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container route-refresh
    
                        container total {
                          description "Total";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container total
                      }  // container message-statistics
    
                      container tcp-init-sync-time-spec {
                        description
                          "Time When neighbor entered TCP Init Sync";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-time-spec
    
                      container tcp-init-sync-phase-two-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Phase
    Two";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-phase-two-time-spec
    
                      container tcp-init-sync-done-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Done";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-done-time-spec
    
                      container graceful-maintenance {
                        description
                          "Globally activated BGp neighborfor graceful
    shutdown";
                        leaf gshut-exists {
                          type boolean;
                          description
                            "Graceful Maintenance enabled";
                        }
    
                        leaf gshut-local-active {
                          type boolean;
                          description
                            "Graceful Maintenance locally activated";
                        }
    
                        leaf gshut-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated";
                        }
    
                        leaf gshut-locpref-set {
                          type boolean;
                          description
                            "Graceful Maintenance Local Preference set";
                        }
    
                        leaf gshut-locpref {
                          type uint32;
                          description
                            "Graceful Maintenance Local Preference";
                        }
    
                        leaf gshut-prepends {
                          type uint8;
                          description
                            "Graceful Maintenance number of AS prepends";
                        }
    
                        leaf gshut-interface-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Interface";
                        }
    
                        leaf gshut-location-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Location";
                        }
                      }  // container graceful-maintenance
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP neighbor description";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf has-internal-link {
                        type boolean;
                        description
                          "Internal link to neighbor";
                      }
    
                      leaf is-external-neighbor-not-directly-connected {
                        type boolean;
                        description
                          "Flag to indicate neighbor is external and not
    directly connected";
                      }
    
                      leaf messages-received {
                        type uint32;
                        description
                          "Number of messages received";
                      }
    
                      leaf messages-sent {
                        type uint32;
                        description
                          "Number of messages sent";
                      }
    
                      leaf update-messages-in {
                        type uint32;
                        description
                          "No. of update msgs received";
                      }
    
                      leaf update-messages-out {
                        type uint32;
                        description
                          "No. of update messages sent";
                      }
    
                      leaf messages-queued-in {
                        type uint32;
                        description
                          "No. of msgs on receive queue";
                      }
    
                      leaf messages-queued-out {
                        type uint32;
                        description
                          "No. of messages on send queue";
                      }
    
                      leaf connection-established-time {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) that the connection has been
    established";
                      }
    
                      leaf connection-state {
                        type Bgp-conn-state;
                        description
                          "State of connection";
                      }
    
                      leaf previous-connection-state {
                        type uint32;
                        description
                          "Previous state of connection";
                      }
    
                      leaf connection-admin-status {
                        type uint32;
                        description
                          "Administrative status of connection";
                      }
    
                      leaf open-check-error-code {
                        type Bgp-open-check-err;
                        description
                          "Error code for open check failure forBGP
    neighbor";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf connection-local-port {
                        type uint32;
                        description
                          "Local port for the connection";
                      }
    
                      leaf connection-remote-port {
                        type uint32;
                        description
                          "Remote port for the connection";
                      }
    
                      leaf neighbor-interface-handle {
                        type uint32;
                        description
                          "Interface Handle of Neighbor";
                      }
    
                      leaf reset-notification-sent {
                        type boolean;
                        description
                          "Notification was sent during last reset";
                      }
    
                      leaf is-administratively-shut-down {
                        type boolean;
                        description
                          "Flag to indicate if BGP neighbor is
    administratively shut down";
                      }
    
                      leaf is-neighbor-max-prefix-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down because it exceeded max prfx
    count";
                      }
    
                      leaf is-out-of-memory-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down during a SEVERE low memory
    condition";
                      }
    
                      leaf is-out-of-memory-forced-up {
                        type boolean;
                        description
                          "Neighbor forced up during a low memory condition";
                      }
    
                      leaf is-ebgp-peer-as-league {
                        type boolean;
                        description
                          "EBGP peer belongs to AS League";
                      }
    
                      leaf is-ebgp-peer-common-admin {
                        type boolean;
                        description
                          "EBGP peer with common administation";
                      }
    
                      leaf ttl-security-enabled {
                        type boolean;
                        description
                          "TTL Security enabled";
                      }
    
                      leaf suppress4-byte-as {
                        type boolean;
                        description
                          "Suppress 4byteas capability";
                      }
    
                      leaf bfd-session-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-created-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-enable-mode {
                        type Bgp-bfd-enable-mode;
                        description
                          "BFD enable mode for this peer";
                      }
    
                      leaf bfd-minintervalval {
                        type uint32;
                        description
                          "BFD Mininterval for this peer";
                      }
    
                      leaf bfd-multiplierval {
                        type uint32;
                        description
                          "BFD Multiplier for this peer";
                      }
    
                      leaf bfd-state-ts {
                        type uint64;
                        description
                          "Timestamp since when nbr is in this bfd state";
                      }
    
                      leaf router-id {
                        type inet:ipv4-address;
                        description
                          "Router ID for the neighbor";
                      }
    
                      leaf negotiated-protocol-version {
                        type uint16;
                        description
                          "Negotiated protocol version with the BGP
    neighbor";
                      }
    
                      leaf ebgp-time-to-live {
                        type uint32;
                        description
                          "Maximum number of hops for external BGP neighbor";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf tcpmss {
                        type uint32;
                        description
                          "Neighbor TCP Maximum Segment
    size";
                      }
    
                      leaf msg-log-in {
                        type uint32;
                        description
                          "Message in log count";
                      }
    
                      leaf msg-log-out {
                        type uint32;
                        description
                          "Message out log count";
                      }
    
                      leaf neighbor-local-as {
                        type uint32;
                        description
                          "Local AS configured on the neighbor";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Option to not prepend the Local AS to
    announcements";
                      }
    
                      leaf is-capability-negotiation-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                      }
    
                      leaf is-capability-negotiation-performed {
                        type boolean;
                        description
                          "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                      }
    
                      leaf is-route-refresh-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh was received";
                      }
    
                      leaf is-route-refresh-old-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                      }
    
                      leaf is-gr-aware {
                        type boolean;
                        description
                          "GR awareness received";
                      }
    
                      leaf is4-byte-as-capability-received {
                        type boolean;
                        description
                          "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                      }
    
                      leaf is4-byte-as-capability-sent {
                        type boolean;
                        description
                          "4-byte AScapability Snt";
                      }
    
                      leaf multi-protocol-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if multi-protocol capability
    has been received";
                      }
    
                      leaf hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) negotiated for this
    connection";
                      }
    
                      leaf keep-alive-time {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) negotiated for this
    connection";
                      }
    
                      leaf configured-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-keepalive {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-min-acc-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                      }
    
                      leaf min-advertise-interval {
                        type uint32;
                        units "second";
                        description
                          "Minimum advertisement interval, secs part";
                      }
    
                      leaf min-advertise-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement interval, msecs part";
                      }
    
                      leaf min-origination-interval {
                        type uint16;
                        units "second";
                        description
                          "Minimum origination interval (in secs)";
                      }
    
                      leaf connect-retry-interval {
                        type uint16;
                        units "second";
                        description
                          "Time (in secs) for connect retry timer";
                      }
    
                      leaf time-since-last-update {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last update message was
    received";
                      }
    
                      leaf time-since-last-read {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read";
                      }
    
                      leaf time-since-last-read-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read before last reset";
                      }
    
                      leaf time-last-cb {
                        type uint64;
                        description "CB";
                      }
    
                      leaf time-last-cb-reset {
                        type uint32;
                        description
                          "Last CB before reset";
                      }
    
                      leaf time-last-fb {
                        type uint64;
                        description "FB";
                      }
    
                      leaf count-last-write {
                        type uint32;
                        description "Count";
                      }
    
                      leaf time-since-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write";
                      }
    
                      leaf attempted-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of last write";
                      }
    
                      leaf actual-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of last write";
                      }
    
                      leaf time-since-second-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in seconds) elapsed since the second last
    write event";
                      }
    
                      leaf attempted-second-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write";
                      }
    
                      leaf actual-second-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of second last write";
                      }
    
                      leaf time-since-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of last write before reset";
                      }
    
                      leaf actual-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of last write before reset";
                      }
    
                      leaf time-since-second-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write before reset";
                      }
    
                      leaf actual-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of second last write before reset";
                      }
    
                      leaf last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write thread event";
                      }
    
                      leaf second-last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last write thread
    event";
                      }
    
                      leaf last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last KA timer expiry before
    reset";
                      }
    
                      leaf second-last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last KA timer expiry
    before reset";
                      }
    
                      leaf last-k-anotsent-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that KA was
    not sent before reset";
                      }
    
                      leaf last-k-aerror-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                      }
    
                      leaf last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the last KA timer start
    before reset";
                      }
    
                      leaf second-last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the second last KA timer
    start before reset";
                      }
    
                      leaf connection-up-count {
                        type uint32;
                        description
                          "Number of times the connection was established";
                      }
    
                      leaf connection-down-count {
                        type uint32;
                        description
                          "Number of times connection was dropped";
                      }
    
                      leaf time-since-connection-last-dropped {
                        type uint32;
                        units "second";
                        description
                          "Time since the connection last went down
    (seconds)";
                      }
    
                      leaf reset-reason {
                        type Bgp-reset-reason-index;
                        description
                          "Reason for last connection reset";
                      }
    
                      leaf peer-reset-reason {
                        type Bgp-peer-reset-reason-index;
                        description
                          "Reason for last peer close event";
                      }
    
                      leaf peer-error-code {
                        type uint32;
                        description
                          "If peer closed, error received from transport";
                      }
    
                      leaf last-notify-error-code {
                        type uint8;
                        description
                          "Code for the last error notification seen on the
    connection";
                      }
    
                      leaf last-notify-error-subcode {
                        type uint8;
                        description
                          "Error subcode of the last error notification
    seen on the connection";
                      }
    
                      leaf error-notifies-received {
                        type uint32;
                        description
                          "Number of error notifications received on the
    connection";
                      }
    
                      leaf error-notifies-sent {
                        type uint32;
                        description
                          "Number of error notifications sent on the
    connection";
                      }
    
                      leaf remote-as-number {
                        type uint32;
                        description
                          "Remote AS number of BGP neighbor";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Bandwidth of link to single-hop eBGP peer";
                      }
    
                      leaf ebgp-recv-dmz {
                        type boolean;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Ebgp send dmz link bw mode";
                      }
    
                      leaf tos-type {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf tcp-session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "The TCP mode to be used to set up BGP session
    with the neighbor";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf standby-rp {
                        type boolean;
                        description
                          "Standby RP socket inited for Active Open";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf graceful-restart-enabled-nbr {
                        type boolean;
                        description
                          "Neighbor supports graceful-restart";
                      }
    
                      leaf gr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor restart time (in seconds)";
                      }
    
                      leaf gr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor stale-path time (in seconds)";
                      }
    
                      leaf fssn-offset {
                        type uint32;
                        description
                          "First standby SeqNo offset";
                      }
    
                      leaf fpbsn-offset {
                        type uint32;
                        description
                          "First standby PDU boundary SeqNo offset";
                      }
    
                      leaf last-ackd-seq-no {
                        type uint32;
                        description
                          "SeqNo of the last Ackd byte";
                      }
    
                      leaf bytes-written {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes written by write thread";
                      }
    
                      leaf bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes read";
                      }
    
                      leaf socket-read-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Total read bytes value insocket-lib";
                      }
    
                      leaf is-read-disabled {
                        type boolean;
                        description
                          "If true, socket read isdisabled";
                      }
    
                      leaf update-bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total number of bytes readcorresponding to
    update messages";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      leaf is-passive-close {
                        type boolean;
                        description
                          "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                      }
    
                      leaf nbr-enforce-first-as {
                        type boolean;
                        description
                          "Neighbor enforce first AS";
                      }
    
                      leaf active-bmp-servers {
                        type uint8;
                        description
                          "BMP Servers to which the neighbor sends logs";
                      }
    
                      leaf nbr-cluster-id {
                        type uint32;
                        description "Cluster id";
                      }
    
                      leaf nbr-in-cluster {
                        type uint8;
                        description
                          "Type of cluster_id:undefined/number/Ip address";
                      }
    
                      leaf ignore-connected {
                        type boolean;
                        description
                          "If true, the VPN client isan IBGP CE peer";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf io-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for io
    control";
                      }
    
                      leaf read-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for read";
                      }
    
                      leaf write-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for write";
                      }
    
                      leaf discard-data-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Remaining discard data (bytes) on Standby";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
    
                      leaf local-as-dual-as-mode-native {
                        type boolean;
                        description
                          "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                      }
    
                      leaf egress-peer-engineering-enabled {
                        type boolean;
                        description
                          "Indicates if Egress Peer Engineering is enabled";
                      }
    
                      leaf discard-as4-path {
                        type uint32;
                        description
                          "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                      }
    
                      leaf rpki-disable {
                        type boolean;
                        description
                          "Prefix validation disabled";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Prefix v. use validity";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Prefix v. allow invalid";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Prefix v. signal ibgp";
                      }
    
                      leaf dynamic-neighbor {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                      }
    
                      leaf merge-inbound-safi1and4-updates {
                        type boolean;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf is-capability-enhe-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                      }
    
                      leaf delete-time-remaining {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) remaining for deletion";
                      }
    
                      leaf sn-bfd-discriminator {
                        type uint32;
                        description
                          "Local Discriminator for the associated BFD
    session";
                      }
    
                      list af-data {
                        max-elements 25;
                        description
                          "Address family specific neighbor data";
                        container neighbor-af-performance-statistics {
                          description
                            "Neighbor AF statistics";
                          leaf sub-group-pending-message-count {
                            type uint32;
                            description
                              "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                          }
    
                          leaf processed-messages {
                            type uint32;
                            description
                              "Number of messages processed from the neighbor's
    write queue";
                          }
    
                          leaf sent-messages {
                            type uint32;
                            description
                              "Number of messages sent from the neighbor's
    write queue";
                          }
    
                          leaf split-horizon-update-transmit {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-update-blocked {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were blocked";
                          }
    
                          leaf split-horizon-withdraw-transmit {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-withdraw-blocked {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were blocked";
                          }
                        }  // container neighbor-af-performance-statistics
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf is-neighbor-route-reflector-client {
                          type boolean;
                          description
                            "Nbr is a route reflector client";
                        }
    
                        leaf is-legacy-pe-rt {
                          type boolean;
                          description
                            "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                        }
    
                        leaf is-neighbor-af-capable {
                          type boolean;
                          description
                            "Address family capability received from neighbor";
                        }
    
                        leaf is-soft-reconfiguration-inbound-allowed {
                          type boolean;
                          description
                            "Inbound soft reconfiguration allowed";
                        }
    
                        leaf is-use-soft-reconfiguration-always-on {
                          type boolean;
                          description
                            "Soft reconf overrides route refresh";
                        }
    
                        leaf remove-private-as-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to this
    nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                        }
    
                        leaf remove-private-as-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                        }
    
                        leaf flowspec-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                        }
    
                        leaf flowspec-redirect-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                        }
    
                        leaf orr-group-name {
                          type string;
                          description
                            "ORR Group Name";
                        }
    
                        leaf orr-group-index {
                          type uint32;
                          description
                            "ORR Group Index";
                        }
    
                        leaf is-orr-root-address-configured {
                          type boolean;
                          description
                            "ORR Root address configuredfor the neighbor
    connection";
                        }
    
                        leaf advertise-afi {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-reorg {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-disable {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf encapsulation-type {
                          type uint32;
                          description
                            "BGP neighbor address-familyencapsulation type";
                        }
    
                        leaf advertise-rt-type {
                          type uint8;
                          description
                            "BGP neighbor address-familyadvertise route
    target type";
                        }
    
                        leaf advertise-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of default VRF import disable";
                        }
    
                        leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 default VRF import disable";
                        }
    
                        leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 default VRF import disable";
                        }
    
                        leaf advertise-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of VRF re-import disable";
                        }
    
                        leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 VRF re-import disable";
                        }
    
                        leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 VRF re-import disable";
                        }
    
                        leaf advertise-afi-eo-r-ready {
                          type boolean;
                          description
                            "EoR Can be sent for Advertise AFI";
                        }
    
                        leaf always-use-next-hop-local {
                          type boolean;
                          description
                            "Local router always used for next-hop";
                        }
    
                        leaf sent-community-to-neighbor {
                          type boolean;
                          description
                            "Community attribute sent to neighbor";
                        }
    
                        leaf sent-gshut-community-to-neighbor {
                          type boolean;
                          description
                            "GSHUT Community attribute sent to neighbor";
                        }
    
                        leaf sent-extended-community-to-neighbor {
                          type boolean;
                          description
                            "Extended community attribute sent to neighbor";
                        }
    
                        leaf default-originate-vpn-index {
                          type uint32;
                          description
                            "Default orig vpn indexto find bitfield for a nbr
    af";
                        }
    
                        leaf neighbor-default-originate {
                          type boolean;
                          description
                            "Neighbor originates default";
                        }
    
                        leaf is-orf-sent {
                          type boolean;
                          description
                            "Outbound route filter sent to neighbor";
                        }
    
                        leaf is-update-deferred {
                          type boolean;
                          description
                            "Update deferred until ORF/route refresh received";
                        }
    
                        leaf is-orf-send-scheduled {
                          type boolean;
                          description
                            "Scheduled to send prefix based ORF";
                        }
    
                        leaf update-group-number {
                          type uint32;
                          description
                            "Update group index";
                        }
    
                        leaf filter-group-index {
                          type uint32;
                          description
                            "BGP neighbor address-familyfilter group index";
                        }
    
                        leaf is-update-throttled {
                          type boolean;
                          description
                            "Updates Throttled becausewrite limit is reached";
                        }
    
                        leaf is-update-leaving {
                          type boolean;
                          description
                            "Nbr leaving update-groupto another";
                        }
    
                        leaf vpn-update-gen-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf vpn-update-gen-trigger-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf is-addpath-send-operational {
                          type boolean;
                          description
                            "Addpath is operational on send-side";
                        }
    
                        leaf is-addpath-receive-operational {
                          type boolean;
                          description
                            "Addpath is operational on receive-side";
                        }
    
                        leaf neighbor-version {
                          type uint32;
                          description
                            "BGP neighbor version for theaddress-family";
                        }
    
                        leaf weight {
                          type uint32;
                          description
                            "Weight for this AF";
                        }
    
                        leaf max-prefix-limit {
                          type uint32;
                          description
                            "Max limit for # of prefixes";
                        }
    
                        leaf use-max-prefix-warning-only {
                          type boolean;
                          description
                            "Warning only when maximum prefix limit reached";
                        }
    
                        leaf max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths when prefix limit reached";
                        }
    
                        leaf max-prefix-exceed-discard-paths {
                          type boolean;
                          description
                            "Did we discard extra paths when prefix limit
    reached";
                        }
    
                        leaf max-prefix-threshold-percent {
                          type uint8;
                          units "percentage";
                          description
                            "Percentage of maximum no. of prefixes at which
    to generate warning";
                        }
    
                        leaf max-prefix-discard-paths-count {
                          type uint32;
                          description
                            "Number of discarded paths after prefix limit
    reached";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint16;
                          units "minute";
                          description
                            "Time interval (in minutes) after which peering
    session will be reestablished";
                        }
    
                        leaf prefixes-accepted {
                          type uint32;
                          description
                            "Number of prefixes acceptedfrom this BGP
    neighbor";
                        }
    
                        leaf prefixes-synced {
                          type uint32;
                          description
                            "Number of prefixes synced to standby";
                        }
    
                        leaf prefixes-withdrawn-not-found {
                          type uint32;
                          description
                            "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                        }
    
                        leaf prefixes-denied {
                          type uint32;
                          description
                            "Number of prefixes denied forthis BGP neighbor";
                        }
    
                        leaf prefixes-denied-no-policy {
                          type uint32;
                          description
                            "No. of prefixes denied because there was no
    inbound policy";
                        }
    
                        leaf prefixes-denied-rt-permit {
                          type uint32;
                          description
                            "No. of prefixes denied because RT extended
    community is not imported";
                        }
    
                        leaf prefixes-denied-orf-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by prefix based ORF
    policy";
                        }
    
                        leaf prefixes-denied-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by inbound policy";
                        }
    
                        leaf number-of-bestpaths {
                          type uint32;
                          description
                            "No. of bestpaths from this neighbor";
                        }
    
                        leaf number-of-best-externalpaths {
                          type uint32;
                          description
                            "No. of best-external paths from this neighbor";
                        }
    
                        leaf prefixes-advertised {
                          type uint32;
                          description
                            "Number of prefixes advertisedfor this BGP
    neighbor";
                        }
    
                        leaf prefixes-be-advertised {
                          type uint32;
                          description
                            "Number of BE prefixes advertised";
                        }
    
                        leaf prefixes-suppressed {
                          type uint32;
                          description
                            "Number of prefixes suppressed";
                        }
    
                        leaf prefixes-withdrawn {
                          type uint32;
                          description
                            "Number of prefixes withdrawn";
                        }
    
                        leaf is-peer-orf-capable {
                          type boolean;
                          description
                            "Peer has outbound route filter capability";
                        }
    
                        leaf is-advertised-orf-send {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability advertised";
                        }
    
                        leaf is-received-orf-send-capable {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability received";
                        }
    
                        leaf is-advertised-orf-receive {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    advertised";
                        }
    
                        leaf is-received-orf-receive-capable {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    received";
                        }
    
                        leaf is-advertised-graceful-restart {
                          type boolean;
                          description
                            "Graceful Restart Capability advertised";
                        }
    
                        leaf is-graceful-restart-state-flag {
                          type boolean;
                          description
                            "Restart state flag enabled";
                        }
    
                        leaf is-received-graceful-restart-capable {
                          type boolean;
                          description
                            "Graceful Restart Capability received";
                        }
    
                        leaf is-add-path-send-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                        }
    
                        leaf is-add-path-send-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability
    received from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-received {
                          type boolean;
                          description
                            "Flag to indicate addpath receive capability
    received from BGPneighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-received {
                          type boolean;
                          description
                            "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-sent {
                          type boolean;
                          description
                            "Extended nexhop encoding capability Sent";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time advertised (seconds)";
                        }
    
                        leaf local-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Local Restart time (seconds)";
                        }
    
                        leaf stale-path-timeout {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout-value {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf neighbor-preserved-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate neighbor preserved in
    forwarding state";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-configured {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-sent {
                          type uint32;
                          units "second";
                          description
                            "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          units "second";
                          description
                            "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-capability-received {
                          type boolean;
                          description
                            "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-received {
                          type uint32;
                          units "second";
                          description
                            "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                        }
    
                        leaf neighbor-preserved-long-lived-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-capable {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-time-remaining {
                          type uint32;
                          description
                            "Remaining long-lived graceful-restart time";
                        }
    
                        leaf route-refreshes-received {
                          type uint32;
                          description
                            "Number of route refresh requests received";
                        }
    
                        leaf route-refreshes-sent {
                          type uint32;
                          description
                            "Number of route refresh requests sent";
                        }
    
                        leaf refresh-target-version {
                          type uint32;
                          description
                            "Target version for refresh update generation";
                        }
    
                        leaf refresh-version {
                          type uint32;
                          description
                            "Version till which refresh updates have been
    generated";
                        }
    
                        leaf refresh-acked-version {
                          type uint32;
                          description
                            "Version acked by the peer for refresh updates
    sent";
                        }
    
                        leaf is-prefix-orf-present {
                          type boolean;
                          description
                            "Outbound route filter prefix ORF present";
                        }
    
                        leaf orf-entries-received {
                          type uint32;
                          description
                            "Number of outbound route filter entries received";
                        }
    
                        leaf is-default-originate-sent {
                          type boolean;
                          description
                            "Default origination update sent";
                        }
    
                        leaf route-policy-prefix-orf {
                          type string;
                          description
                            "Prefix based ORF for incoming updates";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Incoming route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outgoing route policy name";
                        }
    
                        leaf route-policy-default-originate {
                          type string;
                          description
                            "Default-originate route policy name";
                        }
    
                        leaf is-neighbor-ebgp-without-inbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured inbound policy";
                        }
    
                        leaf is-neighbor-ebgp-without-outbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured outbound policy";
                        }
    
                        leaf is-upd-orig-loopchk-disable-set {
                          type boolean;
                          description
                            "Flag to indicate if update out originator
    loopcheck is disabled";
                        }
    
                        leaf is-as-override-set {
                          type boolean;
                          description
                            "Flag to indicate as override set for BGP
    neighbor";
                        }
    
                        leaf is-allow-as-in-set {
                          type boolean;
                          description
                            "Allowas-in set ";
                        }
    
                        leaf allow-as-in-count {
                          type uint32;
                          description
                            "Allowas-in count config";
                        }
    
                        leaf address-family-long-lived-time {
                          type uint32;
                          description
                            "AF specific Long-lived-time config";
                        }
    
                        leaf eo-r-received-in-read-only {
                          type boolean;
                          description
                            "An EoR was received while in read-only mode";
                        }
    
                        leaf acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo";
                        }
    
                        leaf synced-acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf outstanding-version {
                          type uint32;
                          description
                            "No. of all outstanding version objects waiting
    for ack from the peer";
                        }
    
                        leaf outstanding-refresh-version {
                          type uint32;
                          description
                            "No. of only refresh version objects waiting for
    ack from the peer";
                        }
    
                        leaf outstanding-version-max {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf is-aigp-set {
                          type boolean;
                          description
                            "AIGP set ";
                        }
    
                        leaf is-rt-present {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf is-rt-present-standby {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf accept-own-enabled {
                          type boolean;
                          description
                            "Flag to indicate if Accept-Own is enabled";
                        }
    
                        leaf selective-multipath-eligible {
                          type boolean;
                          description
                            "Flag to indicate if selective multipath is
    eligible";
                        }
    
                        leaf afrpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf afrpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf afrpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf afrpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf is-advertise-permanent-network {
                          type boolean;
                          description
                            "Flag to indicate if advertise is permanent
    network";
                        }
    
                        leaf is-send-mcast-attr {
                          type boolean;
                          description
                            "Send Mcast Attr";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Import Stitching enabled";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Import Reoriginate enabled";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Import Reoriginate Stitching enabled";
                        }
    
                        leaf advertise-v4-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV4";
                        }
    
                        leaf advertise-v6-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV6";
                        }
    
                        leaf advertise-local-labeled-route-unicast {
                          type boolean;
                          description
                            "Advertise routes with ";
                        }
    
                        leaf prefixes-denied-non-cumulative {
                          type uint32;
                          description
                            "No. of prefixes exactly denied (non cumulative)";
                        }
    
                        leaf enable-label-stack {
                          type boolean;
                          description
                            "Flag to indicate if label stack is enabled";
                        }
    
                        leaf ot-prov-track-enable {
                          type boolean;
                          description
                            "OT Provider Tracking enabled";
                        }
    
                        leaf ot-prov-track-state {
                          type Bgp-track-state;
                          description
                            "OT Provider Tracking state";
                        }
    
                        leaf ot-prov-track-in-gr-state {
                          type boolean;
                          description
                            "OT Provider Track in GR State";
                        }
    
                        leaf ot-prov-track-eor-tmr-running {
                          type boolean;
                          description
                            "OT Provider Track EOR timer running";
                        }
    
                        leaf slow-peer-flags {
                          type uint8;
                          description
                            "Slow Peer Flags ";
                        }
    
                        leaf slow-peer-static {
                          type boolean;
                          description
                            "Static Slow Peer ";
                        }
    
                        leaf slow-peer-dynamic {
                          type boolean;
                          description
                            "Dynamic Slow Peer";
                        }
    
                        leaf slow-peer-permanent {
                          type boolean;
                          description
                            "Permanent Slow Peer";
                        }
    
                        leaf slow-peer-count {
                          type uint16;
                          description
                            "Slow peer count";
                        }
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list extended-community-standby {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community-standby
                      }  // list af-data
                    }  // list neighbor
                  }  // container neighbor-missing-eor-table
    
                  container process-info {
                    description
                      "A Process instance table entry";
                    container global {
                      description
                        "Global information";
                      leaf process-instance-node {
                        type string;
                        description
                          "Node the process instance is on";
                      }
    
                      leaf restart-count {
                        type uint32;
                        description
                          "No. of times BGP has started";
                      }
    
                      leaf path-attributes-entry-count {
                        type uint32;
                        description
                          "No. of path attribute entries";
                      }
    
                      leaf path-attribute-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (bytes) used by path attribute entries";
                      }
    
                      leaf as-path-entry-count {
                        type uint32;
                        description
                          "Number of AS-path entries";
                      }
    
                      leaf as-path-entries-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by AS-path entries";
                      }
    
                      leaf community-entry-count {
                        type uint32;
                        description
                          "Number of community entries";
                      }
    
                      leaf community-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by community entries";
                      }
    
                      leaf extended-community-entry-count {
                        type uint32;
                        description
                          "Number of extended community entries";
                      }
    
                      leaf extended-community-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by extended community
    entries";
                      }
    
                      leaf pe-distinguisher-label-entry-count {
                        type uint32;
                        description
                          "Number of PE distinguisher label entries";
                      }
    
                      leaf pe-distinguisher-label-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by PE distinguisher
    labels entries";
                      }
    
                      leaf pta-entry-count {
                        type uint32;
                        description
                          "Number of PTA entries";
                      }
    
                      leaf pta-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by PTA entries";
                      }
    
                      leaf tunnel-encap-entry-count {
                        type uint32;
                        description
                          "Number of Tunnel encap entries";
                      }
    
                      leaf tunnel-encap-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by tunnel encap entries";
                      }
    
                      leaf ribrnh-entry-count {
                        type uint32;
                        description
                          "Number of RIBRNH entries";
                      }
    
                      leaf ribrnh-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by RIBRNH entries";
                      }
    
                      leaf ppmp-entry-count {
                        type uint32;
                        description
                          "Number of PPMP entries";
                      }
    
                      leaf ppmp-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by PPMP entries";
                      }
    
                      leaf route-reflectors {
                        type uint32;
                        description
                          "Number of route reflector info entries";
                      }
    
                      leaf route-reflector-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by route reflector info
    entries";
                      }
    
                      leaf nexthop-count {
                        type uint32;
                        description
                          "Number of nexthop attribute info entries";
                      }
    
                      leaf nexthop-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by nexthop attribute info
    entries";
                      }
    
                      leaf lsattr-entry-count {
                        type uint32;
                        description
                          "Number of LASATTR entries";
                      }
    
                      leaf lsattr-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by LSATTR entries";
                      }
    
                      leaf attr-set-entry-count {
                        type uint32;
                        description
                          "Number of ATTRSET entries";
                      }
    
                      leaf attr-set-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by ATTRSET entries";
                      }
    
                      leaf prefix-sid-label-index-count {
                        type uint32;
                        description
                          "Number of Prefix-SID LabelIndex entries";
                      }
    
                      leaf prefix-sid-label-index-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID LabelIndex
    entries";
                      }
    
                      leaf prefix-sid-orig-srgb-count {
                        type uint32;
                        description
                          "Number of Prefix-SID OrigSRGB entries";
                      }
    
                      leaf prefix-sid-orig-srgb-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID OrigSRGB
    entries";
                      }
    
                      leaf prefix-sid-srv6-layer3-svc-count {
                        type uint32;
                        description
                          "Number of Prefix-SID SRv6L3SVC entries";
                      }
    
                      leaf prefix-sid-srv6-layer3-svc-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID SRv6L3SVC
    entries";
                      }
    
                      leaf prefix-sid-srv6-layer2-svc-count {
                        type uint32;
                        description
                          "Number of Prefix-SID SRv6L2SVC entries";
                      }
    
                      leaf prefix-sid-srv6-layer2-svc-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID SRv6L2SVC
    entries";
                      }
    
                      leaf prefix-sid-unk-tl-vs-count {
                        type uint32;
                        description
                          "Number of Prefix-SID UnkTLVs entries";
                      }
    
                      leaf prefix-sid-unk-tl-vs-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID UnkTLVs
    entries";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local autonomous system number";
                      }
    
                      leaf total-vrf-count {
                        type uint32;
                        description
                          "Total count of VRFs";
                      }
    
                      leaf neighbors-count-total {
                        type uint32;
                        description
                          "Total number of neighbors";
                      }
    
                      leaf established-neighbors-count-total {
                        type uint32;
                        description
                          "Total number of neighbors in established state";
                      }
    
                      leaf sn-num-non-dflt-vrf-nbrs {
                        type uint32;
                        description
                          "Number of neighbors in all non-default VRFs";
                      }
    
                      leaf sn-num-non-dflt-vrf-nbrs-estab {
                        type uint32;
                        description
                          "Number of established neighbors in all
    non-default VRFs";
                      }
    
                      leaf large-community-entry-count {
                        type uint32;
                        description
                          "Number of large community entries";
                      }
    
                      leaf large-community-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by large community
    entries";
                      }
    
                      list pool-size {
                        max-elements 15;
                        description
                          "BGP process maximum pool size";
                        leaf entry {
                          type uint32;
                          description
                            "BGP process maximum pool size";
                        }
                      }  // list pool-size
    
                      list pool-alloc-count {
                        max-elements 15;
                        description
                          "Number of bytes of memory forpool allocation";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memory forpool allocation";
                        }
                      }  // list pool-alloc-count
    
                      list pool-free-count {
                        max-elements 15;
                        description
                          "Number of bytes of memory freedin pool";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memory freedin pool";
                        }
                      }  // list pool-free-count
    
                      list msg-log-pool-size {
                        max-elements 5;
                        description
                          "Number of messages present in pool";
                        leaf entry {
                          type uint32;
                          description
                            "Number of messages present in pool";
                        }
                      }  // list msg-log-pool-size
    
                      list msg-log-pool-alloc-count {
                        max-elements 5;
                        description
                          "Number of messages poolallocation memory";
                        leaf entry {
                          type uint32;
                          description
                            "Number of messages poolallocation memory";
                        }
                      }  // list msg-log-pool-alloc-count
    
                      list msg-log-pool-free-count {
                        max-elements 5;
                        description
                          "Number of messages log freedfrom pool";
                        leaf entry {
                          type uint32;
                          description
                            "Number of messages log freedfrom pool";
                        }
                      }  // list msg-log-pool-free-count
    
                      list bmp-pool-size {
                        max-elements 20;
                        description
                          "BGP monitoring protocol (BMP) pool size";
                        leaf entry {
                          type uint32;
                          description
                            "BGP monitoring protocol (BMP) pool size";
                        }
                      }  // list bmp-pool-size
    
                      list bmp-pool-alloc-count {
                        max-elements 20;
                        description
                          "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                        }
                      }  // list bmp-pool-alloc-count
    
                      list bmp-pool-free-count {
                        max-elements 20;
                        description
                          "Number of bytes of memory freedfrom pool";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memory freedfrom pool";
                        }
                      }  // list bmp-pool-free-count
                    }  // container global
    
                    container vrf {
                      description
                        "VRF information";
                      leaf neighbors-count {
                        type uint32;
                        description
                          "Number of neighbors";
                      }
    
                      leaf established-neighbors-count {
                        type uint32;
                        description
                          "Number of established neighbors";
                      }
    
                      leaf update-messages-received {
                        type uint32;
                        description
                          "Count of BGP update messages received";
                      }
    
                      leaf update-messages-sent {
                        type uint32;
                        description
                          "Count of BGP update messages sent";
                      }
    
                      leaf notifications-received {
                        type uint32;
                        description
                          "Number of BGP notifications received";
                      }
    
                      leaf notifications-sent {
                        type uint32;
                        description
                          "Number of BGP notifications sent";
                      }
    
                      leaf network-count {
                        type uint32;
                        description
                          "Number of networks";
                      }
    
                      leaf path-count {
                        type uint32;
                        description
                          "Number of paths";
                      }
                    }  // container vrf
    
                    container performance-statistics {
                      description
                        "BGP process informationperformance statistics";
                      container global {
                        description
                          "Global information";
                        container ipv4rib-server {
                          description
                            "IPv4 RIB server global info";
                          container first-rib-connection-up-timestamp {
                            description
                              "First RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-up-timestamp
    
                          container last-rib-connection-up-timestamp {
                            description
                              "Last RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-up-timestamp
    
                          container first-rib-connection-down-timestamp {
                            description
                              "First RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-down-timestamp
    
                          container last-rib-connection-down-timestamp {
                            description
                              "Last RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-down-timestamp
    
                          leaf is-rib-connection-up {
                            type boolean;
                            description
                              "Is RIB Connection Up?";
                          }
    
                          leaf rib-connection-up-count {
                            type uint32;
                            description
                              "Number of RIB connection Up events";
                          }
    
                          leaf last-rib-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Up event (in
    seconds)";
                          }
    
                          leaf rib-connection-down-count {
                            type uint32;
                            description
                              "Number of RIB connection Down events";
                          }
    
                          leaf last-rib-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Down event (in
    seconds)";
                          }
                        }  // container ipv4rib-server
    
                        container ipv6rib-server {
                          description
                            "IPv6 RIB server global info";
                          container first-rib-connection-up-timestamp {
                            description
                              "First RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-up-timestamp
    
                          container last-rib-connection-up-timestamp {
                            description
                              "Last RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-up-timestamp
    
                          container first-rib-connection-down-timestamp {
                            description
                              "First RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-down-timestamp
    
                          container last-rib-connection-down-timestamp {
                            description
                              "Last RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-down-timestamp
    
                          leaf is-rib-connection-up {
                            type boolean;
                            description
                              "Is RIB Connection Up?";
                          }
    
                          leaf rib-connection-up-count {
                            type uint32;
                            description
                              "Number of RIB connection Up events";
                          }
    
                          leaf last-rib-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Up event (in
    seconds)";
                          }
    
                          leaf rib-connection-down-count {
                            type uint32;
                            description
                              "Number of RIB connection Down events";
                          }
    
                          leaf last-rib-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Down event (in
    seconds)";
                          }
                        }  // container ipv6rib-server
    
                        container te-connection {
                          description
                            "MPLS TE server connection info";
                          container first-connection-up-timestamp {
                            description
                              "Timestamp for first connection up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-up-timestamp
    
                          container last-connection-up-timestamp {
                            description
                              "Timestamp for last connection Up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-up-timestamp
    
                          container first-connection-down-timestamp {
                            description
                              "Timestamp for first connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-down-timestamp
    
                          container last-connection-down-timestamp {
                            description
                              "Timestamp for last connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-down-timestamp
    
                          leaf is-connection-up {
                            type boolean;
                            description
                              "Is Connection Up?";
                          }
    
                          leaf connection-up-count {
                            type uint32;
                            description
                              "Number of connection Up events";
                          }
    
                          leaf last-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Up event (in seconds)";
                          }
    
                          leaf connection-down-count {
                            type uint32;
                            description
                              "Number of connection down events";
                          }
    
                          leaf last-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Down event (in
    seconds)";
                          }
                        }  // container te-connection
    
                        container lsd-connection {
                          description
                            "MPLS LSD server connection info";
                          container first-connection-up-timestamp {
                            description
                              "Timestamp for first connection up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-up-timestamp
    
                          container last-connection-up-timestamp {
                            description
                              "Timestamp for last connection Up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-up-timestamp
    
                          container first-connection-down-timestamp {
                            description
                              "Timestamp for first connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-down-timestamp
    
                          container last-connection-down-timestamp {
                            description
                              "Timestamp for last connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-down-timestamp
    
                          leaf is-connection-up {
                            type boolean;
                            description
                              "Is Connection Up?";
                          }
    
                          leaf connection-up-count {
                            type uint32;
                            description
                              "Number of connection Up events";
                          }
    
                          leaf last-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Up event (in seconds)";
                          }
    
                          leaf connection-down-count {
                            type uint32;
                            description
                              "Number of connection down events";
                          }
    
                          leaf last-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Down event (in
    seconds)";
                          }
                        }  // container lsd-connection
    
                        container ds-npl {
                          description
                            "NSR related DS and NPL information";
                          leaf dir-service-conn-state {
                            type Bgp-ds-conn-state;
                            description
                              "Current Directory Service connectionstate";
                          }
    
                          leaf issu-mgr-conn-state {
                            type Bgp-ism-conn-state;
                            description
                              "Current ISSU Mgr connection state";
                          }
    
                          leaf issu-phase {
                            type string;
                            description
                              "Current ISSU Phase";
                          }
    
                          leaf issu-type-ng {
                            type boolean;
                            description
                              "ISSU type is Next Gen";
                          }
    
                          leaf issuha-option {
                            type string;
                            description
                              "Current ISSU HA option";
                          }
    
                          leaf local-ds-handle {
                            type uint64;
                            description
                              "Local Directory Service handle";
                          }
    
                          leaf service-name {
                            type string;
                            description
                              "Local DS service name";
                          }
    
                          leaf dsissu-status-flag {
                            type uint32;
                            description
                              "DS ISSU status flag";
                          }
    
                          list npl-priority-statistic {
                            max-elements 2;
                            description
                              "Stats for BGP NPL priority";
                            leaf prio-queue-level {
                              type string {
                                length "0..32";
                              }
                              description
                                "npl priority queue level";
                            }
    
                            list num-sent {
                              max-elements 5;
                              description
                                "Total sent";
                              leaf entry {
                                type uint64;
                                description
                                  "Total sent";
                              }
                            }  // list num-sent
    
                            list num-recv {
                              max-elements 6;
                              description
                                "Total recvd";
                              leaf entry {
                                type uint64;
                                description
                                  "Total recvd";
                              }
                            }  // list num-recv
    
                            list num-sent-drop {
                              max-elements 5;
                              description
                                "Sent Error/drops";
                              list nsr-pl-send-drop-array {
                                max-elements 7;
                                description
                                  "nsr pl send drop array";
                                leaf entry {
                                  type uint32;
                                  description
                                    "entry";
                                }
                              }  // list nsr-pl-send-drop-array
                            }  // list num-sent-drop
    
                            list num-recv-drop {
                              max-elements 6;
                              description
                                "Recv Errors/drops";
                              list nsr-pl-recv-drop-array {
                                max-elements
                                  16;
                                description
                                  "nsr pl recv drop array";
                                leaf entry {
                                  type uint32;
                                  description
                                    "entry";
                                }
                              }  // list nsr-pl-recv-drop-array
                            }  // list num-recv-drop
                          }  // list npl-priority-statistic
    
                          list npl-endpoint {
                            description
                              "NPL endpoint information";
                            leaf endpoint-name {
                              type string;
                              description
                                "BGP NPL endpoint name";
                            }
    
                            leaf sync-group-name {
                              type string;
                              description
                                "Syncgroup associated with this endpoint";
                            }
    
                            leaf node-id {
                              type xr:Node-id;
                              description
                                "Node ID";
                            }
    
                            leaf endpoint-handle {
                              type uint64;
                              description
                                "Handle to end-point for NCD communication";
                            }
    
                            leaf endpoint-stale-flag {
                              type boolean;
                              description
                                "Flag to indicate if endpoint is stale";
                            }
    
                            leaf endpoint-issu-role {
                              type string;
                              description
                                "Endpoint's ISSU Role. Values are 'Primary',
    'Secondary' and 'Tertiary'";
                            }
    
                            leaf endpoint-active-flag {
                              type boolean;
                              description
                                "Flag to indicate if endpoint is active";
                            }
    
                            leaf msg-size {
                              type uint32;
                              description
                                "Message size for this entity";
                            }
    
                            leaf wheel-id {
                              type uint32;
                              description
                                "Wheel ID for this endpoint";
                            }
    
                            leaf expected-sequence-num {
                              type uint32;
                              description
                                "BGP NPL sequence number expected";
                            }
    
                            leaf last-sent-sequence-num {
                              type uint32;
                              description
                                "Last sent Sequence Num";
                            }
    
                            leaf npl-initial-sequence-num {
                              type uint32;
                              description
                                "NPL Initial Sequence Num";
                            }
    
                            list endpoint {
                              description
                                "NCD endpoint bytestream";
                              leaf entry {
                                type uint8;
                                units "byte";
                                description
                                  "NCD endpoint bytestream";
                              }
                            }  // list endpoint
                          }  // list npl-endpoint
                        }  // container ds-npl
    
                        leaf configuration-items-processed {
                          type uint32;
                          description
                            "Number of config items processed";
                        }
    
                        leaf configuration-processing-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing config (milliseconds)";
                        }
    
                        leaf edm-requests-count {
                          type uint32;
                          description
                            "Number of EDM requests processed";
                        }
    
                        leaf edm-processing-time {
                          type uint32;
                          description
                            "Time spent processing EDM requests (ms)";
                        }
    
                        leaf brib-api-output-messages-sent {
                          type uint32;
                          description
                            "bRIB API output messages sent";
                        }
    
                        leaf brib-api-output-bytes-sent {
                          type uint32;
                          units "byte";
                          description
                            "bRIB API output bytes sent";
                        }
    
                        leaf brib-api-output-bytes-generated {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes generated to be sent by the BGP
    RIB API";
                        }
    
                        leaf brib-api-output-prefixes-advertised {
                          type uint32;
                          description
                            "Number of prefix advertise messagesto be sent by
    the bRIB API";
                        }
    
                        leaf brib-api-output-prefixes-withdrawn {
                          type uint32;
                          description
                            "Number of prefix withdraw messagesto be sent by
    the bRIB API";
                        }
    
                        leaf brib-api-output-sending-time {
                          type uint32;
                          description
                            "Time spent sending output to bRIB API (ms)";
                        }
    
                        leaf brib-api-output-generation-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent generating output for bRIB API
    (milliseconds)";
                        }
    
                        leaf brib-api-output-calls {
                          type uint32;
                          description
                            "bRIB API calls to generate output";
                        }
    
                        leaf brib-api-input-messages {
                          type uint32;
                          description
                            "bRIB API input messages";
                        }
    
                        leaf brib-api-input-bytes {
                          type uint32;
                          units "byte";
                          description
                            "bRIB API input bytes";
                        }
    
                        leaf brib-api-input-prefixes-received {
                          type uint32;
                          description
                            "bRIB API input advertised prefixes received";
                        }
    
                        leaf brib-api-input-withdrawn-prefixes {
                          type uint32;
                          description
                            "bRIB API input withdrawn prefixes received";
                        }
    
                        leaf brib-api-input-processing-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing input from bRIB API
    (milliseconds)";
                        }
    
                        leaf instance-node-role {
                          type boolean;
                          description
                            "Node role - active/passive";
                        }
    
                        leaf active-nsrtcp-phase-two-enter-time {
                          type uint32;
                          units "second";
                          description
                            "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                        }
    
                        leaf sec-active-nsrtcp-phase-two-enter-time {
                          type uint32;
                          units "second";
                          description
                            "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                        }
    
                        leaf proc-scoped-sync-state {
                          type Bgp-scoped-sync-state;
                          description
                            "Synchronized state of BGP process";
                        }
    
                        leaf initial-sync-sessions-added {
                          type boolean;
                          description
                            "If true, BGP has at least one established
    session when NSR initial synchronization is
    started";
                        }
    
                        leaf in-event-attach-calls {
                          type uint32;
                          description
                            "event_file_attach  calls for input";
                        }
    
                        leaf out-event-attach-calls {
                          type uint32;
                          description
                            "event_file_attach  calls for output";
                        }
    
                        leaf in-out-event-attach-calls {
                          type uint32;
                          description
                            "event_file_attach calls for input";
                        }
    
                        leaf updgen-timer-running {
                          type boolean;
                          description
                            "Flag to indicate if update generation master
    timer is running";
                        }
    
                        leaf updgen-tree-timer-left {
                          type uint64;
                          description
                            "Time left before the QNX timer would expire";
                        }
    
                        leaf updgen-tree-timer-expiry {
                          type uint64;
                          description
                            "Time as per tree->mtexptime";
                        }
    
                        leaf current-clock-time {
                          type uint64;
                          description
                            "Current time";
                        }
    
                        leaf updgen-handler-tm {
                          type uint64;
                          description
                            "Timestamp when updgen timer handler got called";
                        }
    
                        leaf io-timer-running {
                          type boolean;
                          description
                            "IO master timer Running";
                        }
    
                        leaf io-tree-timer-left {
                          type uint64;
                          description
                            "Time left before the QNX timer would expire";
                        }
    
                        leaf io-tree-timer-expiry {
                          type uint64;
                          description
                            "Time as per tree->mtexptime";
                        }
    
                        leaf io-handler-tm {
                          type uint64;
                          description
                            "Timestamp when IO timer handler got called";
                        }
    
                        leaf qad-messages-sent {
                          type uint32;
                          description
                            "Messages sent on QAD ";
                        }
    
                        leaf qadack-sent {
                          type uint32;
                          description
                            "Acks sent on QAD ";
                        }
    
                        leaf qad-send-failure {
                          type uint32;
                          description
                            "Send failure on QAD ";
                        }
    
                        leaf qad-ac-ks-failure {
                          type uint32;
                          description
                            "Ack failure on QAD ";
                        }
    
                        leaf qad-suspends {
                          type uint32;
                          description
                            "QAD send suspend";
                        }
    
                        leaf qad-resumes {
                          type uint32;
                          description
                            "QAD send resume ";
                        }
    
                        leaf qad-send-drops {
                          type uint32;
                          description
                            "Send packets dropped due to null peer ";
                        }
    
                        leaf qad-messages-received {
                          type uint32;
                          description
                            "Messages received on QAD ";
                        }
    
                        leaf qad-processed {
                          type uint32;
                          description
                            "Messages processed";
                        }
    
                        leaf qad-ac-ks-received {
                          type uint32;
                          description
                            "Acks received on QAD ";
                        }
    
                        leaf qad-timeout-received {
                          type uint32;
                          description
                            "Timeouts received on QAD ";
                        }
    
                        leaf qad-init-drops {
                          type uint32;
                          description
                            "Packets dropped on standby during initialization";
                        }
    
                        leaf qadoos-drops {
                          type uint32;
                          description
                            "Packets dropped due to  out of sequence
    packetreceived";
                        }
    
                        leaf qad-recv-drops {
                          type uint32;
                          description
                            "Received packet dropped due to null peer ";
                        }
    
                        leaf qad-timeout-recvd {
                          type uint32;
                          description
                            "Number of packet send timeouts ";
                        }
    
                        leaf nsr-last-reset-reason {
                          type uint8;
                          description
                            "Reason for last nsr state  machine reset";
                        }
    
                        leaf redcon-nsr-ready {
                          type boolean;
                          description
                            "NSR state conveyed to Redcon  by bgp - nsr
    ready/unready";
                        }
    
                        leaf redcon-state-time {
                          type uint32;
                          description
                            "Time when nsr state wasconveyed to Redcon last";
                        }
    
                        leaf active-nsr-state {
                          type uint32;
                          description
                            "Current Active BGP nsrstate";
                        }
    
                        leaf sec-active-nsr-state {
                          type uint32;
                          description
                            "Current Sec Active BGP nsrstate";
                        }
    
                        leaf total-outstanding-postits {
                          type uint32;
                          description
                            "Total outstanding postits across all neighbors";
                        }
    
                        leaf total-neighbors-with-pending-postits {
                          type uint32;
                          description
                            "Count of neighbors with postits pending";
                        }
    
                        leaf tep2p-auto-tunnel-enabled {
                          type boolean;
                          description
                            "TE support for P2P auto tunnel";
                        }
    
                        list active-nsr-mode-enter-time {
                          max-elements 26;
                          description
                            "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          leaf entry {
                            type uint32;
                            units "second";
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          }
                        }  // list active-nsr-mode-enter-time
    
                        list standby-nsr-mode-enter-time {
                          max-elements 7;
                          description
                            "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          leaf entry {
                            type uint32;
                            units "second";
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          }
                        }  // list standby-nsr-mode-enter-time
    
                        list active-nsrfo-time {
                          max-elements 10;
                          description
                            "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                          leaf entry {
                            type uint32;
                            units "second";
                            description
                              "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                          }
                        }  // list active-nsrfo-time
    
                        list postit-count-info {
                          description
                            "List of neighbors and their postit counts";
                          container neighbor-address {
                            description
                              "IP address of the neighbor";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          leaf postit-count {
                            type uint32;
                            description
                              "Count of the number of postits for this nbr";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
                        }  // list postit-count-info
    
                        list issu-milestone {
                          description
                            "ISSU Milestones";
                          leaf milestone-name {
                            type string;
                            description
                              "Name of the in-service software upgrade (ISSU)
    milestone";
                          }
    
                          leaf milestone-start-timestamp {
                            type uint32;
                            description
                              "Timestamp for the ISSU milestone start";
                          }
    
                          leaf milestone-met-timestamp {
                            type uint32;
                            description
                              "Timestamp when ISSU milestone met";
                          }
                        }  // list issu-milestone
                      }  // container global
    
                      container vrf {
                        description
                          "VRF information";
                        leaf lpts-set-up-time {
                          type uint32;
                          description
                            "Time spent setting up LPTS socket opt (ms)";
                        }
    
                        leaf lpts-calls {
                          type uint32;
                          description
                            "Number of times LPTS socket opt set up";
                        }
    
                        leaf read-throttles-count {
                          type uint32;
                          description
                            "Number of partial read throttles";
                        }
    
                        leaf low-throttled-read-count {
                          type uint32;
                          description
                            "Number of socket reads for nbrs above low
    threshold";
                        }
    
                        leaf high-throttled-read-count {
                          type uint32;
                          description
                            "Number of socket reads for nbrs above high
    threshold";
                        }
    
                        leaf read-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to read inbound data";
                        }
    
                        leaf read-messages-count {
                          type uint32;
                          description
                            "Number of BGP messages read";
                        }
    
                        leaf data-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "No. of bytes of data read";
                        }
    
                        leaf io-read-time {
                          type uint32;
                          description
                            "Time spent reading inbound data (ms)";
                        }
    
                        leaf write-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to write outbound data";
                        }
    
                        leaf data-bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of data written";
                        }
    
                        leaf io-write-time {
                          type uint32;
                          description
                            "Time spent writing outbound data (ms)";
                        }
    
                        leaf write-subgroup-calls-count {
                          type uint32;
                          description
                            "No. of calls to to funvction to process
    sub-group message list";
                        }
    
                        leaf write-subgroup-messages-count {
                          type uint32;
                          description
                            "Number of sub-group messages processed";
                        }
    
                        leaf subgroup-list-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sub-group message list
    (milliseconds)";
                        }
    
                        leaf write-queue-calls-count {
                          type uint32;
                          description
                            "No. of Calls to function to process write queue";
                        }
    
                        leaf write-queue-messages-count {
                          type uint32;
                          description
                            "Number of write queue messages processed";
                        }
    
                        leaf write-queue-time {
                          type uint32;
                          description
                            "Time spent processing write queue (ms)";
                        }
    
                        leaf inbound-update-messages {
                          type uint32;
                          description
                            "Number of inbound update messages processed";
                        }
    
                        leaf inbound-update-messages-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing imbound update messages
    (milliseconds)";
                        }
                      }  // container vrf
                    }  // container performance-statistics
    
                    leaf process-instance {
                      type uint8;
                      description
                        "ID for the BGP process instance";
                    }
    
                    leaf vrf-name {
                      type string;
                      description
                        "Name of the VRF";
                    }
    
                    leaf vrf-totals {
                      type boolean;
                      description
                        "per VRF counts aggregated across all VRFs";
                    }
                  }  // container process-info
    
                  container sessions {
                    description
                      "The BGP session table";
                    list session {
                      key "neighbor-address";
                      description
                        "A BGP session table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP neighbor brief description";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf messages-queued-in {
                        type uint32;
                        description
                          "No. of msgs on receive queue";
                      }
    
                      leaf messages-queued-out {
                        type uint32;
                        description
                          "No. of messages on send queue";
                      }
    
                      leaf connection-state {
                        type Bgp-conn-state;
                        description
                          "State of connection";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      leaf postit-pending {
                        type boolean;
                        description
                          "Nbr has postits pending";
                      }
    
                      leaf connection-established-time {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) that the connection has been
    established";
                      }
                    }  // list session
                  }  // container sessions
    
                  container neighbors {
                    description
                      "The BGP Neighbor table";
                    list neighbor {
                      key "neighbor-address";
                      description
                        "A BGP Neighbor table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      container send-notification-info {
                        description
                          "Information on the last notification sent";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container send-notification-info
    
                      container received-notification-info {
                        description
                          "Information on the last notification received";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container received-notification-info
    
                      container performance-statistics {
                        description
                          "BGP neighbor performance statistics";
                        leaf read-throttles {
                          type uint32;
                          description
                            "Number of partial read throttles";
                        }
    
                        leaf low-throttled-read {
                          type uint32;
                          description
                            "Num socket reads after nbrs crossed low
    threshold";
                        }
    
                        leaf high-throttled-read {
                          type uint32;
                          description
                            "Num of socket reads after nbr crossed high
    threshold";
                        }
    
                        leaf time-since-last-throttled-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read after being
    throttled";
                        }
    
                        leaf read-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to read inbound data";
                        }
    
                        leaf read-messages-count {
                          type uint32;
                          description
                            "Number of BGP messages read";
                        }
    
                        leaf data-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "No. of bytes of data read";
                        }
    
                        leaf io-read-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent reading inbound data (milliseconds)";
                        }
    
                        leaf write-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to write outbound data";
                        }
    
                        leaf data-bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes that havesent to peers";
                        }
    
                        leaf io-write-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent writing outbound data (milliseconds)";
                        }
    
                        leaf last-sent-seq-no {
                          type uint32;
                          description
                            "Seq No of the last sent byte";
                        }
    
                        leaf write-subgroup-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process sub-group
    message list";
                        }
    
                        leaf write-subgroup-messages-count {
                          type uint32;
                          description
                            "Number of sub-group msgs processed";
                        }
    
                        leaf subgroup-list-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sub-group message list
    (milliseconds)";
                        }
    
                        leaf write-queue-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process write queue";
                        }
    
                        leaf write-queue-messages-count {
                          type uint32;
                          description
                            "Number of write queue messages processed";
                        }
    
                        leaf write-queue-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing write queue (milliseconds)";
                        }
    
                        leaf inbound-update-messages {
                          type uint32;
                          description
                            "Number of inbound update messages processed";
                        }
    
                        leaf inbound-update-messages-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing inbound update messages
    (milliseconds)";
                        }
    
                        leaf maximum-read-size {
                          type uint32;
                          units "millisecond";
                          description
                            "Size of largest socket (milliseconds)";
                        }
    
                        leaf actives {
                          type uint32;
                          description
                            "Number of retried Active opens for this neighbor";
                        }
    
                        leaf failed-post-actives {
                          type uint32;
                          description
                            "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                        }
    
                        leaf passives {
                          type uint32;
                          description
                            "Number of retried Passive opens for this
    neighbor";
                        }
    
                        leaf rejected-passives {
                          type uint32;
                          description
                            "Number of rejected Passive opens for this
    neighbor";
                        }
    
                        leaf active-collision {
                          type uint32;
                          description
                            "Number of Closed Active connections for this
    neighbor due to collision ";
                        }
    
                        leaf passive-collision {
                          type uint32;
                          description
                            "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                        }
    
                        leaf control-to-read-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger read
    thread";
                        }
    
                        leaf control-to-write-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger write
    thread";
                        }
    
                        leaf network-status {
                          type uint32;
                          description
                            "Socket status, TRUE if socket closed";
                        }
    
                        leaf reset-flags {
                          type uint32;
                          description
                            "Reset flags, per thread";
                        }
    
                        leaf nbr-flags {
                          type uint32;
                          description
                            "Nbr flags, per thread";
                        }
    
                        leaf nbr-fd {
                          type int32;
                          description
                            "Primary FD, per nbr";
                        }
    
                        leaf reset-retries {
                          type uint8;
                          description
                            "Reset Retries, per nbr";
                        }
    
                        leaf sync-flags {
                          type uint32;
                          description
                            "Sync flags, per nbr";
                        }
    
                        leaf nsr-oper-down-count {
                          type uint32;
                          description
                            "Number of times NSR scoped sync has been done";
                        }
    
                        leaf last-nsr-scoped-sync {
                          type uint32;
                          description
                            "Last time NSR scoped syncwas done for the
    neighbor";
                        }
                      }  // container performance-statistics
    
                      container message-statistics {
                        description
                          "BGP neighbor message statistics";
                        container open {
                          description "Open";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container open
    
                        container notification {
                          description
                            "BGP neighbor messagestatistics notification";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container notification
    
                        container update {
                          description
                            "BGP neighbor message statisticsupdate";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container update
    
                        container keepalive {
                          description
                            "Message sent between BGP neighborsto check the
    link between is operating";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container keepalive
    
                        container route-refresh {
                          description
                            "BGP neighbor message statisticsroute refresh";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container route-refresh
    
                        container total {
                          description "Total";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container total
                      }  // container message-statistics
    
                      container tcp-init-sync-time-spec {
                        description
                          "Time When neighbor entered TCP Init Sync";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-time-spec
    
                      container tcp-init-sync-phase-two-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Phase
    Two";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-phase-two-time-spec
    
                      container tcp-init-sync-done-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Done";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-done-time-spec
    
                      container graceful-maintenance {
                        description
                          "Globally activated BGp neighborfor graceful
    shutdown";
                        leaf gshut-exists {
                          type boolean;
                          description
                            "Graceful Maintenance enabled";
                        }
    
                        leaf gshut-local-active {
                          type boolean;
                          description
                            "Graceful Maintenance locally activated";
                        }
    
                        leaf gshut-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated";
                        }
    
                        leaf gshut-locpref-set {
                          type boolean;
                          description
                            "Graceful Maintenance Local Preference set";
                        }
    
                        leaf gshut-locpref {
                          type uint32;
                          description
                            "Graceful Maintenance Local Preference";
                        }
    
                        leaf gshut-prepends {
                          type uint8;
                          description
                            "Graceful Maintenance number of AS prepends";
                        }
    
                        leaf gshut-interface-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Interface";
                        }
    
                        leaf gshut-location-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Location";
                        }
                      }  // container graceful-maintenance
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP neighbor description";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf has-internal-link {
                        type boolean;
                        description
                          "Internal link to neighbor";
                      }
    
                      leaf is-external-neighbor-not-directly-connected {
                        type boolean;
                        description
                          "Flag to indicate neighbor is external and not
    directly connected";
                      }
    
                      leaf messages-received {
                        type uint32;
                        description
                          "Number of messages received";
                      }
    
                      leaf messages-sent {
                        type uint32;
                        description
                          "Number of messages sent";
                      }
    
                      leaf update-messages-in {
                        type uint32;
                        description
                          "No. of update msgs received";
                      }
    
                      leaf update-messages-out {
                        type uint32;
                        description
                          "No. of update messages sent";
                      }
    
                      leaf messages-queued-in {
                        type uint32;
                        description
                          "No. of msgs on receive queue";
                      }
    
                      leaf messages-queued-out {
                        type uint32;
                        description
                          "No. of messages on send queue";
                      }
    
                      leaf connection-established-time {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) that the connection has been
    established";
                      }
    
                      leaf connection-state {
                        type Bgp-conn-state;
                        description
                          "State of connection";
                      }
    
                      leaf previous-connection-state {
                        type uint32;
                        description
                          "Previous state of connection";
                      }
    
                      leaf connection-admin-status {
                        type uint32;
                        description
                          "Administrative status of connection";
                      }
    
                      leaf open-check-error-code {
                        type Bgp-open-check-err;
                        description
                          "Error code for open check failure forBGP
    neighbor";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf connection-local-port {
                        type uint32;
                        description
                          "Local port for the connection";
                      }
    
                      leaf connection-remote-port {
                        type uint32;
                        description
                          "Remote port for the connection";
                      }
    
                      leaf neighbor-interface-handle {
                        type uint32;
                        description
                          "Interface Handle of Neighbor";
                      }
    
                      leaf reset-notification-sent {
                        type boolean;
                        description
                          "Notification was sent during last reset";
                      }
    
                      leaf is-administratively-shut-down {
                        type boolean;
                        description
                          "Flag to indicate if BGP neighbor is
    administratively shut down";
                      }
    
                      leaf is-neighbor-max-prefix-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down because it exceeded max prfx
    count";
                      }
    
                      leaf is-out-of-memory-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down during a SEVERE low memory
    condition";
                      }
    
                      leaf is-out-of-memory-forced-up {
                        type boolean;
                        description
                          "Neighbor forced up during a low memory condition";
                      }
    
                      leaf is-ebgp-peer-as-league {
                        type boolean;
                        description
                          "EBGP peer belongs to AS League";
                      }
    
                      leaf is-ebgp-peer-common-admin {
                        type boolean;
                        description
                          "EBGP peer with common administation";
                      }
    
                      leaf ttl-security-enabled {
                        type boolean;
                        description
                          "TTL Security enabled";
                      }
    
                      leaf suppress4-byte-as {
                        type boolean;
                        description
                          "Suppress 4byteas capability";
                      }
    
                      leaf bfd-session-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-created-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-enable-mode {
                        type Bgp-bfd-enable-mode;
                        description
                          "BFD enable mode for this peer";
                      }
    
                      leaf bfd-minintervalval {
                        type uint32;
                        description
                          "BFD Mininterval for this peer";
                      }
    
                      leaf bfd-multiplierval {
                        type uint32;
                        description
                          "BFD Multiplier for this peer";
                      }
    
                      leaf bfd-state-ts {
                        type uint64;
                        description
                          "Timestamp since when nbr is in this bfd state";
                      }
    
                      leaf router-id {
                        type inet:ipv4-address;
                        description
                          "Router ID for the neighbor";
                      }
    
                      leaf negotiated-protocol-version {
                        type uint16;
                        description
                          "Negotiated protocol version with the BGP
    neighbor";
                      }
    
                      leaf ebgp-time-to-live {
                        type uint32;
                        description
                          "Maximum number of hops for external BGP neighbor";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf tcpmss {
                        type uint32;
                        description
                          "Neighbor TCP Maximum Segment
    size";
                      }
    
                      leaf msg-log-in {
                        type uint32;
                        description
                          "Message in log count";
                      }
    
                      leaf msg-log-out {
                        type uint32;
                        description
                          "Message out log count";
                      }
    
                      leaf neighbor-local-as {
                        type uint32;
                        description
                          "Local AS configured on the neighbor";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Option to not prepend the Local AS to
    announcements";
                      }
    
                      leaf is-capability-negotiation-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                      }
    
                      leaf is-capability-negotiation-performed {
                        type boolean;
                        description
                          "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                      }
    
                      leaf is-route-refresh-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh was received";
                      }
    
                      leaf is-route-refresh-old-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                      }
    
                      leaf is-gr-aware {
                        type boolean;
                        description
                          "GR awareness received";
                      }
    
                      leaf is4-byte-as-capability-received {
                        type boolean;
                        description
                          "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                      }
    
                      leaf is4-byte-as-capability-sent {
                        type boolean;
                        description
                          "4-byte AScapability Snt";
                      }
    
                      leaf multi-protocol-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if multi-protocol capability
    has been received";
                      }
    
                      leaf hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) negotiated for this
    connection";
                      }
    
                      leaf keep-alive-time {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) negotiated for this
    connection";
                      }
    
                      leaf configured-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-keepalive {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-min-acc-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                      }
    
                      leaf min-advertise-interval {
                        type uint32;
                        units "second";
                        description
                          "Minimum advertisement interval, secs part";
                      }
    
                      leaf min-advertise-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement interval, msecs part";
                      }
    
                      leaf min-origination-interval {
                        type uint16;
                        units "second";
                        description
                          "Minimum origination interval (in secs)";
                      }
    
                      leaf connect-retry-interval {
                        type uint16;
                        units "second";
                        description
                          "Time (in secs) for connect retry timer";
                      }
    
                      leaf time-since-last-update {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last update message was
    received";
                      }
    
                      leaf time-since-last-read {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read";
                      }
    
                      leaf time-since-last-read-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read before last reset";
                      }
    
                      leaf time-last-cb {
                        type uint64;
                        description "CB";
                      }
    
                      leaf time-last-cb-reset {
                        type uint32;
                        description
                          "Last CB before reset";
                      }
    
                      leaf time-last-fb {
                        type uint64;
                        description "FB";
                      }
    
                      leaf count-last-write {
                        type uint32;
                        description "Count";
                      }
    
                      leaf time-since-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write";
                      }
    
                      leaf attempted-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of last write";
                      }
    
                      leaf actual-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of last write";
                      }
    
                      leaf time-since-second-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in seconds) elapsed since the second last
    write event";
                      }
    
                      leaf attempted-second-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write";
                      }
    
                      leaf actual-second-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of second last write";
                      }
    
                      leaf time-since-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of last write before reset";
                      }
    
                      leaf actual-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of last write before reset";
                      }
    
                      leaf time-since-second-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write before reset";
                      }
    
                      leaf actual-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of second last write before reset";
                      }
    
                      leaf last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write thread event";
                      }
    
                      leaf second-last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last write thread
    event";
                      }
    
                      leaf last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last KA timer expiry before
    reset";
                      }
    
                      leaf second-last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last KA timer expiry
    before reset";
                      }
    
                      leaf last-k-anotsent-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that KA was
    not sent before reset";
                      }
    
                      leaf last-k-aerror-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                      }
    
                      leaf last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the last KA timer start
    before reset";
                      }
    
                      leaf second-last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the second last KA timer
    start before reset";
                      }
    
                      leaf connection-up-count {
                        type uint32;
                        description
                          "Number of times the connection was established";
                      }
    
                      leaf connection-down-count {
                        type uint32;
                        description
                          "Number of times connection was dropped";
                      }
    
                      leaf time-since-connection-last-dropped {
                        type uint32;
                        units "second";
                        description
                          "Time since the connection last went down
    (seconds)";
                      }
    
                      leaf reset-reason {
                        type Bgp-reset-reason-index;
                        description
                          "Reason for last connection reset";
                      }
    
                      leaf peer-reset-reason {
                        type Bgp-peer-reset-reason-index;
                        description
                          "Reason for last peer close event";
                      }
    
                      leaf peer-error-code {
                        type uint32;
                        description
                          "If peer closed, error received from transport";
                      }
    
                      leaf last-notify-error-code {
                        type uint8;
                        description
                          "Code for the last error notification seen on the
    connection";
                      }
    
                      leaf last-notify-error-subcode {
                        type uint8;
                        description
                          "Error subcode of the last error notification
    seen on the connection";
                      }
    
                      leaf error-notifies-received {
                        type uint32;
                        description
                          "Number of error notifications received on the
    connection";
                      }
    
                      leaf error-notifies-sent {
                        type uint32;
                        description
                          "Number of error notifications sent on the
    connection";
                      }
    
                      leaf remote-as-number {
                        type uint32;
                        description
                          "Remote AS number of BGP neighbor";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Bandwidth of link to single-hop eBGP peer";
                      }
    
                      leaf ebgp-recv-dmz {
                        type boolean;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Ebgp send dmz link bw mode";
                      }
    
                      leaf tos-type {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf tcp-session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "The TCP mode to be used to set up BGP session
    with the neighbor";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf standby-rp {
                        type boolean;
                        description
                          "Standby RP socket inited for Active Open";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf graceful-restart-enabled-nbr {
                        type boolean;
                        description
                          "Neighbor supports graceful-restart";
                      }
    
                      leaf gr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor restart time (in seconds)";
                      }
    
                      leaf gr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor stale-path time (in seconds)";
                      }
    
                      leaf fssn-offset {
                        type uint32;
                        description
                          "First standby SeqNo offset";
                      }
    
                      leaf fpbsn-offset {
                        type uint32;
                        description
                          "First standby PDU boundary SeqNo offset";
                      }
    
                      leaf last-ackd-seq-no {
                        type uint32;
                        description
                          "SeqNo of the last Ackd byte";
                      }
    
                      leaf bytes-written {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes written by write thread";
                      }
    
                      leaf bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes read";
                      }
    
                      leaf socket-read-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Total read bytes value insocket-lib";
                      }
    
                      leaf is-read-disabled {
                        type boolean;
                        description
                          "If true, socket read isdisabled";
                      }
    
                      leaf update-bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total number of bytes readcorresponding to
    update messages";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      leaf is-passive-close {
                        type boolean;
                        description
                          "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                      }
    
                      leaf nbr-enforce-first-as {
                        type boolean;
                        description
                          "Neighbor enforce first AS";
                      }
    
                      leaf active-bmp-servers {
                        type uint8;
                        description
                          "BMP Servers to which the neighbor sends logs";
                      }
    
                      leaf nbr-cluster-id {
                        type uint32;
                        description "Cluster id";
                      }
    
                      leaf nbr-in-cluster {
                        type uint8;
                        description
                          "Type of cluster_id:undefined/number/Ip address";
                      }
    
                      leaf ignore-connected {
                        type boolean;
                        description
                          "If true, the VPN client isan IBGP CE peer";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf io-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for io
    control";
                      }
    
                      leaf read-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for read";
                      }
    
                      leaf write-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for write";
                      }
    
                      leaf discard-data-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Remaining discard data (bytes) on Standby";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
    
                      leaf local-as-dual-as-mode-native {
                        type boolean;
                        description
                          "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                      }
    
                      leaf egress-peer-engineering-enabled {
                        type boolean;
                        description
                          "Indicates if Egress Peer Engineering is enabled";
                      }
    
                      leaf discard-as4-path {
                        type uint32;
                        description
                          "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                      }
    
                      leaf rpki-disable {
                        type boolean;
                        description
                          "Prefix validation disabled";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Prefix v. use validity";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Prefix v. allow invalid";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Prefix v. signal ibgp";
                      }
    
                      leaf dynamic-neighbor {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                      }
    
                      leaf merge-inbound-safi1and4-updates {
                        type boolean;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf is-capability-enhe-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                      }
    
                      leaf delete-time-remaining {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) remaining for deletion";
                      }
    
                      leaf sn-bfd-discriminator {
                        type uint32;
                        description
                          "Local Discriminator for the associated BFD
    session";
                      }
    
                      list af-data {
                        max-elements 25;
                        description
                          "Address family specific neighbor data";
                        container neighbor-af-performance-statistics {
                          description
                            "Neighbor AF statistics";
                          leaf sub-group-pending-message-count {
                            type uint32;
                            description
                              "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                          }
    
                          leaf processed-messages {
                            type uint32;
                            description
                              "Number of messages processed from the neighbor's
    write queue";
                          }
    
                          leaf sent-messages {
                            type uint32;
                            description
                              "Number of messages sent from the neighbor's
    write queue";
                          }
    
                          leaf split-horizon-update-transmit {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-update-blocked {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were blocked";
                          }
    
                          leaf split-horizon-withdraw-transmit {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-withdraw-blocked {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were blocked";
                          }
                        }  // container neighbor-af-performance-statistics
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf is-neighbor-route-reflector-client {
                          type boolean;
                          description
                            "Nbr is a route reflector client";
                        }
    
                        leaf is-legacy-pe-rt {
                          type boolean;
                          description
                            "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                        }
    
                        leaf is-neighbor-af-capable {
                          type boolean;
                          description
                            "Address family capability received from neighbor";
                        }
    
                        leaf is-soft-reconfiguration-inbound-allowed {
                          type boolean;
                          description
                            "Inbound soft reconfiguration allowed";
                        }
    
                        leaf is-use-soft-reconfiguration-always-on {
                          type boolean;
                          description
                            "Soft reconf overrides route refresh";
                        }
    
                        leaf remove-private-as-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to this
    nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                        }
    
                        leaf remove-private-as-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                        }
    
                        leaf flowspec-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                        }
    
                        leaf flowspec-redirect-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                        }
    
                        leaf orr-group-name {
                          type string;
                          description
                            "ORR Group Name";
                        }
    
                        leaf orr-group-index {
                          type uint32;
                          description
                            "ORR Group Index";
                        }
    
                        leaf is-orr-root-address-configured {
                          type boolean;
                          description
                            "ORR Root address configuredfor the neighbor
    connection";
                        }
    
                        leaf advertise-afi {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-reorg {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-disable {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf encapsulation-type {
                          type uint32;
                          description
                            "BGP neighbor address-familyencapsulation type";
                        }
    
                        leaf advertise-rt-type {
                          type uint8;
                          description
                            "BGP neighbor address-familyadvertise route
    target type";
                        }
    
                        leaf advertise-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of default VRF import disable";
                        }
    
                        leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 default VRF import disable";
                        }
    
                        leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 default VRF import disable";
                        }
    
                        leaf advertise-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of VRF re-import disable";
                        }
    
                        leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 VRF re-import disable";
                        }
    
                        leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 VRF re-import disable";
                        }
    
                        leaf advertise-afi-eo-r-ready {
                          type boolean;
                          description
                            "EoR Can be sent for Advertise AFI";
                        }
    
                        leaf always-use-next-hop-local {
                          type boolean;
                          description
                            "Local router always used for next-hop";
                        }
    
                        leaf sent-community-to-neighbor {
                          type boolean;
                          description
                            "Community attribute sent to neighbor";
                        }
    
                        leaf sent-gshut-community-to-neighbor {
                          type boolean;
                          description
                            "GSHUT Community attribute sent to neighbor";
                        }
    
                        leaf sent-extended-community-to-neighbor {
                          type boolean;
                          description
                            "Extended community attribute sent to neighbor";
                        }
    
                        leaf default-originate-vpn-index {
                          type uint32;
                          description
                            "Default orig vpn indexto find bitfield for a nbr
    af";
                        }
    
                        leaf neighbor-default-originate {
                          type boolean;
                          description
                            "Neighbor originates default";
                        }
    
                        leaf is-orf-sent {
                          type boolean;
                          description
                            "Outbound route filter sent to neighbor";
                        }
    
                        leaf is-update-deferred {
                          type boolean;
                          description
                            "Update deferred until ORF/route refresh received";
                        }
    
                        leaf is-orf-send-scheduled {
                          type boolean;
                          description
                            "Scheduled to send prefix based ORF";
                        }
    
                        leaf update-group-number {
                          type uint32;
                          description
                            "Update group index";
                        }
    
                        leaf filter-group-index {
                          type uint32;
                          description
                            "BGP neighbor address-familyfilter group index";
                        }
    
                        leaf is-update-throttled {
                          type boolean;
                          description
                            "Updates Throttled becausewrite limit is reached";
                        }
    
                        leaf is-update-leaving {
                          type boolean;
                          description
                            "Nbr leaving update-groupto another";
                        }
    
                        leaf vpn-update-gen-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf vpn-update-gen-trigger-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf is-addpath-send-operational {
                          type boolean;
                          description
                            "Addpath is operational on send-side";
                        }
    
                        leaf is-addpath-receive-operational {
                          type boolean;
                          description
                            "Addpath is operational on receive-side";
                        }
    
                        leaf neighbor-version {
                          type uint32;
                          description
                            "BGP neighbor version for theaddress-family";
                        }
    
                        leaf weight {
                          type uint32;
                          description
                            "Weight for this AF";
                        }
    
                        leaf max-prefix-limit {
                          type uint32;
                          description
                            "Max limit for # of prefixes";
                        }
    
                        leaf use-max-prefix-warning-only {
                          type boolean;
                          description
                            "Warning only when maximum prefix limit reached";
                        }
    
                        leaf max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths when prefix limit reached";
                        }
    
                        leaf max-prefix-exceed-discard-paths {
                          type boolean;
                          description
                            "Did we discard extra paths when prefix limit
    reached";
                        }
    
                        leaf max-prefix-threshold-percent {
                          type uint8;
                          units "percentage";
                          description
                            "Percentage of maximum no. of prefixes at which
    to generate warning";
                        }
    
                        leaf max-prefix-discard-paths-count {
                          type uint32;
                          description
                            "Number of discarded paths after prefix limit
    reached";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint16;
                          units "minute";
                          description
                            "Time interval (in minutes) after which peering
    session will be reestablished";
                        }
    
                        leaf prefixes-accepted {
                          type uint32;
                          description
                            "Number of prefixes acceptedfrom this BGP
    neighbor";
                        }
    
                        leaf prefixes-synced {
                          type uint32;
                          description
                            "Number of prefixes synced to standby";
                        }
    
                        leaf prefixes-withdrawn-not-found {
                          type uint32;
                          description
                            "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                        }
    
                        leaf prefixes-denied {
                          type uint32;
                          description
                            "Number of prefixes denied forthis BGP neighbor";
                        }
    
                        leaf prefixes-denied-no-policy {
                          type uint32;
                          description
                            "No. of prefixes denied because there was no
    inbound policy";
                        }
    
                        leaf prefixes-denied-rt-permit {
                          type uint32;
                          description
                            "No. of prefixes denied because RT extended
    community is not imported";
                        }
    
                        leaf prefixes-denied-orf-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by prefix based ORF
    policy";
                        }
    
                        leaf prefixes-denied-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by inbound policy";
                        }
    
                        leaf number-of-bestpaths {
                          type uint32;
                          description
                            "No. of bestpaths from this neighbor";
                        }
    
                        leaf number-of-best-externalpaths {
                          type uint32;
                          description
                            "No. of best-external paths from this neighbor";
                        }
    
                        leaf prefixes-advertised {
                          type uint32;
                          description
                            "Number of prefixes advertisedfor this BGP
    neighbor";
                        }
    
                        leaf prefixes-be-advertised {
                          type uint32;
                          description
                            "Number of BE prefixes advertised";
                        }
    
                        leaf prefixes-suppressed {
                          type uint32;
                          description
                            "Number of prefixes suppressed";
                        }
    
                        leaf prefixes-withdrawn {
                          type uint32;
                          description
                            "Number of prefixes withdrawn";
                        }
    
                        leaf is-peer-orf-capable {
                          type boolean;
                          description
                            "Peer has outbound route filter capability";
                        }
    
                        leaf is-advertised-orf-send {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability advertised";
                        }
    
                        leaf is-received-orf-send-capable {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability received";
                        }
    
                        leaf is-advertised-orf-receive {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    advertised";
                        }
    
                        leaf is-received-orf-receive-capable {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    received";
                        }
    
                        leaf is-advertised-graceful-restart {
                          type boolean;
                          description
                            "Graceful Restart Capability advertised";
                        }
    
                        leaf is-graceful-restart-state-flag {
                          type boolean;
                          description
                            "Restart state flag enabled";
                        }
    
                        leaf is-received-graceful-restart-capable {
                          type boolean;
                          description
                            "Graceful Restart Capability received";
                        }
    
                        leaf is-add-path-send-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                        }
    
                        leaf is-add-path-send-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability
    received from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-received {
                          type boolean;
                          description
                            "Flag to indicate addpath receive capability
    received from BGPneighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-received {
                          type boolean;
                          description
                            "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-sent {
                          type boolean;
                          description
                            "Extended nexhop encoding capability Sent";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time advertised (seconds)";
                        }
    
                        leaf local-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Local Restart time (seconds)";
                        }
    
                        leaf stale-path-timeout {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout-value {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf neighbor-preserved-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate neighbor preserved in
    forwarding state";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-configured {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-sent {
                          type uint32;
                          units "second";
                          description
                            "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          units "second";
                          description
                            "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-capability-received {
                          type boolean;
                          description
                            "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-received {
                          type uint32;
                          units "second";
                          description
                            "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                        }
    
                        leaf neighbor-preserved-long-lived-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-capable {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-time-remaining {
                          type uint32;
                          description
                            "Remaining long-lived graceful-restart time";
                        }
    
                        leaf route-refreshes-received {
                          type uint32;
                          description
                            "Number of route refresh requests received";
                        }
    
                        leaf route-refreshes-sent {
                          type uint32;
                          description
                            "Number of route refresh requests sent";
                        }
    
                        leaf refresh-target-version {
                          type uint32;
                          description
                            "Target version for refresh update generation";
                        }
    
                        leaf refresh-version {
                          type uint32;
                          description
                            "Version till which refresh updates have been
    generated";
                        }
    
                        leaf refresh-acked-version {
                          type uint32;
                          description
                            "Version acked by the peer for refresh updates
    sent";
                        }
    
                        leaf is-prefix-orf-present {
                          type boolean;
                          description
                            "Outbound route filter prefix ORF present";
                        }
    
                        leaf orf-entries-received {
                          type uint32;
                          description
                            "Number of outbound route filter entries received";
                        }
    
                        leaf is-default-originate-sent {
                          type boolean;
                          description
                            "Default origination update sent";
                        }
    
                        leaf route-policy-prefix-orf {
                          type string;
                          description
                            "Prefix based ORF for incoming updates";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Incoming route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outgoing route policy name";
                        }
    
                        leaf route-policy-default-originate {
                          type string;
                          description
                            "Default-originate route policy name";
                        }
    
                        leaf is-neighbor-ebgp-without-inbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured inbound policy";
                        }
    
                        leaf is-neighbor-ebgp-without-outbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured outbound policy";
                        }
    
                        leaf is-upd-orig-loopchk-disable-set {
                          type boolean;
                          description
                            "Flag to indicate if update out originator
    loopcheck is disabled";
                        }
    
                        leaf is-as-override-set {
                          type boolean;
                          description
                            "Flag to indicate as override set for BGP
    neighbor";
                        }
    
                        leaf is-allow-as-in-set {
                          type boolean;
                          description
                            "Allowas-in set ";
                        }
    
                        leaf allow-as-in-count {
                          type uint32;
                          description
                            "Allowas-in count config";
                        }
    
                        leaf address-family-long-lived-time {
                          type uint32;
                          description
                            "AF specific Long-lived-time config";
                        }
    
                        leaf eo-r-received-in-read-only {
                          type boolean;
                          description
                            "An EoR was received while in read-only mode";
                        }
    
                        leaf acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo";
                        }
    
                        leaf synced-acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf outstanding-version {
                          type uint32;
                          description
                            "No. of all outstanding version objects waiting
    for ack from the peer";
                        }
    
                        leaf outstanding-refresh-version {
                          type uint32;
                          description
                            "No. of only refresh version objects waiting for
    ack from the peer";
                        }
    
                        leaf outstanding-version-max {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf is-aigp-set {
                          type boolean;
                          description
                            "AIGP set ";
                        }
    
                        leaf is-rt-present {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf is-rt-present-standby {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf accept-own-enabled {
                          type boolean;
                          description
                            "Flag to indicate if Accept-Own is enabled";
                        }
    
                        leaf selective-multipath-eligible {
                          type boolean;
                          description
                            "Flag to indicate if selective multipath is
    eligible";
                        }
    
                        leaf afrpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf afrpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf afrpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf afrpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf is-advertise-permanent-network {
                          type boolean;
                          description
                            "Flag to indicate if advertise is permanent
    network";
                        }
    
                        leaf is-send-mcast-attr {
                          type boolean;
                          description
                            "Send Mcast Attr";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Import Stitching enabled";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Import Reoriginate enabled";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Import Reoriginate Stitching enabled";
                        }
    
                        leaf advertise-v4-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV4";
                        }
    
                        leaf advertise-v6-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV6";
                        }
    
                        leaf advertise-local-labeled-route-unicast {
                          type boolean;
                          description
                            "Advertise routes with ";
                        }
    
                        leaf prefixes-denied-non-cumulative {
                          type uint32;
                          description
                            "No. of prefixes exactly denied (non cumulative)";
                        }
    
                        leaf enable-label-stack {
                          type boolean;
                          description
                            "Flag to indicate if label stack is enabled";
                        }
    
                        leaf ot-prov-track-enable {
                          type boolean;
                          description
                            "OT Provider Tracking enabled";
                        }
    
                        leaf ot-prov-track-state {
                          type Bgp-track-state;
                          description
                            "OT Provider Tracking state";
                        }
    
                        leaf ot-prov-track-in-gr-state {
                          type boolean;
                          description
                            "OT Provider Track in GR State";
                        }
    
                        leaf ot-prov-track-eor-tmr-running {
                          type boolean;
                          description
                            "OT Provider Track EOR timer running";
                        }
    
                        leaf slow-peer-flags {
                          type uint8;
                          description
                            "Slow Peer Flags ";
                        }
    
                        leaf slow-peer-static {
                          type boolean;
                          description
                            "Static Slow Peer ";
                        }
    
                        leaf slow-peer-dynamic {
                          type boolean;
                          description
                            "Dynamic Slow Peer";
                        }
    
                        leaf slow-peer-permanent {
                          type boolean;
                          description
                            "Permanent Slow Peer";
                        }
    
                        leaf slow-peer-count {
                          type uint16;
                          description
                            "Slow peer count";
                        }
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list extended-community-standby {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community-standby
                      }  // list af-data
                    }  // list neighbor
                  }  // container neighbors
    
                  container next-hop-vrf {
                    description
                      "A BGP Next-hop VRF table entry";
                    leaf total-processing-time {
                      type uint32;
                      description
                        "Total time spent in processing";
                    }
    
                    leaf max-proc-notification-time {
                      type uint32;
                      description
                        "How long since the maximum processing time
    notifcation was received";
                    }
    
                    leaf max-notification-bestpath-deletes {
                      type uint32;
                      description
                        "Number of bestpath deletes caused by
    notification which resulted in maximum
    processing";
                    }
    
                    leaf max-notification-bestpath-changes {
                      type uint32;
                      description
                        "Number of bestpath changes caused by
    notification which resulted in maximum
    processing";
                    }
    
                    leaf maximum-processing-time {
                      type uint32;
                      description
                        "Maximum time spent procesing a single batch
    notification";
                    }
    
                    leaf last-notificationication-time {
                      type uint32;
                      description
                        "Time since the last notification was received";
                    }
    
                    leaf last-notification-processing-time {
                      type uint32;
                      description
                        "Processing time for the last notification";
                    }
                  }  // container next-hop-vrf
    
                  container neighbor-ranges {
                    description
                      "The BGP Dynamic Neighbor Range table";
                    list neighbor-range {
                      key "neighbor-range-address";
                      description
                        "A BGP Neighbor Range table entry";
                      leaf neighbor-range-address {
                        type inet:ip-prefix;
                        description
                          "Neighbor Range prefix";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      container graceful-maintenance {
                        description
                          "BGP connection of graceful shutdown";
                        leaf gshut-exists {
                          type boolean;
                          description
                            "Graceful Maintenance enabled";
                        }
    
                        leaf gshut-local-active {
                          type boolean;
                          description
                            "Graceful Maintenance locally activated";
                        }
    
                        leaf gshut-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated";
                        }
    
                        leaf gshut-locpref-set {
                          type boolean;
                          description
                            "Graceful Maintenance Local Preference set";
                        }
    
                        leaf gshut-locpref {
                          type uint32;
                          description
                            "Graceful Maintenance Local Preference";
                        }
    
                        leaf gshut-prepends {
                          type uint8;
                          description
                            "Graceful Maintenance number of AS prepends";
                        }
    
                        leaf gshut-interface-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Interface";
                        }
    
                        leaf gshut-location-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Location";
                        }
                      }  // container graceful-maintenance
    
                      container cfg-local-address {
                        description
                          "Configured local address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container cfg-local-address
    
                      container local-address-subnet {
                        description
                          "Subnet for the BGP local address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container local-address-subnet
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "Description of the BGP neighbor";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf has-internal-link {
                        type boolean;
                        description
                          "Internal link to neighbor";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf neighbor-range-prefix-length {
                        type uint8;
                        description
                          "Length of the BGP neighbor prefix";
                      }
    
                      leaf is-administratively-shut-down {
                        type boolean;
                        description
                          "Flag to indicate if neighbor is administratively
    shutdown";
                      }
    
                      leaf is-neighbor-max-prefix-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down because it exceeded max prfx
    count";
                      }
    
                      leaf is-out-of-memory-forced-up {
                        type boolean;
                        description
                          "Neighbor forced up during a low memory condition";
                      }
    
                      leaf ttl-security-enabled {
                        type boolean;
                        description
                          "TTL Security enabled";
                      }
    
                      leaf suppress4-byte-as {
                        type boolean;
                        description
                          "Suppress 4byteas capability";
                      }
    
                      leaf bfd-session-enable-mode {
                        type Bgp-bfd-enable-mode;
                        description
                          "BFD enable mode for this peer";
                      }
    
                      leaf bfd-minintervalval {
                        type uint32;
                        description
                          "BFD Mininterval for this peer";
                      }
    
                      leaf bfd-multiplierval {
                        type uint32;
                        description
                          "BFD Multiplier for this peer";
                      }
    
                      leaf ebgp-time-to-live {
                        type uint32;
                        description
                          "Maximum number of hops for external BGP neighbor";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf tcpmss {
                        type uint32;
                        description
                          "Neighbor TCP Maximum Segment
    size";
                      }
    
                      leaf msg-log-in {
                        type uint32;
                        description
                          "Message in log count";
                      }
    
                      leaf msg-log-out {
                        type uint32;
                        description
                          "Message out log count";
                      }
    
                      leaf neighbor-local-as {
                        type uint32;
                        description
                          "Local AS configured on the neighbor";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Option to not prepend the Local AS to
    announcements";
                      }
    
                      leaf merge-inbound-safi1and4-updates {
                        type boolean;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf is-capability-negotiation-performed {
                        type boolean;
                        description
                          "Flag to indicate if BGP neighbor capability
    negotiation is performed";
                      }
    
                      leaf configured-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-keepalive {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-min-acc-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                      }
    
                      leaf min-advertise-interval {
                        type uint32;
                        units "second";
                        description
                          "Minimum advertisement interval, secs part";
                      }
    
                      leaf min-advertise-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement interval, msecs part";
                      }
    
                      leaf min-origination-interval {
                        type uint16;
                        units "second";
                        description
                          "Minimum origination interval (in secs)";
                      }
    
                      leaf remote-as-number {
                        type uint32;
                        description
                          "AS number of the neighbor";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Bandwidth of link to single-hop eBGP peer";
                      }
    
                      leaf ebgp-recv-dmz {
                        type boolean;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Ebgp send dmz link bw mode";
                      }
    
                      leaf tos-type {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf tcp-session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "The TCP mode to be used to set up BGP session
    with the neighbor";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf standby-rp {
                        type boolean;
                        description
                          "Standby RP socket inited for Active Open";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf graceful-restart-enabled-nbr {
                        type boolean;
                        description
                          "Neighbor supports graceful-restart";
                      }
    
                      leaf gr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor restart time (in seconds)";
                      }
    
                      leaf gr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor stale-path time (in seconds)";
                      }
    
                      leaf is-passive-close {
                        type boolean;
                        description
                          "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                      }
    
                      leaf nbr-enforce-first-as {
                        type boolean;
                        description
                          "Neighbor enforce first AS";
                      }
    
                      leaf active-bmp-servers {
                        type uint8;
                        description
                          "BMP Servers to which the neighbor sends logs";
                      }
    
                      leaf nbr-cluster-id {
                        type uint32;
                        description "Cluster id";
                      }
    
                      leaf nbr-in-cluster {
                        type uint8;
                        description
                          "Type of cluster_id:undefined/number/Ip address";
                      }
    
                      leaf ignore-connected {
                        type boolean;
                        description
                          "If true, the VPN client isan IBGP CE peer";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
    
                      leaf local-as-dual-as-mode-native {
                        type boolean;
                        description
                          "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                      }
    
                      leaf egress-peer-engineering-enabled {
                        type boolean;
                        description
                          "Indicates if Egress Peer Engineering is enabled";
                      }
    
                      leaf discard-as4-path {
                        type uint32;
                        description
                          "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                      }
    
                      leaf rpki-disable {
                        type boolean;
                        description
                          "Prefix validation disabled";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Prefix v. use validity";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Prefix v. allow invalid";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Prefix v. signal ibgp";
                      }
    
                      leaf remote-as-list-name {
                        type string;
                        description
                          "Remote AS List Name";
                      }
    
                      leaf nbr-rcv-size {
                        type uint32;
                        description
                          "Nbr Receive Size";
                      }
    
                      leaf nbr-send-size {
                        type uint32;
                        description
                          "Nbr Send Size";
                      }
    
                      leaf islocal-address-cfg {
                        type boolean;
                        description
                          "Local address configured";
                      }
    
                      leaf update-source {
                        type string;
                        description
                          "Interface to get the local IP address for the
    BGP session";
                      }
    
                      leaf is-local-addr-subnet-cfg {
                        type boolean;
                        description
                          "Flag to indicate if local-address-subnet is
    configured";
                      }
    
                      leaf local-address-subnet-len {
                        type uint32;
                        description
                          "Length of subnet for BGP local address";
                      }
    
                      leaf addpath-send-enable {
                        type boolean;
                        description
                          "Flag to indicate if addpath send functionality
    is enabled";
                      }
    
                      leaf addpath-receive-enable {
                        type boolean;
                        description
                          "Flag to indicate if addpath receive
    functionality is enabled";
                      }
    
                      leaf addpath-send-disable {
                        type boolean;
                        description
                          "Flag to indicate addpath send functionality is
    disabled";
                      }
    
                      leaf addpath-receive-disable {
                        type boolean;
                        description
                          "Flag indicates if addpath receive functionality
    is disabled";
                      }
    
                      leaf upd-errh-noreset {
                        type boolean;
                        description
                          "Update error handling configuration for C1
    category errors";
                      }
    
                      leaf msg-buf-count {
                        type uint32;
                        description
                          "Message Buf Count";
                      }
    
                      leaf msg-bug-circular {
                        type boolean;
                        description
                          "Message Buf Circular";
                      }
    
                      leaf syslog-enable {
                        type boolean;
                        description
                          "Flag to indicate if syslog should be output when
    an attribute filter is executed";
                      }
    
                      leaf oper-attrf-enable {
                        type boolean;
                        description
                          "Flag to indicate if operational attribute filter
    is enabled";
                      }
    
                      leaf attrf-group-name {
                        type string;
                        description
                          "Name of the attribute filter group Name";
                      }
    
                      leaf max-peers {
                        type uint32;
                        description
                          "Max Dynamic nbrs in range";
                      }
    
                      leaf idle-watch-time {
                        type uint32;
                        units "second";
                        description
                          "Dynamic Neighbor idle-watch time (in seconds)";
                      }
    
                      leaf current-peers {
                        type uint32;
                        description
                          "Current Dynamic nbrs in range";
                      }
    
                      leaf range-open-match {
                        type uint32;
                        description
                          "Passive open matching range";
                      }
    
                      leaf range-open-accepted {
                        type uint32;
                        description
                          "BGP neighbor passive session accepted";
                      }
    
                      leaf range-max-drop {
                        type uint32;
                        description
                          "open drop due to max peers";
                      }
    
                      leaf range-inst-error {
                        type uint32;
                        description
                          "Error during instance creation";
                      }
    
                      list af-data {
                        max-elements 25;
                        description
                          "Address family specific neighbor data";
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf is-neighbor-route-reflector-client {
                          type boolean;
                          description
                            "Nbr is a route reflector client";
                        }
    
                        leaf is-legacy-pe-rt {
                          type boolean;
                          description
                            "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                        }
    
                        leaf is-neighbor-af-capable {
                          type boolean;
                          description
                            "Address family capability received from neighbor";
                        }
    
                        leaf is-soft-reconfiguration-inbound-allowed {
                          type boolean;
                          description
                            "Inbound soft reconfiguration allowed";
                        }
    
                        leaf is-use-soft-reconfiguration-always-on {
                          type boolean;
                          description
                            "Soft reconf overrides route refresh";
                        }
    
                        leaf remove-private-as-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to this
    nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                        }
    
                        leaf remove-private-as-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                        }
    
                        leaf flowspec-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec validation is
    disabled";
                        }
    
                        leaf flowspec-redirect-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec redirect validation
    is disabled";
                        }
    
                        leaf orr-group-name {
                          type string;
                          description
                            "ORR Group Name";
                        }
    
                        leaf orr-group-index {
                          type uint32;
                          description
                            "ORR Group Index";
                        }
    
                        leaf is-orr-root-address-configured {
                          type boolean;
                          description
                            "ORR Root address configuredfor the neighbor
    connection";
                        }
    
                        leaf advertise-afi {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-reorg {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-local {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-disable {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf always-use-next-hop-local {
                          type boolean;
                          description
                            "Local router always used for next-hop";
                        }
    
                        leaf next-hop-unchanged {
                          type boolean;
                          description
                            "router does not change next-hop";
                        }
    
                        leaf sent-community-to-neighbor {
                          type boolean;
                          description
                            "Community attribute sent to neighbor";
                        }
    
                        leaf sent-gshut-community-to-neighbor {
                          type boolean;
                          description
                            "GSHUT Community attribute sent to neighbor";
                        }
    
                        leaf sent-extended-community-to-neighbor {
                          type boolean;
                          description
                            "Extended community attribute sent to neighbor";
                        }
    
                        leaf neighbor-default-originate {
                          type boolean;
                          description
                            "Neighbor originates default";
                        }
    
                        leaf is-orf-sent {
                          type boolean;
                          description
                            "Outbound route filter sent to neighbor";
                        }
    
                        leaf is-update-deferred {
                          type boolean;
                          description
                            "Update deferred until ORF/route refresh received";
                        }
    
                        leaf is-orf-send-scheduled {
                          type boolean;
                          description
                            "Scheduled to send prefix based ORF";
                        }
    
                        leaf vpn-update-gen-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf vpn-update-gen-trigger-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf is-addpath-send-operational {
                          type boolean;
                          description
                            "Addpath is operational on send-side";
                        }
    
                        leaf is-addpath-receive-operational {
                          type boolean;
                          description
                            "Addpath is operational on receive-side";
                        }
    
                        leaf weight {
                          type uint32;
                          description
                            "Weight for this AF";
                        }
    
                        leaf max-prefix-limit {
                          type uint32;
                          description
                            "Max limit for # of prefixes";
                        }
    
                        leaf use-max-prefix-warning-only {
                          type boolean;
                          description
                            "Warning only when maximum prefix limit reached";
                        }
    
                        leaf max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths when prefix limit reached";
                        }
    
                        leaf max-prefix-exceed-discard-paths {
                          type boolean;
                          description
                            "Did we discard extra paths when prefix limit
    reached";
                        }
    
                        leaf max-prefix-threshold-percent {
                          type uint8;
                          units "percentage";
                          description
                            "Percentage of maximum no. of prefixes at which
    to generate warning";
                        }
    
                        leaf max-prefix-discard-paths-count {
                          type uint32;
                          description
                            "Number of discarded paths after prefix limit
    reached";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint16;
                          units "minute";
                          description
                            "Time interval (in minutes) after which peering
    session will be reestablished";
                        }
    
                        leaf is-peer-orf-capable {
                          type boolean;
                          description
                            "Peer has outbound route filter capability";
                        }
    
                        leaf is-advertised-orf-send {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability advertised";
                        }
    
                        leaf is-received-orf-send-capable {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability received";
                        }
    
                        leaf is-advertised-orf-receive {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    advertised";
                        }
    
                        leaf is-received-orf-receive-capable {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    received";
                        }
    
                        leaf is-advertised-graceful-restart {
                          type boolean;
                          description
                            "Graceful Restart Capability advertised";
                        }
    
                        leaf is-graceful-restart-state-flag {
                          type boolean;
                          description
                            "Restart state flag enabled";
                        }
    
                        leaf is-received-graceful-restart-capable {
                          type boolean;
                          description
                            "Graceful Restart Capability received";
                        }
    
                        leaf is-add-path-send-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability is
    advertised";
                        }
    
                        leaf is-add-path-send-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability is
    received";
                        }
    
                        leaf is-add-path-receive-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate whetheraddpath receive
    capabilityadvertised";
                        }
    
                        leaf is-add-path-receive-capability-received {
                          type boolean;
                          description
                            "Flag to indicate whether addpathreceive
    capability received";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time advertised (seconds)";
                        }
    
                        leaf local-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Local Restart time (seconds)";
                        }
    
                        leaf stale-path-timeout {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout-value {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf neighbor-preserved-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor is preserved in
    forwarding state";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-configured {
                          type boolean;
                          description
                            "Flag to indicate whether long-lived
    graceful-restart stale time is configured";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-sent {
                          type uint32;
                          units "second";
                          description
                            "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          units "second";
                          description
                            "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-capability-received {
                          type boolean;
                          description
                            "Flag to indicate whether long-livedgraceful
    restart capability received from the neighbor";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-received {
                          type uint32;
                          units "second";
                          description
                            "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                        }
    
                        leaf neighbor-preserved-long-lived-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate whether neighbor preserved
    long-lived forwarding state";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-capable {
                          type boolean;
                          description
                            "Flag to indicate whether treat neighbor as
    long-lived graceful-restart capable";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-time-remaining {
                          type uint32;
                          description
                            "Remaining long-lived graceful-restart time";
                        }
    
                        leaf is-prefix-orf-present {
                          type boolean;
                          description
                            "Outbound route filter prefix ORF present";
                        }
    
                        leaf orf-entries-received {
                          type uint32;
                          description
                            "Number of outbound route filter entries received";
                        }
    
                        leaf route-policy-prefix-orf {
                          type string;
                          description
                            "Prefix based ORF for incoming updates";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Incoming route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outgoing route policy name";
                        }
    
                        leaf route-policy-default-originate {
                          type string;
                          description
                            "Default-originate route policy name";
                        }
    
                        leaf is-neighbor-ebgp-without-inbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured inbound policy";
                        }
    
                        leaf is-neighbor-ebgp-without-outbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured outbound policy";
                        }
    
                        leaf is-upd-orig-loopchk-disable-set {
                          type boolean;
                          description
                            "Flag to indicate for update out originator
    loopcheck disable is set";
                        }
    
                        leaf is-as-override-set {
                          type boolean;
                          description
                            "Flag to indicate if As-override is set";
                        }
    
                        leaf is-allow-as-in-set {
                          type boolean;
                          description
                            "Allowas-in set ";
                        }
    
                        leaf allow-as-in-count {
                          type uint32;
                          description
                            "Allowas-in count config";
                        }
    
                        leaf address-family-long-lived-time {
                          type uint32;
                          description
                            "AF specific Long-lived-time config";
                        }
    
                        leaf is-aigp-set {
                          type boolean;
                          description
                            "AIGP set ";
                        }
    
                        leaf is-rt-present {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf is-rt-present-standby {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf accept-own-enabled {
                          type boolean;
                          description
                            "Flag to indicate if accept-Own is enabled";
                        }
    
                        leaf selective-multipath-eligible {
                          type boolean;
                          description
                            "Flag to indicate if selective multipath is
    eligible";
                        }
    
                        leaf afrpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf afrpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf afrpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf afrpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf is-advertise-permanent-network {
                          type boolean;
                          description
                            "Flag to indicate if advertise permanent network
    is enabled";
                        }
    
                        leaf is-send-mcast-attr {
                          type boolean;
                          description
                            "Send Mcast Attr";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Import Stitching enabled";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Import Reoriginate enabled";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Import Reoriginate Stitching enabled";
                        }
    
                        leaf advertise-v4-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV4";
                        }
    
                        leaf advertise-v6-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV6";
                        }
    
                        leaf enable-label-stack {
                          type boolean;
                          description
                            "Flag to indicate if label stack is enabled";
                        }
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list extended-community-standby {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community-standby
                      }  // list af-data
    
                      list instance {
                        description
                          "Dynamic Neighbor Instance List";
                        container neighbor-address {
                          description
                            "Dynamic Neighbor address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbor-address
    
                        container neighbor-age {
                          description
                            "Age of the BGP neighbor";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container neighbor-age
    
                        container idle-watch-timer-remaining-value {
                          description
                            "Remaining time in idle watch timer";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container idle-watch-timer-remaining-value
    
                        leaf is-idle-watch-timer-running {
                          type boolean;
                          description
                            "Flag to indicate if idle watch timer is running";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
                      }  // list instance
                    }  // list neighbor-range
                  }  // container neighbor-ranges
    
                  container message-logs {
                    description
                      "The BGP Neighbor Message table";
                    list message-log {
                      description
                        "A BGP Message log entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      leaf direction {
                        type uint32 {
                          range "0..1";
                        }
                        description
                          "Message log Direction";
                      }
    
                      list neighbor-message {
                        description
                          "Array of Neighbor Messages in one direction";
                        container message-timestamp {
                          description
                            "message received time: time elapsed since 00:00
    :00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container message-timestamp
    
                        leaf message-type-received {
                          type uint8;
                          description
                            "Type of messages Received";
                        }
    
                        leaf total-logged-message-count {
                          type uint32;
                          description
                            "Number of total logged messages";
                        }
    
                        leaf message-data-length {
                          type uint16;
                          description
                            "Length of the BGP message";
                        }
    
                        list logged-message-data {
                          description
                            "Raw Message data in binary format";
                          leaf entry {
                            type uint8;
                            description
                              "Raw Message data in binary format";
                          }
                        }  // list logged-message-data
                      }  // list neighbor-message
                    }  // list message-log
                  }  // container message-logs
                }  // container default-vrf
    
                container update-inbound-filter-process {
                  description
                    "Update inbound filtering information for the
    process";
                  container last-update-filtered-timestamp {
                    description
                      "Last filtered messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description
                        "Seconds part of time value";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description
                        "Nanoseconds part of time value";
                    }
                  }  // container last-update-filtered-timestamp
    
                  leaf update-filtered-message-count {
                    type uint32;
                    description
                      "The number of messages filtered";
                  }
    
                  leaf update-filtered-neighbor-count {
                    type uint32;
                    description
                      "Count of neighbors that received filtered
    messages";
                  }
    
                  leaf last-update-filtered-age {
                    type uint32;
                    units "second";
                    description
                      "Time since last filtered messages received event
    (in seconds)";
                  }
                }  // container update-inbound-filter-process
    
                container vrfdbvr-fentry {
                  description
                    "A BGP VRF DB VRF entry";
                  container entry {
                    description "entry";
                    leaf name {
                      type string;
                      description "name";
                    }
    
                    leaf af {
                      type int32;
                      description "af";
                    }
    
                    leaf id {
                      type uint32;
                      description "id";
                    }
    
                    leaf index {
                      type uint8;
                      description "index";
                    }
    
                    leaf rsi-handle {
                      type uint64;
                      description "rsi handle";
                    }
    
                    leaf reg-pending {
                      type boolean;
                      description "reg pending";
                    }
    
                    leaf refcount {
                      type uint32;
                      description "refcount";
                    }
    
                    leaf import-policy {
                      type string;
                      description
                        "import policy";
                    }
    
                    leaf export-policy {
                      type string;
                      description
                        "export policy";
                    }
    
                    list import-rt {
                      description "import rt";
                      leaf entry {
                        type uint64;
                        description "import rt";
                      }
                    }  // list import-rt
    
                    list export-rt {
                      description "export rt";
                      leaf entry {
                        type uint64;
                        description "export rt";
                      }
                    }  // list export-rt
    
                    list import-rt-s {
                      description "import rt s";
                      leaf entry {
                        type uint64;
                        description
                          "import rt s";
                      }
                    }  // list import-rt-s
    
                    list export-rt-s {
                      description "export rt s";
                      leaf entry {
                        type uint64;
                        description
                          "export rt s";
                      }
                    }  // list export-rt-s
                  }  // container entry
                }  // container vrfdbvr-fentry
    
                container attributes {
                  description
                    "The BGP Attribute table";
                  list attribute {
                    description
                      "A BGP Attribute table entry";
                    leaf attribute-iid {
                      type uint32 {
                        range "0..255";
                      }
                      description
                        "Identifier of BGP Attribute table entry";
                    }
    
                    leaf attribute-cache-bucket {
                      type uint32 {
                        range "0..65535";
                      }
                      description
                        "Cache bucket value of BGP Attribute table
    entry";
                    }
    
                    leaf attribute-cache-id {
                      type uint32;
                      description
                        "Identifier of the BGP Attribute Cache";
                    }
    
                    container attribute-info {
                      description "Attributes";
                      container common-attributes {
                        description
                          "BGP entry to derive the attribute information";
                        container prefix-sid-label-index {
                          description
                            "Prefix-SID LabelIndex TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf label-index {
                            type uint32;
                            description
                              "LabelIndex field";
                          }
                        }  // container prefix-sid-label-index
    
                        container prefix-sid-orig-srgb {
                          description
                            "Prefix-SID OrigSRGB TLV info";
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf range-count {
                            type uint32;
                            description
                              "Number of SRGB ranges";
                          }
    
                          list range {
                            description
                              "List of SRGB ranges";
                            leaf range-start {
                              type uint32;
                              description
                                "Start of the range for BGP Segment Routing (SR)
    global block";
                            }
    
                            leaf range-end {
                              type uint32;
                              description
                                "End of the range for BGP Segment Routing
    (SR)global block";
                            }
                          }  // list range
                        }  // container prefix-sid-orig-srgb
    
                        container prefix-sid-srv6-layer2-svc {
                          description
                            "Prefix-SID SRv6L2SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of SIDs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer2-svc
    
                        container prefix-sid-srv6-layer3-svc {
                          description
                            "Prefix-SID SRv6L3SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of subtlvs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer3-svc
    
                        container prefix-sid-unk-tlvs {
                          description
                            "Prefix-SID UnkTLVs TLV info";
                          leaf tlv-count {
                            type uint16;
                            description
                              "Number of unknown TLVs stored";
                          }
    
                          leaf received-buffer-length {
                            type uint32;
                            description
                              "Received length of unknown TLVs";
                          }
    
                          list tl-vs-buffer {
                            description
                              "Limited buffer of unknown TLVs";
                            leaf entry {
                              type uint8;
                              description
                                "Limited buffer of unknown TLVs";
                            }
                          }  // list tl-vs-buffer
                        }  // container prefix-sid-unk-tlvs
    
                        container tunnel-encap {
                          description
                            "Tunnel Encapsulation attribute";
                          container sr-policy {
                            description
                              "Tunnel encap type SR policy";
                            container binding-sid {
                              description
                                "SR Policy incoming Binding sid";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container binding-sid
    
                            container allocated-binding-sid {
                              description
                                "SR Policy allocated Binding sid by the router";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container allocated-binding-sid
    
                            leaf tunnel-encap-type {
                              type uint16;
                              description
                                "Tunnel Encapsulation Type";
                            }
    
                            leaf preference {
                              type uint32;
                              description
                                "SR Policy Preference";
                            }
    
                            leaf state {
                              type boolean;
                              description
                                "SR Policy active state in forwarding";
                            }
    
                            leaf request-state {
                              type Bgp-srpolicy-req-state;
                              description
                                "SR Policy programming Status";
                            }
    
                            leaf usable {
                              type boolean;
                              description
                                "SR Policy is usable on this node";
                            }
    
                            list segment-list {
                              description
                                "SR Policy Segment Lists";
                              leaf weight {
                                type uint8;
                                description
                                  "Weight of segment list";
                              }
    
                              list segment {
                                description
                                  "Segments in segment list";
                                leaf type {
                                  type Sr-sid;
                                  description
                                    "Type";
                                }
    
                                leaf label {
                                  when
                                    "../type = 'label'" {
                                    description
                                      "../Type = 'Label'";
                                  }
                                  type uint32;
                                  description
                                    "MPLS Label value";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../type = 'ipv4'" {
                                    description
                                      "../Type = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Address value";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../type = 'ipv6'" {
                                    description
                                      "../Type = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 address value";
                                }
                              }  // list segment
                            }  // list segment-list
                          }  // container sr-policy
                        }  // container tunnel-encap
    
                        leaf is-metric-present {
                          type boolean;
                          description
                            "Metric attribute present";
                        }
    
                        leaf is-local-pref-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP local preference
    attribute is present";
                        }
    
                        leaf is-atomic-aggregate-present {
                          type boolean;
                          description
                            "Flag to indicate if Atomic aggregate attribute
    present";
                        }
    
                        leaf is-aggregator-present {
                          type boolean;
                          description
                            "Flag to indicate if Aggregator attribute present";
                        }
    
                        leaf is-origin-present {
                          type boolean;
                          description
                            "Flag to indicate if Origin attribute is present";
                        }
    
                        leaf is-as-path-present {
                          type boolean;
                          description
                            "AS path attribute present";
                        }
    
                        leaf is-community-present {
                          type boolean;
                          description
                            "Community attribute present";
                        }
    
                        leaf is-extended-community-present {
                          type boolean;
                          description
                            "Extended community attribute present";
                        }
    
                        leaf is-ssa-present {
                          type boolean;
                          description
                            "Flag to indicate if SSA attribute is present";
                        }
    
                        leaf is-connector-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP attribute Connector is
    present";
                        }
    
                        leaf is-pmsi-present {
                          type boolean;
                          description
                            "PMSI Attribute  present";
                        }
    
                        leaf is-pppmp-present {
                          type boolean;
                          description
                            "PPMP Attribute  present";
                        }
    
                        leaf is-aigp-present {
                          type boolean;
                          description
                            "AIGP Present";
                        }
    
                        leaf is-pe-distinguisher-label-present {
                          type boolean;
                          description
                            "PE distinguisher label  attribute present";
                        }
    
                        leaf is-ls-attribute-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP link-state attribute
    information is present";
                        }
    
                        leaf is-label-index-present {
                          type boolean;
                          description
                            "Label Index attribute - present - deprecated";
                        }
    
                        leaf is-prefix-sid-label-index-present {
                          type boolean;
                          description
                            "Prefix-SID LabelIndex present";
                        }
    
                        leaf is-prefix-sid-orig-srgb-present {
                          type boolean;
                          description
                            "Prefix-SID OrigSRGB present";
                        }
    
                        leaf is-prefix-sid-srv6-layer3-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L3SVC present";
                        }
    
                        leaf is-prefix-sid-srv6-layer2-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L2SVC present";
                        }
    
                        leaf is-prefix-sid-unk-tlvs-present {
                          type boolean;
                          description
                            "Prefix-SID UnkTLVs present";
                        }
    
                        leaf neighbor-as {
                          type uint32;
                          description
                            "Neighbor AS number";
                        }
    
                        leaf aggregator-as {
                          type uint32;
                          description
                            "AS where aggregation was last performed";
                        }
    
                        leaf aggregator-address {
                          type inet:ipv4-address;
                          description
                            "Address where aggregation was performed ";
                        }
    
                        leaf metric {
                          type uint32;
                          description
                            "Metric associated with BGP attribute ";
                        }
    
                        leaf local-preference {
                          type uint32;
                          description
                            "Flag to indicate BGP attribute is local";
                        }
    
                        leaf origin {
                          type uint16;
                          description
                            "BGP common attribute Origin ";
                        }
    
                        leaf as-path {
                          type string;
                          description
                            "BGP Atonomous system path attribute";
                        }
    
                        leaf extended-community-flags {
                          type uint8;
                          description
                            "BGP attribute Extended community Flags";
                        }
    
                        leaf originator {
                          type inet:ipv4-address;
                          description
                            "Originator attribute";
                        }
    
                        leaf l2tpv3-session-id {
                          type uint32;
                          description
                            "BGP attribute Layer2 tunneling protocol version
    3 session id";
                        }
    
                        leaf connector-type {
                          type uint16;
                          description
                            "BGP attribute Connector Type";
                        }
    
                        leaf aigp-metric-value {
                          type uint64;
                          description
                            "AIGP metric value";
                        }
    
                        leaf pmsi-type {
                          type uint16;
                          description
                            "PMSI Type";
                        }
    
                        leaf pmsi-flags {
                          type uint8;
                          description
                            "PMSI Value";
                        }
    
                        leaf pmsi-label {
                          type uint32;
                          description
                            "PMSI label";
                        }
    
                        leaf ppm-pvalue {
                          type uint32;
                          description
                            "PPMP Value";
                        }
    
                        leaf is-large-community-present {
                          type boolean;
                          description
                            "Large Community attribute present";
                        }
    
                        list community {
                          description
                            "Community attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Community attribute";
                          }
                        }  // list community
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list unknown-attribute {
                          description
                            "BGP common set of unknown attributes ";
                          leaf entry {
                            type uint8;
                            description
                              "BGP common set of unknown attributes ";
                          }
                        }  // list unknown-attribute
    
                        list cluster {
                          description
                            "Cluster list attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Cluster list attribute";
                          }
                        }  // list cluster
    
                        list l2tpv3-cookie {
                          description
                            "L2TPv3 Cookie";
                          leaf entry {
                            type uint8;
                            description
                              "L2TPv3 Cookie";
                          }
                        }  // list l2tpv3-cookie
    
                        list connector-value {
                          description
                            "BGP attribute Connector Value";
                          leaf entry {
                            type uint8;
                            description
                              "BGP attribute Connector Value";
                          }
                        }  // list connector-value
    
                        list pmsi-value {
                          description
                            "PMSI Value";
                          leaf entry {
                            type uint8;
                            description
                              "PMSI Value";
                          }
                        }  // list pmsi-value
    
                        list ls-attr {
                          description
                            "BGP LS attribute";
                          leaf entry {
                            type uint8;
                            description
                              "BGP LS attribute";
                          }
                        }  // list ls-attr
    
                        list pe-distinguisher-label {
                          description
                            "PE distinguisher label attribute";
                          leaf pe-address {
                            type inet:ipv4-address;
                            description
                              " PE address";
                          }
    
                          leaf label {
                            type uint32;
                            description "Label";
                          }
                        }  // list pe-distinguisher-label
    
                        list large-community {
                          description
                            "Large Community attribute";
                          leaf global-admin {
                            type uint32;
                            description
                              "Global Administrator";
                          }
    
                          leaf local-data1 {
                            type uint32;
                            description
                              "Local Data 1";
                          }
    
                          leaf local-data2 {
                            type uint32;
                            description
                              "Local Data 2";
                          }
                        }  // list large-community
                      }  // container common-attributes
    
                      container attr-set {
                        description
                          "ATTR_SET attribute";
                        container prefix-sid-label-index {
                          description
                            "Prefix-SID LabelIndex TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf label-index {
                            type uint32;
                            description
                              "LabelIndex field";
                          }
                        }  // container prefix-sid-label-index
    
                        container prefix-sid-orig-srgb {
                          description
                            "Prefix-SID OrigSRGB TLV info";
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf range-count {
                            type uint32;
                            description
                              "Number of SRGB ranges";
                          }
    
                          list range {
                            description
                              "List of SRGB ranges";
                            leaf range-start {
                              type uint32;
                              description
                                "Start of the range for BGP Segment Routing (SR)
    global block";
                            }
    
                            leaf range-end {
                              type uint32;
                              description
                                "End of the range for BGP Segment Routing
    (SR)global block";
                            }
                          }  // list range
                        }  // container prefix-sid-orig-srgb
    
                        container prefix-sid-srv6-layer2-svc {
                          description
                            "Prefix-SID SRv6L2SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of SIDs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer2-svc
    
                        container prefix-sid-srv6-layer3-svc {
                          description
                            "Prefix-SID SRv6L3SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of subtlvs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer3-svc
    
                        container prefix-sid-unk-tlvs {
                          description
                            "Prefix-SID UnkTLVs TLV info";
                          leaf tlv-count {
                            type uint16;
                            description
                              "Number of unknown TLVs stored";
                          }
    
                          leaf received-buffer-length {
                            type uint32;
                            description
                              "Received length of unknown TLVs";
                          }
    
                          list tl-vs-buffer {
                            description
                              "Limited buffer of unknown TLVs";
                            leaf entry {
                              type uint8;
                              description
                                "Limited buffer of unknown TLVs";
                            }
                          }  // list tl-vs-buffer
                        }  // container prefix-sid-unk-tlvs
    
                        container tunnel-encap {
                          description
                            "Tunnel Encapsulation attribute";
                          container sr-policy {
                            description
                              "Tunnel encap type SR policy";
                            container binding-sid {
                              description
                                "SR Policy incoming Binding sid";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container binding-sid
    
                            container allocated-binding-sid {
                              description
                                "SR Policy allocated Binding sid by the router";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container allocated-binding-sid
    
                            leaf tunnel-encap-type {
                              type uint16;
                              description
                                "Tunnel Encapsulation Type";
                            }
    
                            leaf preference {
                              type uint32;
                              description
                                "SR Policy Preference";
                            }
    
                            leaf state {
                              type boolean;
                              description
                                "SR Policy active state in forwarding";
                            }
    
                            leaf request-state {
                              type Bgp-srpolicy-req-state;
                              description
                                "SR Policy programming Status";
                            }
    
                            leaf usable {
                              type boolean;
                              description
                                "SR Policy is usable on this node";
                            }
    
                            list segment-list {
                              description
                                "SR Policy Segment Lists";
                              leaf weight {
                                type uint8;
                                description
                                  "Weight of segment list";
                              }
    
                              list segment {
                                description
                                  "Segments in segment list";
                                leaf type {
                                  type Sr-sid;
                                  description
                                    "Type";
                                }
    
                                leaf label {
                                  when
                                    "../type = 'label'" {
                                    description
                                      "../Type = 'Label'";
                                  }
                                  type uint32;
                                  description
                                    "MPLS Label value";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../type = 'ipv4'" {
                                    description
                                      "../Type = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Address value";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../type = 'ipv6'" {
                                    description
                                      "../Type = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 address value";
                                }
                              }  // list segment
                            }  // list segment-list
                          }  // container sr-policy
                        }  // container tunnel-encap
    
                        leaf is-metric-present {
                          type boolean;
                          description
                            "Metric attribute present";
                        }
    
                        leaf is-local-pref-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP local preference
    attribute is present";
                        }
    
                        leaf is-atomic-aggregate-present {
                          type boolean;
                          description
                            "Flag to indicate if Atomic aggregate attribute
    present";
                        }
    
                        leaf is-aggregator-present {
                          type boolean;
                          description
                            "Flag to indicate if Aggregator attribute present";
                        }
    
                        leaf is-origin-present {
                          type boolean;
                          description
                            "Flag to indicate if Origin attribute is present";
                        }
    
                        leaf is-as-path-present {
                          type boolean;
                          description
                            "AS path attribute present";
                        }
    
                        leaf is-community-present {
                          type boolean;
                          description
                            "Community attribute present";
                        }
    
                        leaf is-extended-community-present {
                          type boolean;
                          description
                            "Extended community attribute present";
                        }
    
                        leaf is-ssa-present {
                          type boolean;
                          description
                            "Flag to indicate if SSA attribute is present";
                        }
    
                        leaf is-connector-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP attribute Connector is
    present";
                        }
    
                        leaf is-pmsi-present {
                          type boolean;
                          description
                            "PMSI Attribute  present";
                        }
    
                        leaf is-pppmp-present {
                          type boolean;
                          description
                            "PPMP Attribute  present";
                        }
    
                        leaf is-aigp-present {
                          type boolean;
                          description
                            "AIGP Present";
                        }
    
                        leaf is-pe-distinguisher-label-present {
                          type boolean;
                          description
                            "PE distinguisher label  attribute present";
                        }
    
                        leaf is-ls-attribute-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP link-state attribute
    information is present";
                        }
    
                        leaf is-label-index-present {
                          type boolean;
                          description
                            "Label Index attribute - present - deprecated";
                        }
    
                        leaf is-prefix-sid-label-index-present {
                          type boolean;
                          description
                            "Prefix-SID LabelIndex present";
                        }
    
                        leaf is-prefix-sid-orig-srgb-present {
                          type boolean;
                          description
                            "Prefix-SID OrigSRGB present";
                        }
    
                        leaf is-prefix-sid-srv6-layer3-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L3SVC present";
                        }
    
                        leaf is-prefix-sid-srv6-layer2-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L2SVC present";
                        }
    
                        leaf is-prefix-sid-unk-tlvs-present {
                          type boolean;
                          description
                            "Prefix-SID UnkTLVs present";
                        }
    
                        leaf neighbor-as {
                          type uint32;
                          description
                            "Neighbor AS number";
                        }
    
                        leaf aggregator-as {
                          type uint32;
                          description
                            "AS where aggregation was last performed";
                        }
    
                        leaf aggregator-address {
                          type inet:ipv4-address;
                          description
                            "Address where aggregation was performed ";
                        }
    
                        leaf metric {
                          type uint32;
                          description
                            "Metric associated with BGP attribute ";
                        }
    
                        leaf local-preference {
                          type uint32;
                          description
                            "Flag to indicate BGP attribute is local";
                        }
    
                        leaf origin {
                          type uint16;
                          description
                            "BGP common attribute Origin ";
                        }
    
                        leaf as-path {
                          type string;
                          description
                            "BGP Atonomous system path attribute";
                        }
    
                        leaf extended-community-flags {
                          type uint8;
                          description
                            "BGP attribute Extended community Flags";
                        }
    
                        leaf originator {
                          type inet:ipv4-address;
                          description
                            "Originator attribute";
                        }
    
                        leaf l2tpv3-session-id {
                          type uint32;
                          description
                            "BGP attribute Layer2 tunneling protocol version
    3 session id";
                        }
    
                        leaf connector-type {
                          type uint16;
                          description
                            "BGP attribute Connector Type";
                        }
    
                        leaf aigp-metric-value {
                          type uint64;
                          description
                            "AIGP metric value";
                        }
    
                        leaf pmsi-type {
                          type uint16;
                          description
                            "PMSI Type";
                        }
    
                        leaf pmsi-flags {
                          type uint8;
                          description
                            "PMSI Value";
                        }
    
                        leaf pmsi-label {
                          type uint32;
                          description
                            "PMSI label";
                        }
    
                        leaf ppm-pvalue {
                          type uint32;
                          description
                            "PPMP Value";
                        }
    
                        leaf is-large-community-present {
                          type boolean;
                          description
                            "Large Community attribute present";
                        }
    
                        list community {
                          description
                            "Community attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Community attribute";
                          }
                        }  // list community
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list unknown-attribute {
                          description
                            "BGP common set of unknown attributes ";
                          leaf entry {
                            type uint8;
                            description
                              "BGP common set of unknown attributes ";
                          }
                        }  // list unknown-attribute
    
                        list cluster {
                          description
                            "Cluster list attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Cluster list attribute";
                          }
                        }  // list cluster
    
                        list l2tpv3-cookie {
                          description
                            "L2TPv3 Cookie";
                          leaf entry {
                            type uint8;
                            description
                              "L2TPv3 Cookie";
                          }
                        }  // list l2tpv3-cookie
    
                        list connector-value {
                          description
                            "BGP attribute Connector Value";
                          leaf entry {
                            type uint8;
                            description
                              "BGP attribute Connector Value";
                          }
                        }  // list connector-value
    
                        list pmsi-value {
                          description
                            "PMSI Value";
                          leaf entry {
                            type uint8;
                            description
                              "PMSI Value";
                          }
                        }  // list pmsi-value
    
                        list ls-attr {
                          description
                            "BGP LS attribute";
                          leaf entry {
                            type uint8;
                            description
                              "BGP LS attribute";
                          }
                        }  // list ls-attr
    
                        list pe-distinguisher-label {
                          description
                            "PE distinguisher label attribute";
                          leaf pe-address {
                            type inet:ipv4-address;
                            description
                              " PE address";
                          }
    
                          leaf label {
                            type uint32;
                            description "Label";
                          }
                        }  // list pe-distinguisher-label
    
                        list large-community {
                          description
                            "Large Community attribute";
                          leaf global-admin {
                            type uint32;
                            description
                              "Global Administrator";
                          }
    
                          leaf local-data1 {
                            type uint32;
                            description
                              "Local Data 1";
                          }
    
                          leaf local-data2 {
                            type uint32;
                            description
                              "Local Data 2";
                          }
                        }  // list large-community
                      }  // container attr-set
    
                      container rnh-addr {
                        description
                          "RNH Address";
                        leaf len {
                          type Bgp-rnh-addr-len;
                          description "len";
                        }
    
                        leaf ipv4-address {
                          when "../len = 'v4'" {
                            description
                              "../len = 'v4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv6-address {
                          when "../len = 'v6'" {
                            description
                              "../len = 'v6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Addr";
                        }
    
                        leaf mac-address {
                          when "../len = 'mac'" {
                            description
                              "../len = 'Mac'";
                          }
                          type Mac-address;
                          description "MAC Addr";
                        }
                      }  // container rnh-addr
    
                      container ribrnh-ip {
                        description
                          "RIB RNH IP Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container ribrnh-ip
    
                      leaf is-as-path2-byte {
                        type boolean;
                        description
                          "AS path encoded as 2-byte";
                      }
    
                      leaf is-application-gateway-present {
                        type boolean;
                        description
                          "Flag to indicate if BGP application gateway is
    present";
                      }
    
                      leaf is-attr-set-present {
                        type boolean;
                        description
                          "BGP ATTR_SET attribute present";
                      }
    
                      leaf set-aigp-inbound-igp {
                        type boolean;
                        description
                          "AIGP set by policy inbound IGP ";
                      }
    
                      leaf set-aigp-inbound-metric {
                        type boolean;
                        description
                          "AIGP set by policy inbound metric";
                      }
    
                      leaf is-rnh-present {
                        type boolean;
                        description
                          "RNH Attribute  present";
                      }
    
                      leaf is-ribrnh-present {
                        type boolean;
                        description
                          "RIB RNH Attribute  present";
                      }
    
                      leaf attribute-key-number {
                        type uint32;
                        description
                          "Number which is stored per bgp routing table on
    attribute key";
                      }
    
                      leaf attribute-reuse-id-config {
                        type boolean;
                        description
                          "Attribute reuse ID Configured";
                      }
    
                      leaf attribute-reuse-id-max-id {
                        type uint32;
                        description
                          "Attribute reuse ID maximum ID";
                      }
    
                      leaf attribute-reuse-id-node {
                        type uint32;
                        description
                          "BGP Attribute reuse ID nodes";
                      }
    
                      leaf attribute-reuse-id-current {
                        type uint32;
                        description
                          "BGP Attribute reuse ID current ID";
                      }
    
                      leaf attribute-reuse-id-keys {
                        type uint32;
                        description
                          "Attribute reuse ID allocated keys";
                      }
    
                      leaf attribute-reuse-id-recover-sec {
                        type uint32;
                        units "second";
                        description
                          "Attribute reuse ID timer in seconds";
                      }
    
                      leaf vpn-distinguisher {
                        type uint32;
                        description
                          "VPN Distinguisher";
                      }
    
                      leaf rnh-type {
                        type uint16;
                        description "RNH Type";
                      }
    
                      leaf rnh-len {
                        type uint8;
                        description "RNH Length";
                      }
    
                      leaf rnh-addr-len {
                        type uint32;
                        description
                          "RNH Address Length";
                      }
    
                      leaf ribrnh-table {
                        type uint32;
                        description
                          "RIB RNH Table";
                      }
    
                      leaf ribrnh-mac {
                        type Mac-address;
                        description
                          "RIB RNH MAC Address";
                      }
    
                      leaf ribrnhip-table {
                        type uint32;
                        description
                          "RIB RNH IP Table";
                      }
    
                      leaf ribrnh-vni {
                        type uint32;
                        description
                          "RIB RNH Vni";
                      }
    
                      leaf ribrnh-encap {
                        type uint8;
                        description
                          "RIB RNH Encapsulation Type";
                      }
                    }  // container attribute-info
    
                    leaf process-instance-id {
                      type uint8;
                      description
                        "BGP attribute process instance ID";
                    }
    
                    leaf attribute-instance-id {
                      type uint8;
                      description
                        "Instance ID for BGP attribute context ";
                    }
    
                    leaf attribute-structure-id {
                      type uint32;
                      description
                        "BGP ID of attribute structure information";
                    }
    
                    leaf attribute-structure-hash-value {
                      type uint32;
                      description
                        "Hash value for attribute structure";
                    }
    
                    leaf reference-count {
                      type uint32;
                      description
                        "Number of paths which use this attribute
    structure";
                    }
                  }  // list attribute
                }  // container attributes
    
                container rt-entries {
                  description
                    "BGP Route Target Sets Table";
                  list rt-entry {
                    description
                      "BGP Route Target Set Entry";
                    leaf route-target-lower-bytes {
                      type uint32;
                      description
                        "Lower 4 bytes of RT";
                    }
    
                    leaf route-target-upper-bytes {
                      type uint32;
                      description
                        "Upper 4 bytes of RT";
                    }
    
                    leaf af-name {
                      type dt1:Bgp-address-family;
                      description
                        "Address family";
                    }
    
                    leaf request-id {
                      type uint32;
                      description
                        "Random Request ID";
                    }
    
                    container rt {
                      description
                        "BGP virtual routing andforwarding route target";
                      leaf route-target {
                        type string;
                        description
                          "VRF Route Target value";
                      }
                    }  // container rt
    
                    leaf afs {
                      type string;
                      description
                        "Address-families of BGPvrf route target";
                    }
                  }  // list rt-entry
                }  // container rt-entries
    
                container attribute-filter-groups {
                  description
                    "All attribute-filter groups in this instance";
                  list attribute-filter-group {
                    key "group-name";
                    description
                      "The BGP Attribute filter group Table Entry";
                    leaf group-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "The BGP Attribute filter group table entry
    name";
                    }
    
                    leaf attribute-filter-group-name {
                      type string;
                      description
                        "String for BGP attribute-filter group name";
                    }
    
                    leaf attribute-filter-total-group-count {
                      type uint32;
                      description
                        "Total number of attriute-filter groups";
                    }
    
                    list attribute-filter-entry {
                      description
                        "List of attriute-filter entries";
                      leaf attribute-filter-entry-requested-action {
                        type Bgp-bag-upd-filter-action;
                        description
                          "Requested filtering action";
                      }
    
                      leaf attribute-filter-entry-range-start {
                        type uint32;
                        description
                          "Start of attribute range";
                      }
    
                      leaf attribute-filter-entry-range-end {
                        type uint32;
                        description
                          "End of attribute range";
                      }
                    }  // list attribute-filter-entry
                  }  // list attribute-filter-group
                }  // container attribute-filter-groups
    
                container orr-group-global-table-entries {
                  description
                    "The BGP Optimal Route Reflection Group Table";
                  list orr-group-global-table-entry {
                    key "orr-grp-name";
                    description
                      "A BGP Optimal Route Reflection Group Global
    Table Entry";
                    leaf orr-grp-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "The BGP Optimal Route Reflection Group Name";
                    }
    
                    container orr-root-address {
                      description
                        "ORR Root Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container orr-root-address
    
                    container orr-sec-root-address {
                      description
                        "ORR Sec Root Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container orr-sec-root-address
    
                    container orr-ter-root-address {
                      description
                        "ORR ter Root Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container orr-ter-root-address
    
                    leaf orr-group-name {
                      type string;
                      description
                        "ORR Group Name";
                    }
    
                    leaf is-orr-group-ipv4 {
                      type boolean;
                      description
                        "Is v4 ORR group";
                    }
    
                    leaf is-orr-global-defined {
                      type boolean;
                      description
                        "Is ORR group configured globally";
                    }
    
                    leaf orrafi-ref-count {
                      type uint32;
                      description
                        "Number of used afis";
                    }
    
                    leaf orr-tableid {
                      type uint32;
                      description
                        "ORR Group tableid";
                    }
    
                    leaf is-orr-root-address-configured {
                      type boolean;
                      description
                        "ORR Root address configured";
                    }
    
                    leaf is-orr-sec-root-address-configured {
                      type boolean;
                      description
                        "ORR Sec Root address configured";
                    }
    
                    leaf is-orr-ter-root-address-configured {
                      type boolean;
                      description
                        "ORR Ter Root address configured";
                    }
    
                    list used-af {
                      min-elements 25;
                      max-elements 25;
                      description
                        "Is ORR group used by af";
                      leaf entry {
                        type boolean;
                        description
                          "Array entry.";
                      }
                    }  // list used-af
                  }  // list orr-group-global-table-entry
                }  // container orr-group-global-table-entries
    
                container vrfdbvrf-table-entries {
                  description
                    "A BGP VRF DB VRFs table";
                  list vrfdbvrf-table-entry {
                    description
                      "A BGP VRF DB VRF TABLE";
                    leaf index {
                      type uint32;
                      description
                        "BGP VRF DB TBL index";
                    }
    
                    leaf id {
                      type uint32;
                      description
                        "BGP VRF DB TBL ID";
                    }
    
                    container entry {
                      description "entry";
                      leaf name {
                        type string;
                        description "name";
                      }
    
                      leaf af {
                        type int32;
                        description "af";
                      }
    
                      leaf id {
                        type uint32;
                        description "id";
                      }
    
                      leaf index {
                        type uint8;
                        description "index";
                      }
    
                      leaf rsi-handle {
                        type uint64;
                        description "rsi handle";
                      }
    
                      leaf reg-pending {
                        type boolean;
                        description
                          "reg pending";
                      }
    
                      leaf refcount {
                        type uint32;
                        description "refcount";
                      }
    
                      leaf import-policy {
                        type string;
                        description
                          "import policy";
                      }
    
                      leaf export-policy {
                        type string;
                        description
                          "export policy";
                      }
    
                      list import-rt {
                        description "import rt";
                        leaf entry {
                          type uint64;
                          description
                            "import rt";
                        }
                      }  // list import-rt
    
                      list export-rt {
                        description "export rt";
                        leaf entry {
                          type uint64;
                          description
                            "export rt";
                        }
                      }  // list export-rt
    
                      list import-rt-s {
                        description
                          "import rt s";
                        leaf entry {
                          type uint64;
                          description
                            "import rt s";
                        }
                      }  // list import-rt-s
    
                      list export-rt-s {
                        description
                          "export rt s";
                        leaf entry {
                          type uint64;
                          description
                            "export rt s";
                        }
                      }  // list export-rt-s
                    }  // container entry
                  }  // list vrfdbvrf-table-entry
                }  // container vrfdbvrf-table-entries
    
                container rpki-server-list {
                  description
                    "RPKI Server Table";
                  list rpki-server {
                    description
                      "Array of RPKI servers";
                    leaf name {
                      type string;
                      description "Server Name";
                    }
    
                    leaf preference {
                      type uint32;
                      description
                        "Server Preference";
                    }
    
                    leaf port {
                      type uint32;
                      description
                        "Server TCP Port number";
                    }
    
                    leaf state {
                      type Bgp-rpki-state;
                      description
                        "Server Internal State";
                    }
    
                    leaf state-time {
                      type uint32;
                      description
                        "Server Internal State timestamp (unix time)";
                    }
    
                    leaf shutdown {
                      type boolean;
                      description
                        "Server Shutdown";
                    }
    
                    leaf retries {
                      type uint32;
                      description
                        "Number of connection retries";
                    }
    
                    leaf close-reason {
                      type Bgp-rpki-creason;
                      description
                        "Server close reason";
                    }
    
                    leaf close-time {
                      type uint32;
                      description
                        "Server close elapsed time";
                    }
    
                    leaf close-time-real {
                      type uint32;
                      description
                        "Server close real timestamp (unix time)";
                    }
    
                    leaf read-bytes {
                      type uint32;
                      units "byte";
                      description
                        "Number of bytes read from the server";
                    }
    
                    leaf write-bytes {
                      type uint32;
                      units "byte";
                      description
                        "Number of bytes written to the server";
                    }
    
                    leaf transport {
                      type uint32;
                      description
                        "Server transport type";
                    }
    
                    leaf username {
                      type string;
                      description
                        "Server SSH username";
                    }
    
                    leaf password {
                      type string;
                      description
                        "Server SSH password";
                    }
    
                    leaf sshpid {
                      type uint32;
                      description
                        "Server SSH process ID";
                    }
    
                    leaf proto-state {
                      type Bgp-rpki-pstate;
                      description
                        "Server Protocol state";
                    }
    
                    leaf proto-state-time {
                      type uint32;
                      description
                        "Server Protocol state timestamp (unix time)";
                    }
    
                    leaf serial {
                      type uint32;
                      description
                        "Server serial number";
                    }
    
                    leaf nonce {
                      type uint32;
                      description "Server nonce";
                    }
    
                    leaf refresh-time {
                      type int32;
                      units "second";
                      description
                        "Server refresh time (seconds)";
                    }
    
                    leaf response-time {
                      type int32;
                      units "second";
                      description
                        "Server response time (seconds)";
                    }
    
                    leaf purge-time {
                      type int32;
                      units "second";
                      description
                        "Server purge time (seconds)";
                    }
    
                    leaf ipv4roa {
                      type uint32;
                      description
                        "Total IPv4 ROAs currently recv'd from server";
                    }
    
                    leaf ipv4roa-announce {
                      type uint32;
                      description
                        "Total IPv4 ROAs announced by the server";
                    }
    
                    leaf ipv4roa-withdraw {
                      type uint32;
                      description
                        "Total IPv4 ROAs withdrawn by the server";
                    }
    
                    leaf ipv6roa {
                      type uint32;
                      description
                        "Total IPv6 ROAs currently recv'd from server";
                    }
    
                    leaf ipv6roa-announce {
                      type uint32;
                      description
                        "Total IPv6 ROAs announced by the server";
                    }
    
                    leaf ipv6roa-withdraw {
                      type uint32;
                      description
                        "Total IPv6 ROAs withdrawn by the server";
                    }
    
                    leaf proto-error {
                      type Bgp-rpki-perror;
                      description
                        "Protocol Error Reason";
                    }
    
                    leaf bindsrc {
                      type string;
                      description
                        "Server transport bind source ";
                    }
    
                    leaf identifier {
                      type uint8;
                      description "Allocated Id";
                    }
                  }  // list rpki-server
                }  // container rpki-server-list
    
                container rpki-routes {
                  description
                    "BGP RPKI ROA table";
                  list rpki-route {
                    description
                      "RPKI Path Group";
                    leaf af-name {
                      type Bgp-rpki-edm-af;
                      description
                        "IPv4 or IPV6  Address family";
                    }
    
                    leaf address {
                      type xr:Cisco-ios-xr-string;
                      description
                        "IPv4 or IPv6 route prefix contained in the
    Route Origin Authorization";
                    }
    
                    leaf minimum {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the shortest prefix allowed";
                    }
    
                    leaf maximum {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the longest prefix allowed";
                    }
    
                    list rpki-route {
                      description
                        "Array or RPKI routes";
                      leaf af-name {
                        type Bgp-rpki-af;
                        description
                          "Address Family";
                      }
    
                      leaf address {
                        type string;
                        description
                          "Address Prefix";
                      }
    
                      leaf min-prefix-len {
                        type uint8;
                        description
                          "Minimum Prefix Length";
                      }
    
                      leaf max-prefix-len {
                        type uint8;
                        description
                          "Maximum Prefix Length";
                      }
    
                      leaf as {
                        type uint32;
                        description "AS number";
                      }
    
                      leaf server {
                        type string;
                        description
                          "Source Server";
                      }
    
                      leaf stale {
                        type boolean;
                        description
                          "ROA is stale";
                      }
    
                      leaf version {
                        type uint32;
                        description
                          "ROA version";
                      }
                    }  // list rpki-route
                  }  // list rpki-route
                }  // container rpki-routes
    
                container update-inbound-error-process {
                  description
                    "Update inbound error information for the process";
                  container last-update-malformed-timestamp {
                    description
                      "Last malformed messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description
                        "Seconds part of time value";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description
                        "Nanoseconds part of time value";
                    }
                  }  // container last-update-malformed-timestamp
    
                  leaf update-error-handling-basic-ebgp {
                    type boolean;
                    description
                      "Is basic error-handling for EBGP enabled";
                  }
    
                  leaf update-error-handling-basic-ibgp {
                    type boolean;
                    description
                      "Is basic error-handling for IBGP enabled";
                  }
    
                  leaf update-error-handling-extended-ebgp {
                    type boolean;
                    description
                      "Is extended error-handling for EBGP enabled";
                  }
    
                  leaf update-error-handling-extended-ibgp {
                    type boolean;
                    description
                      "Is extended error-handling for IBGP enabled";
                  }
    
                  leaf update-malformed-message-count {
                    type uint32;
                    description
                      "BGP malformed messages received count update";
                  }
    
                  leaf update-malformed-neighbor-count {
                    type uint32;
                    description
                      "Count of neighbors that received malformed
    messages";
                  }
    
                  leaf last-update-malformed-age {
                    type uint32;
                    units "second";
                    description
                      "Time since last malformed messages received
    event (in seconds)";
                  }
                }  // container update-inbound-error-process
    
                container rpki-summary {
                  description
                    "RPKI Summary Info";
                  leaf servers {
                    type uint32;
                    description
                      "Number of RPKI Servers configured";
                  }
    
                  leaf ipv4roa-nets {
                    type uint32;
                    description
                      "Number of IPv4 ROA Nets";
                  }
    
                  leaf ipv4roa-paths {
                    type uint32;
                    description
                      "Number of IPv4 ROA Paths";
                  }
    
                  leaf ipv6roa-nets {
                    type uint32;
                    description
                      "Number of IPv6 ROA Nets";
                  }
    
                  leaf ipv6roa-paths {
                    type uint32;
                    description
                      "Number of IPv6 ROA Paths";
                  }
    
                  leaf ipv4-table-version {
                    type uint32;
                    description
                      "RPKI IPv4 Table Version";
                  }
    
                  leaf ipv4-table-scanner-version {
                    type uint32;
                    description
                      "RPKI IPv4 Scanner Version";
                  }
    
                  leaf ipv6-table-version {
                    type uint32;
                    description
                      "RPKI IPv6 Table Version";
                  }
    
                  leaf ipv6-table-scanner-version {
                    type uint32;
                    description
                      "RPKI IPv6 Scanner Version";
                  }
                }  // container rpki-summary
    
                container rt-hash-table-entries {
                  description
                    "BGP Route Target Hash Table";
                  list rt-hash-table-entry {
                    description
                      "BGP Route Target Hash Table Entry";
                    leaf imp-exp {
                      type uint32 {
                        range "0..1";
                      }
                      description
                        "Flag to indicate RT import or export";
                    }
    
                    leaf af-name {
                      type dt1:Bgp-address-family;
                      description
                        "Address family";
                    }
    
                    leaf rt-hash {
                      type uint32;
                      description
                        "Route Target Hash Index";
                    }
    
                    leaf route-target-hash-value {
                      type uint32;
                      description
                        "Hash value calculated from Route Target value
    used to save in BGP's internal hash table";
                    }
    
                    list rt {
                      description "rt";
                      leaf route-target {
                        type string;
                        description
                          "VRF Route Target value";
                      }
                    }  // list rt
                  }  // list rt-hash-table-entry
                }  // container rt-hash-table-entries
    
                container ot-prov-nbr-af-entries {
                  description
                    "BGP Object Tracking Provider Neighbor AF Table";
                  list ot-prov-nbr-af-entry {
                    description
                      "BGP Object Tracking Provider Nbr Af Database
    Entry";
                    leaf vrf-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the VRF";
                    }
    
                    leaf af-name {
                      type dt1:Bgp-address-family;
                      description
                        "Address family";
                    }
    
                    leaf neighbor-address {
                      type inet:ip-address-no-zone;
                      description
                        "IPv4 or IPv6 Address of the BGP Neighbor";
                    }
    
                    container entry {
                      description "entry";
                      container neighbor-address {
                        description
                          "BGP neighbor Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbor-address
    
                      container track-created-ts {
                        description
                          "track created ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container track-created-ts
    
                      container track-created-age {
                        description
                          "track created age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container track-created-age
    
                      container nbr-af-event-ts {
                        description
                          "nbr af event ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container nbr-af-event-ts
    
                      container nbr-af-event-age {
                        description
                          "nbr af event age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container nbr-af-event-age
    
                      container status-change-ts {
                        description
                          "status change ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-change-ts
    
                      container status-change-age {
                        description
                          "status change age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-change-age
    
                      container status-notify-ts {
                        description
                          "status notify ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-notify-ts
    
                      container status-notify-age {
                        description
                          "status notify age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-notify-age
    
                      leaf vrf-name {
                        type string;
                        description "vrf name";
                      }
    
                      leaf afi {
                        type uint8;
                        description "afi";
                      }
    
                      leaf state {
                        type Bgp-track-state;
                        description
                          "BGP Track Entry State";
                      }
    
                      leaf flags {
                        type uint8;
                        description "flags";
                      }
    
                      leaf notify-state {
                        type Bgp-track-state;
                        description
                          "BGP Track Entry Previous State";
                      }
    
                      leaf prev-state {
                        type Bgp-track-state;
                        description
                          "BGP Track Entry Previous State";
                      }
                    }  // container entry
                  }  // list ot-prov-nbr-af-entry
                }  // container ot-prov-nbr-af-entries
              }  // container instance-active
    
              container instance-standby {
                description
                  "Standby BGP operational data";
                container update-generation-process {
                  description
                    "The BGP Update generate table for the process";
                  container update-statistics {
                    description
                      "BGP process update statistics";
                    container last-update-discard-timestamp {
                      description
                        "Last Discarded time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-discard-timestamp
    
                    container last-update-cleared-timestamp {
                      description
                        "Last Cleared time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-cleared-timestamp
    
                    container last-update-throttle-timestamp {
                      description
                        "Last Throttled time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-throttle-timestamp
    
                    container last-update-recovery-timestamp {
                      description
                        "Last Recovery time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-recovery-timestamp
    
                    container last-update-memory-allocation-fail-timestamp {
                      description
                        "Memory allocation failure time";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-memory-allocation-fail-timestamp
    
                    leaf update-out-queue-messages-high {
                      type uint32;
                      description
                        "OutQueue High Messages";
                    }
    
                    leaf update-out-queue-messages-cumulative {
                      type uint32;
                      description
                        "OutQueue Cumulative Messages";
                    }
    
                    leaf update-out-queue-messages-discarded {
                      type uint32;
                      description
                        "OutQueue Discarded Messages";
                    }
    
                    leaf update-out-queue-messages-cleared {
                      type uint32;
                      description
                        "OutQueue Cleared Messages";
                    }
    
                    leaf update-out-queue-size-high {
                      type uint32;
                      description
                        "OutQueue Hi Size";
                    }
    
                    leaf update-out-queue-size-cumulative {
                      type uint64;
                      description
                        "OutQueue Cumulative Size";
                    }
    
                    leaf update-out-queue-size-discarded {
                      type uint64;
                      description
                        "OutQueue Discarded Size";
                    }
    
                    leaf update-out-queue-size-cleared {
                      type uint64;
                      description
                        "OutQueue Cleared Size";
                    }
    
                    leaf last-update-discard-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Discard event (in seconds)";
                    }
    
                    leaf last-update-cleard-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Clear event (in seconds)";
                    }
    
                    leaf update-throttle-count {
                      type uint32;
                      description
                        "Throttle Count";
                    }
    
                    leaf last-update-throttle-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Throttle event (in seconds)";
                    }
    
                    leaf update-recovery-count {
                      type uint32;
                      description
                        "Recovery Count";
                    }
    
                    leaf last-update-recovery-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last Recovery event (in seconds)";
                    }
    
                    leaf update-memory-allocation-fail-count {
                      type uint32;
                      description
                        "Number of times there was failure when
    allocatingmemory for BGP update generation";
                    }
    
                    leaf last-update-memory-allocation-fail-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last memory allocation failure event
    (in seconds)";
                    }
                  }  // container update-statistics
    
                  leaf update-out-logging {
                    type boolean;
                    description
                      "Enable syslog messages for update generation
    events";
                  }
    
                  leaf current-update-limit-process {
                    type uint32;
                    description
                      "Current Process update limit";
                  }
    
                  leaf configured-update-limit-process {
                    type uint32;
                    description
                      "Configured Process update limit";
                  }
    
                  leaf update-out-queue-messages {
                    type uint32;
                    description
                      "OutQueue messages";
                  }
    
                  leaf update-out-queue-size {
                    type uint32;
                    description "OutQueue size";
                  }
    
                  leaf update-throttled {
                    type boolean;
                    description
                      "Flag for BGP address-family summary updates
    throttled";
                  }
    
                  list update-address-family {
                    description
                      "List of address-families";
                    leaf update-group-af-name {
                      type Bgp-afi;
                      description
                        "Address family identifier";
                    }
    
                    leaf current-update-limit-af {
                      type uint32;
                      description
                        "BGP address-family current AF update limit";
                    }
    
                    leaf update-out-queue-messages {
                      type uint32;
                      description
                        "OutQueue messages";
                    }
    
                    leaf update-out-queue-size {
                      type uint32;
                      description
                        "OutQueue size";
                    }
    
                    leaf update-throttled {
                      type boolean;
                      description
                        "BGP sub-group updates throttled because write
    limit reached";
                    }
    
                    leaf update-update-group-count {
                      type uint32;
                      description
                        "Update-group count";
                    }
    
                    leaf update-sub-group-count {
                      type uint32;
                      description
                        "Sub-group count";
                    }
    
                    leaf sub-group-throttled-count {
                      type uint32;
                      description
                        "Throttled sub-group count";
                    }
    
                    leaf refresh-sub-group-count {
                      type uint32;
                      description
                        "BGP address-family refresh sub-group count";
                    }
    
                    leaf refresh-sub-group-throttled-count {
                      type uint32;
                      description
                        "Throttled refresh sub-group count";
                    }
    
                    leaf filter-group-count {
                      type uint32;
                      description
                        "BGP address-family filter-group count";
                    }
    
                    leaf neighbor-count {
                      type uint32;
                      description
                        "BGP sub-group neighbor count";
                    }
                  }  // list update-address-family
                }  // container update-generation-process
    
                container vrfs {
                  description
                    "VRF related operational data";
                  list vrf {
                    key "vrf-name";
                    description
                      "Operational data for a particular VRF";
                    leaf vrf-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the VRF";
                    }
    
                    container update-inbound-error-vrf {
                      description
                        "Update inbound error information for the VRF";
                      container last-update-malformed-timestamp {
                        description
                          "Last malformed messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-malformed-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-malformed-message-count {
                        type uint32;
                        description
                          "BGP virtual routing & forwarding  malformed
    messages count";
                      }
    
                      leaf update-malformed-neighbor-count {
                        type uint32;
                        description
                          "Count of neighbors that received malformed
    messages";
                      }
    
                      leaf last-update-malformed-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last malformed messages received
    event (in seconds)";
                      }
                    }  // container update-inbound-error-vrf
    
                    container afs {
                      description
                        "BGP address family table";
                      list af {
                        key "af-name";
                        description
                          "A particular address family";
                        container rpki-refresh-af-table {
                          description
                            "RPKI Refresh Table (per AF)";
                          container rpki-refresh-af {
                            description
                              "RPKI Refresh List";
                            list refresh-entry {
                              description
                                "Array of refresh entries";
                              leaf af-name {
                                type Bgp-rpki-af;
                                description
                                  "Address Family";
                              }
    
                              leaf neighbor {
                                type string;
                                description
                                  "BGP neighbor";
                              }
    
                              leaf policy {
                                type string;
                                description
                                  "Route Policy";
                              }
    
                              leaf paths {
                                type uint32;
                                description
                                  "Number of BGP paths modified or dropped";
                              }
    
                              leaf drop {
                                type boolean;
                                description
                                  "BGP paths were dropped";
                              }
                            }  // list refresh-entry
                          }  // container rpki-refresh-af
                        }  // container rpki-refresh-af-table
    
                        container remote-nh-table {
                          description
                            "A BGP Remote Nexthop table entry";
                          leaf lrnh-table {
                            type uint32;
                            description
                              "RNH Table ID";
                          }
    
                          list local-rnh-entry {
                            max-elements 2;
                            description
                              "Local RNH Entries";
                            container local-rnhesi {
                              description
                                "Local RNH ESI";
                              leaf esi {
                                type yang:hex-string;
                                description
                                  "esi";
                              }
                            }  // container local-rnhesi
    
                            leaf lrnh-present {
                              type boolean;
                              description
                                "RNH present boolean";
                            }
    
                            leaf lrnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf lrnhvni {
                              type uint32;
                              description
                                "RNH VNI";
                            }
    
                            leaf lrnh-addr {
                              type inet:ipv4-address;
                              description
                                "RNH Address";
                            }
    
                            leaf lrnhv6-addr {
                              type inet:ipv6-address;
                              description
                                "RNH IPv6 Address";
                            }
    
                            leaf lrnh-mac {
                              type Mac-address;
                              description
                                "RNH MAC Address";
                            }
                          }  // list local-rnh-entry
    
                          list rnh-entry-info {
                            description
                              "List of Dependency Tables ";
                            leaf lrnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf lrnh-table {
                              type uint32;
                              description
                                "RNH Table ID";
                            }
    
                            leaf lrnhvni {
                              type uint32;
                              description
                                "RNH VNI";
                            }
    
                            leaf lrnh-addr {
                              type inet:ipv4-address;
                              description
                                "RNH Address";
                            }
    
                            leaf lrnh-mac {
                              type Mac-address;
                              description
                                "RNH MAC Address";
                            }
    
                            leaf frnh-as {
                              type uint8;
                              description
                                "RNH Flags";
                            }
    
                            leaf rrnh-as {
                              type uint32;
                              description
                                "RNH Refcount";
                            }
                          }  // list rnh-entry-info
                        }  // container remote-nh-table
    
                        container policies {
                          description
                            "The BGP Policy Table";
                          list policy {
                            description
                              "A BGP Policy table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container neighbor-address-xr {
                              description
                                "Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address-xr
    
                            container path-info-after-policy-in {
                              description
                                "Path information after inbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-in
    
                            container path-info-after-policy-out {
                              description
                                "Path information after outbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-out
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            container attributes-after-policy-out {
                              description
                                "Attributes after outbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-out
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path with advertised Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path advertised Source Route Distinguisher";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list policy
                        }  // container policies
    
                        container convergence {
                          description
                            "A BGP Convergence table entry";
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf has-converged {
                            type boolean;
                            description
                              "Convergence has been reached";
                          }
    
                          leaf are-write-queues-empty {
                            type boolean;
                            description
                              "All neighbor write queues are empty";
                          }
                        }  // container convergence
    
                        container af-process-info {
                          description
                            "A BGP Process address family table entry";
                          container global {
                            description
                              "Global information";
                            container version-wrap-time-spec {
                              description
                                "Version Wrap timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-wrap-time-spec
    
                            container version-wrap-start-time-spec {
                              description
                                "Version Wrap handle start timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-wrap-start-time-spec
    
                            container version-wrap-done-time-spec {
                              description
                                "Version Wrap handle Done timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-wrap-done-time-spec
    
                            container trigger-rib {
                              description
                                "Trigger RIB";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-rib
    
                            container trigger-import {
                              description
                                "Flag to keep track of import triggers to each of
    the threads";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-import
    
                            container trigger-update {
                              description
                                "Flag to keep track of update triggers for each
    thread";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-update
    
                            container trigger-label {
                              description
                                "Label to keep track of trigger for each thread";
                              leaf triggers {
                                type uint32;
                                description
                                  "Number of times the threadwas triggered";
                              }
    
                              list statistic {
                                description
                                  "stats recorded per trigger";
                                container trigger-time-spec {
                                  description
                                    "Timestamp when the thread was triggered ";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container trigger-time-spec
    
                                leaf trigger-version {
                                  type uint32;
                                  description
                                    "The thread version last timethe thread is run";
                                }
    
                                leaf trigger-table-version {
                                  type uint32;
                                  description
                                    "TriggerTableVersion";
                                }
                              }  // list statistic
                            }  // container trigger-label
    
                            container rib-install {
                              description
                                "RIB install info";
                              container update-time {
                                description
                                  "The time taken for routing information base
    download ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container update-time
    
                              container install-time {
                                description
                                  "The time taken for the route installation ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container install-time
    
                              leaf installed-count {
                                type uint32;
                                description
                                  "Count of installed routes";
                              }
    
                              leaf modified-count {
                                type uint32;
                                description
                                  "Count of modified routes";
                              }
    
                              leaf skipped-count {
                                type uint32;
                                description
                                  "Count of skipped routes";
                              }
    
                              leaf withdrawn-count {
                                type uint32;
                                description
                                  "Count of withdrawn routes";
                              }
    
                              leaf start-version {
                                type uint32;
                                description
                                  "Start version of the BGP routing information
    base ";
                              }
    
                              leaf target-version {
                                type uint32;
                                description
                                  "Target version of BGProuting information
    baseupdate ";
                              }
                            }  // container rib-install
    
                            leaf router-state {
                              type Bgp-rtr-state;
                              description
                                "BGP router state for the address family ";
                            }
    
                            leaf table-version {
                              type uint32;
                              description
                                "BGP main routing table version";
                            }
    
                            leaf version-wrapped {
                              type uint32;
                              description
                                "Number of times Version Wrap happened";
                            }
    
                            leaf version-wrapped-tid {
                              type uint32;
                              description
                                "Version Wrapped trigger tid";
                            }
    
                            leaf max-active-pelem-version {
                              type uint32;
                              description
                                "Maximum Active Pelem Version";
                            }
    
                            leaf merged-table-version {
                              type uint32;
                              description
                                "The merged Bgp table version after RPFO";
                            }
    
                            leaf route-download-go-active-done-pending {
                              type uint32;
                              description
                                "To indicate whether routedownload go-active-done
    pulse is sent or not";
                            }
    
                            leaf rib-brib-received-version {
                              type uint32;
                              description
                                "Version received from ";
                            }
    
                            leaf table-brib-version {
                              type uint32;
                              description
                                "Version sent to RIB/bRIB";
                            }
    
                            leaf label-version {
                              type uint32;
                              description
                                "Version updated by label thread";
                            }
    
                            leaf import-version {
                              type uint32;
                              description
                                "Version updated by import thread";
                            }
    
                            leaf standby-version {
                              type uint32;
                              description
                                "Version updated by sync thread";
                            }
    
                            leaf send-version {
                              type uint32;
                              description
                                "Version for sending updates to peers";
                            }
    
                            leaf num-init-sync-pfx {
                              type uint32;
                              description
                                "Num of prefix synced during Initsync";
                            }
    
                            leaf max-label-stack-depth-v4-next-hop {
                              type uint32;
                              description
                                "Max supported label stack depth  for IPv4
    Nexthop";
                            }
    
                            leaf max-label-stack-depth-v6-next-hop {
                              type uint32;
                              description
                                "Max supported label stack depth  for IPv6
    Nexthop";
                            }
    
                            leaf local-networks-num {
                              type uint32;
                              description
                                "Total local networks";
                            }
    
                            leaf local-networks-memory {
                              type uint32;
                              description
                                "Total number of networks memory in global BGP
    address-family ";
                            }
    
                            leaf local-networks-malloced-num {
                              type uint32;
                              description
                                "Total number of networks for which memory is
    allocated";
                            }
    
                            leaf local-networks-freed-num {
                              type uint32;
                              description
                                "Total local networks freed";
                            }
    
                            leaf local-paths-num {
                              type uint32;
                              description
                                "Total local paths";
                            }
    
                            leaf local-paths-memory {
                              type uint32;
                              description
                                "Total memory allocated for local paths in BGP
    process";
                            }
    
                            leaf local-paths-malloced-num {
                              type uint32;
                              description
                                "Total local paths for which memory allocated";
                            }
    
                            leaf local-paths-freed-num {
                              type uint32;
                              description
                                "Total local paths freed";
                            }
    
                            leaf imported-paths-num {
                              type uint32;
                              description
                                "Total imported paths";
                            }
    
                            leaf imported-paths-memory {
                              type uint32;
                              description
                                "Total memory allocated for imported paths in BGP
    process";
                            }
    
                            leaf networks-num {
                              type uint32;
                              description
                                "Total Num of networks";
                            }
    
                            leaf networks-memory {
                              type uint32;
                              description
                                "Total memory allocated for networks in BGP
    process";
                            }
    
                            leaf networks-malloced-num {
                              type uint32;
                              description
                                "Total networks for which memory allocated";
                            }
    
                            leaf networks-freed-num {
                              type uint32;
                              description
                                "Total networks freed";
                            }
    
                            leaf paths-num {
                              type uint32;
                              description
                                "Total Num of paths";
                            }
    
                            leaf paths-memory {
                              type uint32;
                              description
                                "Total paths memory";
                            }
    
                            leaf paths-malloced-num {
                              type uint32;
                              description
                                "Total paths for which memory allocated";
                            }
    
                            leaf paths-freed-num {
                              type uint32;
                              description
                                "Total paths freed";
                            }
    
                            leaf path-elems-num {
                              type uint32;
                              description
                                "Total Num of path-elems";
                            }
    
                            leaf path-elems-memory {
                              type uint32;
                              description
                                "Total memory allocated for path-elements in BGP
    process";
                            }
    
                            leaf path-elems-malloced-num {
                              type uint32;
                              description
                                "Total memory allocated for path-element number";
                            }
    
                            leaf path-elems-freed-num {
                              type uint32;
                              description
                                "Total path-elems freed";
                            }
    
                            leaf label-last-trigger {
                              type uint64;
                              description
                                "Timestamp when Label thread is last triggered";
                            }
    
                            leaf last-label-version {
                              type uint32;
                              description
                                "Label thread version when last triggered";
                            }
    
                            leaf label-bgp-version {
                              type uint32;
                              description
                                "BGP version when label thread is last triggered";
                            }
    
                            leaf label-triggers {
                              type uint32;
                              description
                                "Label thread triggers";
                            }
    
                            leaf rib-last-trigger {
                              type uint64;
                              description
                                "Timestamp when RIB thread is last triggered";
                            }
    
                            leaf last-rib-version {
                              type uint32;
                              description
                                "RIB thread version when last triggered";
                            }
    
                            leaf rib-bgp-version {
                              type uint32;
                              description
                                "BGP version when RIB thread is last triggered";
                            }
    
                            leaf rib-triggers {
                              type uint32;
                              description
                                "RIB thread triggers";
                            }
    
                            leaf import-last-trigger {
                              type uint64;
                              description
                                "Timestamp when Import thread is last triggered";
                            }
    
                            leaf last-import-version {
                              type uint32;
                              description
                                "Import thread version when last triggered";
                            }
    
                            leaf import-bgp-version {
                              type uint32;
                              description
                                "BGP version when Import thread is last triggered";
                            }
    
                            leaf import-triggers {
                              type uint32;
                              description
                                "Import thread triggers";
                            }
    
                            leaf update-gen-last-trigger {
                              type uint64;
                              description
                                "Timestamp when Update generation thread is last
    triggered";
                            }
    
                            leaf update-gen-bgp-version {
                              type uint32;
                              description
                                "BGP version when Update generation thread is
    last triggered";
                            }
    
                            leaf update-triggers {
                              type uint32;
                              description
                                "Update thread triggers";
                            }
    
                            leaf total-r-ds-num {
                              type uint32;
                              description
                                "Total Num of RDs";
                            }
    
                            leaf total-remote-r-ds-num {
                              type uint32;
                              description
                                "Total Num of remote RDs";
                            }
    
                            leaf total-same-r-ds-num {
                              type uint32;
                              description
                                "Total Num of same RDs";
                            }
    
                            leaf malloced-rd-count {
                              type uint32;
                              description
                                "Activity: Number of RDs malloced";
                            }
    
                            leaf freed-rd-count {
                              type uint32;
                              description
                                "Activity: Number of RDs freed";
                            }
    
                            leaf rd-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by RD data";
                            }
    
                            leaf multipath-network-entry-count {
                              type uint32;
                              description
                                "Number of multipath network entries";
                            }
    
                            leaf multipath-network-entry-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used bymultipath network
    entries";
                            }
    
                            leaf multipath-paths-count {
                              type uint32;
                              description
                                "Number of multipath paths";
                            }
    
                            leaf multipath-paths-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used bymultimpath paths";
                            }
    
                            leaf update-wait-install-enabled {
                              type uint32;
                              description
                                "BGP process update wait until install is
    configured";
                            }
    
                            leaf rib-acked-table-version {
                              type uint32;
                              description
                                "Table version acked by routing information base";
                            }
    
                            leaf rib-ack-requests {
                              type uint32;
                              description
                                "Count for RIB ack requests";
                            }
    
                            leaf rib-acks-received {
                              type uint32;
                              description
                                "Count for RIB ack received";
                            }
    
                            leaf rib-slow-acks {
                              type uint32;
                              description
                                "Count for slow RIB acks";
                            }
                          }  // container global
    
                          container vrf {
                            description
                              "VRF information";
                            leaf network-entry-count {
                              type uint32;
                              description
                                "Number of network entries";
                            }
    
                            leaf paths-count {
                              type uint32;
                              description
                                "Number of paths";
                            }
    
                            leaf imported-paths {
                              type uint32;
                              description
                                "Number of imported paths";
                            }
    
                            leaf local-paths {
                              type uint32;
                              description
                                "Number of local paths";
                            }
    
                            leaf path-elems-count {
                              type uint32;
                              description
                                "Number of path elems";
                            }
    
                            leaf path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by path data";
                            }
    
                            leaf imported-path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by imported paths";
                            }
    
                            leaf local-path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by local paths";
                            }
    
                            leaf prefix-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by prefix data";
                            }
    
                            leaf path-elem-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by pathelem data";
                            }
    
                            leaf received-path-count {
                              type uint32;
                              description
                                "Number of (unused) received paths for inbound
    soft reconfiguration";
                            }
    
                            leaf history-path-count {
                              type uint32;
                              description
                                "Number of history paths (for dampening)";
                            }
    
                            leaf damped-path-count {
                              type uint32;
                              description
                                "Number of dampened paths";
                            }
    
                            leaf malloced-prefix-count {
                              type uint32;
                              description
                                "Activity: Number of prefixes malloced";
                            }
    
                            leaf freed-prefix-count {
                              type uint32;
                              description
                                "Activity: Number of prefixes freed";
                            }
    
                            leaf malloced-path-count {
                              type uint32;
                              description
                                "Activity: Number of paths malloced";
                            }
    
                            leaf freed-path-count {
                              type uint32;
                              description
                                "Activity: Number of paths freed";
                            }
    
                            leaf malloced-path-elem-count {
                              type uint32;
                              description
                                "Activity: Number of path elems malloced";
                            }
    
                            leaf freed-path-elem-count {
                              type uint32;
                              description
                                "Activity: Number of pathelems freed";
                            }
    
                            leaf any-ebgp-neighbor-missing-policy {
                              type boolean;
                              description
                                "Is there any neighbor which is missing either
    inbound or outbound or both routing policy for
    this address family?";
                            }
    
                            leaf attribute-download {
                              type boolean;
                              description
                                "BGP virtual routing and forwarding attribute
    download ";
                            }
    
                            leaf route-target-download {
                              type boolean;
                              description
                                "Route Target download is enabled";
                            }
    
                            leaf srms-prefix-sid {
                              type boolean;
                              description
                                "SRMS Prefix SID is ";
                            }
    
                            leaf add-path-install-enable {
                              type boolean;
                              description
                                "Additional paths installation is enabled";
                            }
    
                            leaf add-path-install-disable {
                              type boolean;
                              description
                                "Additional paths installation is disabled";
                            }
    
                            leaf best-external {
                              type boolean;
                              description
                                "Best External is enabled";
                            }
    
                            leaf best-external-disable {
                              type boolean;
                              description
                                "Best External is enabled";
                            }
    
                            leaf best-external-labeled-unicast {
                              type boolean;
                              description
                                "Best External is limited toLabeled-Unicast";
                            }
    
                            leaf label-retain {
                              type boolean;
                              description
                                "Label retention is enabled";
                            }
    
                            leaf label-retainvalue {
                              type uint32;
                              description
                                "Label retention value enabled";
                            }
    
                            leaf tbl-bitf-size {
                              type uint16;
                              description
                                "Bitfield size on table";
                            }
    
                            leaf tbl-chunk-bitf-size {
                              type uint16;
                              description
                                "Chunk Bitfield size on table";
                            }
    
                            leaf tbl-filter-group-bitf-resize-pending {
                              type boolean;
                              description
                                "Filter Group bitfield resize is pending for this
    table";
                            }
    
                            leaf is-route-reflector {
                              type boolean;
                              description
                                "Router is an RR for this AF";
                            }
    
                            leaf asbr {
                              type boolean;
                              description
                                "Router is an ASBR for this AF";
                            }
    
                            leaf retain-rt-all {
                              type boolean;
                              description
                                "Retain-RT-All enabled";
                            }
    
                            leaf ibgp-nexthop-self-count {
                              type uint32;
                              description
                                "Number of iBGP sessions configured with nh-self";
                            }
    
                            leaf use-igpsr-label {
                              type boolean;
                              description
                                "Use IGP SR label for resolution";
                            }
    
                            leaf bmp-network-entry-count {
                              type uint32;
                              description
                                "Number of BMP net entries";
                            }
    
                            leaf bmp-paths-count {
                              type uint32;
                              description
                                "Total Number of BMP paths";
                            }
    
                            leaf bmp-prefix-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by prefix data";
                            }
    
                            leaf bmp-path-memory {
                              type uint32;
                              units "byte";
                              description
                                "Memory (in bytes) used by path data";
                            }
                          }  // container vrf
    
                          container performance-statistics {
                            description
                              "BGP process address familyperformance statistics
    info";
                            container global {
                              description
                                "Global information";
                              leaf has-converged {
                                type boolean;
                                description
                                  "TRUE if process has converged";
                              }
    
                              leaf first-nbr-up-time {
                                type uint32;
                                units "second";
                                description
                                  "Time when first peer came up (seconds since Jan
    1 1970)";
                              }
    
                              leaf total-pim-install {
                                type uint32;
                                description
                                  "Total number of install to PIM";
                              }
    
                              leaf total-pim-callbacks {
                                type uint32;
                                description
                                  "Total number of PIM callbacks";
                              }
    
                              leaf total-pim-callback-batch {
                                type uint32;
                                description
                                  "Total number of Pim callback batches";
                              }
    
                              list mode-enter-time {
                                max-elements 7;
                                description
                                  "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                                leaf entry {
                                  type uint32;
                                  units "second";
                                  description
                                    "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                                }
                              }  // list mode-enter-time
    
                              list total-pim-install-add {
                                max-elements 7;
                                description
                                  "Total number of install to PIM for add";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of install to PIM for add";
                                }
                              }  // list total-pim-install-add
    
                              list total-pim-install-del {
                                max-elements 7;
                                description
                                  "Total number of install to PIM for del";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of install to PIM for del";
                                }
                              }  // list total-pim-install-del
    
                              list total-pim-callback-add {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for add";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for add";
                                }
                              }  // list total-pim-callback-add
    
                              list total-pim-callback-del {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for del";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for del";
                                }
                              }  // list total-pim-callback-del
    
                              list total-pim-callback-add-local {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for local add";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for local add";
                                }
                              }  // list total-pim-callback-add-local
    
                              list total-pim-callback-del-local {
                                max-elements 7;
                                description
                                  "Total number of Pim callbacks for Local del";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Total number of Pim callbacks for Local del";
                                }
                              }  // list total-pim-callback-del-local
                            }  // container global
    
                            container vrf {
                              description
                                "VRF information";
                              container time-rib-coverged {
                                description
                                  "Time last RIB ack was sent ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container time-rib-coverged
    
                              container time-rib-down {
                                description
                                  "Time last RIB down wassent. This field is
    deprecated";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container time-rib-down
    
                              container first-rib-table-full-timestamp {
                                description
                                  "Timestamp when RIB table was full for the first
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container first-rib-table-full-timestamp
    
                              container last-rib-table-full-timestamp {
                                description
                                  "Timestamp when RIB table was full for the last
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-rib-table-full-timestamp
    
                              container first-rib-table-has-space-timestamp {
                                description
                                  "Timestamp when RIB table had space for the first
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container first-rib-table-has-space-timestamp
    
                              container last-rib-table-has-space-timestamp {
                                description
                                  "Timestamp when RIB table had space for the last
    time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-rib-table-has-space-timestamp
    
                              container time-label-retain {
                                description
                                  "Time last label retentiontriggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container time-label-retain
    
                              leaf update-generation-calls {
                                type uint32;
                                description
                                  "No. of calls to update generation function";
                              }
    
                              leaf update-generation-prefixes-count {
                                type uint32;
                                description
                                  "No. of prefixes updates generated for";
                              }
    
                              leaf update-generation-be-prefixes-count {
                                type uint32;
                                description
                                  "No. of be prefixes updates generated for";
                              }
    
                              leaf update-generation-messages-count {
                                type uint32;
                                description
                                  "No. of update messages generated";
                              }
    
                              leaf update-generation-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent generating updates (milliseconds)";
                              }
    
                              leaf rib-update-calls {
                                type uint32;
                                description
                                  "No. of calls to RIB update function";
                              }
    
                              leaf rib-update-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent sending RIB updates (milliseconds)";
                              }
    
                              leaf prefixes-sent-to-rib {
                                type uint32;
                                description
                                  "No. of prefixes sent to RIB";
                              }
    
                              leaf prefixes-resent-to-rib {
                                type uint32;
                                description
                                  "No. of prefixes re-sent to RIB";
                              }
    
                              leaf prefixes-not-sent-to-rib {
                                type uint32;
                                description
                                  "No. of prefixes not sent to RIB due to
    unsupported label stack size";
                              }
    
                              leaf prefixes-removed-from-rib {
                                type uint32;
                                description
                                  "No. of prefixes withdrawn from RIB";
                              }
    
                              leaf attributes-sent-to-rib {
                                type uint32;
                                description
                                  "No. of attributes sent to RIB";
                              }
    
                              leaf attributes-removed-from-rib {
                                type uint32;
                                description
                                  "No. of attributes withdrawn from RIB";
                              }
    
                              leaf attributes-recover-from-rib {
                                type uint32;
                                description
                                  "No. of attributes recovered from RIB";
                              }
    
                              leaf scanner-runs {
                                type uint32;
                                description
                                  "# of times scanner has run";
                              }
    
                              leaf scanner-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent running scanner (milliseconds)";
                              }
    
                              leaf rib-tbl-del-calls {
                                type uint32;
                                description
                                  "No. of rib update skipped on account of table
    delete";
                              }
    
                              leaf rib-tbl-invalid-calls {
                                type uint32;
                                description
                                  "No. of  rib update skipped due to table invalid";
                              }
    
                              leaf rib-tbl-skip-calls {
                                type uint32;
                                description
                                  "No. of rib update skipped";
                              }
    
                              leaf rib-tbl-local-label {
                                type uint32;
                                description
                                  "No. of rib update skipped. due to no local label";
                              }
    
                              leaf rib-tbl-retry {
                                type uint32;
                                description
                                  "No. of table rib retires.";
                              }
    
                              leaf time-last-update-sent {
                                type uint32;
                                units "second";
                                description
                                  "Time last update was sent (seconds since Jan 1
    1970)";
                              }
    
                              leaf is-rib-table-full {
                                type boolean;
                                description
                                  "Indicates if RIB table is in prefix-limit state";
                              }
    
                              leaf rib-table-full-version {
                                type uint32;
                                description
                                  "Version when RIB table became full (from
    non-full)";
                              }
    
                              leaf first-rib-table-full-version {
                                type uint32;
                                description
                                  "Version when RIB table was full for the first
    time";
                              }
    
                              leaf last-rib-table-full-version {
                                type uint32;
                                description
                                  "Version when RIB table was full for the last
    time";
                              }
    
                              leaf last-rib-table-full-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since RIB table was full for the last time
    (in seconds)";
                              }
    
                              leaf first-rib-table-has-space-version {
                                type uint32;
                                description
                                  "Version when RIB table had space for the first
    time";
                              }
    
                              leaf last-rib-table-has-space-version {
                                type uint32;
                                description
                                  "Version when RIB table had space for the last
    time";
                              }
    
                              leaf last-rib-table-has-space-age {
                                type uint32;
                                units "second";
                                description
                                  "Times since RIB table had space for the last
    time (in seconds)";
                              }
    
                              leaf rib-trigger {
                                type boolean;
                                description
                                  "Rib trigger enabled";
                              }
    
                              leaf vrf-flags {
                                type uint32;
                                description
                                  "VRF flags for debug display";
                              }
    
                              leaf label-calls {
                                type uint32;
                                description
                                  "No. of calls to label allocation processing
    function";
                              }
    
                              leaf label-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent running label processing
    (milliseconds)";
                              }
    
                              leaf label-rewrite-count {
                                type uint32;
                                description
                                  "Number of label rewrites created";
                              }
    
                              leaf label-release-count {
                                type uint32;
                                description
                                  "Number of labels released";
                              }
    
                              leaf label-added-count {
                                type uint32;
                                description
                                  "Number of labels requested";
                              }
    
                              leaf import-calls {
                                type uint32;
                                description
                                  "Number of calls to import processing function";
                              }
    
                              leaf import-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent in import processing (milliseconds)
    Note time accounted against source nets.";
                              }
    
                              leaf import-src-net-processed-count {
                                type uint32;
                                description
                                  "Number of source nets processed";
                              }
    
                              leaf import-dest-net-processed-count {
                                type uint32;
                                description
                                  "Number of destination nets processed";
                              }
    
                              leaf import-added-path-count {
                                type uint32;
                                description
                                  "Number of imported paths added";
                              }
    
                              leaf import-removed-path-count {
                                type uint32;
                                description
                                  "Number of imported paths removed";
                              }
    
                              leaf import-replaced-path-count {
                                type uint32;
                                description
                                  "Number of imported paths ";
                              }
    
                              leaf update-group-count {
                                type uint32;
                                description
                                  "No. of update group";
                              }
    
                              leaf subgroup-count {
                                type uint32;
                                description
                                  "No. of update subgroup";
                              }
                            }  // container vrf
                          }  // container performance-statistics
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family id";
                          }
    
                          leaf process-instance {
                            type uint8;
                            description
                              "ID for the BGP process instance";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf vrf-totals {
                            type boolean;
                            description
                              "per VRF information aggregated across all VRFs";
                          }
                        }  // container af-process-info
    
                        container path-used-table {
                          description
                            "The BGP Path Used Table";
                          list path {
                            description
                              "A BGP path table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address for the BGP neighbor";
                            }
    
                            leaf route-type {
                              type Bgp-route;
                              description
                                "Route Type";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list path
                        }  // container path-used-table
    
                        container bmp-path-table-generic {
                          description
                            "Summary Info about BMP Table";
                          container bmp-version-wrap-time-spec {
                            description
                              "Version Wrap timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-version-wrap-time-spec
    
                          container bmp-version-wrap-start-time-spec {
                            description
                              "Version Wrap handle start timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-version-wrap-start-time-spec
    
                          container bmp-version-wrap-done-time-spec {
                            description
                              "Version Wrap handle Done timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-version-wrap-done-time-spec
    
                          leaf bmp-route-monitoringe-enabled {
                            type boolean;
                            description
                              "Is Route Monitoring mode enabled";
                          }
    
                          leaf bmp-table-version {
                            type uint32;
                            description
                              "Table version";
                          }
    
                          leaf network-count {
                            type uint32;
                            description
                              "Number of nets in the table";
                          }
    
                          leaf path-count {
                            type uint32;
                            description
                              "Number of paths in the table";
                          }
    
                          leaf bmp-version-wrapped {
                            type uint32;
                            description
                              "Number of times Table Version Wrapped";
                          }
    
                          leaf bmp-version-wrapped-tid {
                            type uint32;
                            description
                              "Version Wrapped trigger thread id";
                          }
    
                          leaf bmp-version-inprogress {
                            type boolean;
                            description
                              "Is Version wrap in progress";
                          }
    
                          leaf bmp-version-incremented {
                            type boolean;
                            description
                              "Is Version being incremented";
                          }
                        }  // container bmp-path-table-generic
    
                        container rpc-sets {
                          description
                            "BGP next-hop set table";
                          list rpc-set {
                            key "rpc-set-index";
                            description
                              "A BGP next-hop set";
                            leaf rpc-set-index {
                              type uint32;
                              description
                                "Nexthop set index";
                            }
    
                            leaf next-hop-xr {
                              type uint32;
                              description
                                "Number of multipath next-hops";
                            }
    
                            leaf label {
                              type uint32;
                              description
                                "Label assigned to the RPCnext-hop set";
                            }
    
                            leaf ref-count {
                              type uint32;
                              description
                                "Reference for the count";
                            }
    
                            leaf srv6-sid-address {
                              type Ipv6-address;
                              description
                                "SRv6 SID address value";
                            }
    
                            leaf srv6-sid-address-len {
                              type uint32;
                              description
                                "SRv6 SID address Length";
                            }
    
                            leaf locator-format {
                              type uint32;
                              description
                                "Locator Format";
                            }
    
                            list next-hop {
                              description
                                "List of multipath next-hops";
                              container nexthop-addr {
                                description
                                  "List of multipath next-hops";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container nexthop-addr
    
                              leaf received-label {
                                type uint32;
                                description
                                  "Received labl for the path";
                              }
                            }  // list next-hop
                          }  // list rpc-set
                        }  // container rpc-sets
    
                        container global-af-process-info {
                          description
                            "The Global Address Family Process information
    table";
                          container global {
                            description
                              "Global information";
                            container rib-install {
                              description
                                "RIB install info";
                              container update-time {
                                description
                                  "The time taken for routing information base
    download ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container update-time
    
                              container install-time {
                                description
                                  "The time taken for the route installation ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container install-time
    
                              leaf installed-count {
                                type uint32;
                                description
                                  "Count of installed routes";
                              }
    
                              leaf modified-count {
                                type uint32;
                                description
                                  "Count of modified routes";
                              }
    
                              leaf skipped-count {
                                type uint32;
                                description
                                  "Count of skipped routes";
                              }
    
                              leaf withdrawn-count {
                                type uint32;
                                description
                                  "Count of withdrawn routes";
                              }
    
                              leaf start-version {
                                type uint32;
                                description
                                  "Start version of the BGP routing information
    base ";
                              }
    
                              leaf target-version {
                                type uint32;
                                description
                                  "Target version of BGProuting information
    baseupdate ";
                              }
                            }  // container rib-install
    
                            leaf scanner-period {
                              type uint16;
                              units "second";
                              description
                                "Period (in seconds) of address-family scanner
    runs";
                            }
    
                            leaf nh-tunnel-version {
                              type uint32;
                              description
                                "NH Tunnel Version";
                            }
    
                            leaf scan-prefixes {
                              type uint32;
                              description
                                "Total prefixes of address-family scanned";
                            }
    
                            leaf scan-segment-prefixes {
                              type uint32;
                              description
                                "Number of prefixes scanned in a segment of
    address-family";
                            }
    
                            leaf scan-segments {
                              type uint8;
                              description
                                "Number of segments to scan all prefixes of
    address-family";
                            }
    
                            leaf inter-as-install-enabled {
                              type boolean;
                              description
                                "Is inter-AS install to pim on ASBR enabled";
                            }
    
                            leaf global-mcast-enabled {
                              type boolean;
                              description
                                "Flag to indicate if global routing table
    multicast is enabled";
                            }
    
                            leaf segmented-mcast-enabled {
                              type boolean;
                              description
                                "Flag to indicate if BGP segmented multicast is
    enabled";
                            }
    
                            leaf gblafrpki-disable {
                              type boolean;
                              description
                                "Prefix validation disabled";
                            }
    
                            leaf gblafrpki-use-validity {
                              type boolean;
                              description
                                "Prefix v. use validity";
                            }
    
                            leaf gblafrpki-allow-invalid {
                              type boolean;
                              description
                                "Prefix v. allow invalid";
                            }
    
                            leaf gblafrpki-signal-ibgp {
                              type boolean;
                              description
                                "Prefix v. signal ibgp";
                            }
    
                            leaf update-wait-install-enabled {
                              type boolean;
                              description
                                "Flag to wait for installation update";
                            }
    
                            leaf rib-ack-requests {
                              type uint32;
                              description
                                "Counter for RIB ack requests";
                            }
    
                            leaf rib-acks-received {
                              type uint32;
                              description
                                "Counter for RIB ack received";
                            }
    
                            leaf rib-slow-acks {
                              type uint32;
                              description
                                "Counter for slow RIB acks";
                            }
    
                            leaf is-perm-net-cfg {
                              type boolean;
                              description
                                "Permanent Network Enabled";
                            }
    
                            leaf perm-net-del-count {
                              type uint16;
                              description
                                "Count of removed perm paths";
                            }
    
                            leaf perm-net-stale-del-count {
                              type uint16;
                              description
                                "Count of stale perm paths";
                            }
    
                            leaf perm-net-stale-mark-count {
                              type uint16;
                              description
                                "Count of stale marked perm paths";
                            }
    
                            leaf perm-net-insert-count {
                              type uint16;
                              description
                                "Count of inserted perm paths";
                            }
    
                            leaf perm-net-existing-count {
                              type uint16;
                              description
                                "Count of existing perm paths";
                            }
    
                            leaf perm-net-rpl-query-count {
                              type uint16;
                              description
                                "Count of perm nets given by RPL";
                            }
    
                            leaf perm-net-rpl-process-count {
                              type uint16;
                              description
                                "Count of perm nets processed in RPL";
                            }
    
                            leaf perm-nbr-count {
                              type uint16;
                              description
                                "Count of neighbors configured with perm net";
                            }
    
                            leaf rib-perm-pelem-not-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-perm-path-not-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-perm-pelem-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-reg-path-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf rib-perm-path-found-count {
                              type uint16;
                              description "";
                            }
    
                            leaf perm-pelem-free-count {
                              type uint16;
                              description
                                "Count of freed perm pelems";
                            }
    
                            leaf perm-path-refresh-count {
                              type uint16;
                              description
                                "Count of perm paths refreshed";
                            }
    
                            leaf perm-pelem-bump-count {
                              type uint16;
                              description
                                "Count of bumped perm pelems";
                            }
    
                            leaf perm-pelem-all-bump-count {
                              type uint16;
                              description
                                "Count of bumped perm pelems";
                            }
    
                            leaf af-srv6-sid-alloc-mode {
                              type uint32;
                              description
                                "SID alloc mode of SRv6 under AF";
                            }
    
                            leaf af-srv6-locator {
                              type string;
                              description
                                "SRv6 Locator Name under AF";
                            }
    
                            list syncgrp-version {
                              max-elements 2;
                              description
                                "Sync-group Version";
                              leaf entry {
                                type uint32;
                                description
                                  "Sync-group Version";
                              }
                            }  // list syncgrp-version
                          }  // container global
    
                          container vrf {
                            description
                              "VRF information";
                            leaf table-is-active {
                              type boolean;
                              description
                                "Table state is active";
                            }
    
                            leaf table-id {
                              type uint32;
                              description
                                "Table ID";
                            }
    
                            leaf def-orig-enabled {
                              type boolean;
                              description
                                "Default Orig enabled for a vrf afi";
                            }
    
                            leaf table-version {
                              type uint32;
                              description
                                "BGP global process table version info";
                            }
    
                            leaf rd-version {
                              type uint32;
                              description
                                "RD version";
                            }
    
                            leaf rib-version {
                              type uint32;
                              description
                                "Table version synced to RIB";
                            }
    
                            leaf nsr-conv-version {
                              type uint32;
                              description
                                "Cache for non stop routingcurrent table version";
                            }
    
                            leaf nsr-is-conv {
                              type boolean;
                              description
                                "NSR is converged";
                            }
    
                            leaf client-reflection-enabled {
                              type boolean;
                              description
                                "Flag to indicate if client-to-client reflection
    is enabled";
                            }
    
                            leaf dampening-enabled {
                              type boolean;
                              description
                                "Flag to enable BGP address-family dampening";
                            }
    
                            leaf ebgp-distance {
                              type uint16;
                              description
                                "Distance for eBGP routes (external)";
                            }
    
                            leaf ibgp-distance {
                              type uint16;
                              description
                                "Distance for iBGP routes (internal)";
                            }
    
                            leaf aggregates-distance {
                              type uint16;
                              description
                                "Dist for aggregate routes (local)";
                            }
    
                            leaf dynamic-med-enabled {
                              type boolean;
                              description
                                "Update generation enabled for MED change";
                            }
    
                            leaf dynamic-med-interval {
                              type uint16;
                              units "minute";
                              description
                                "Delay in update generation after a MED change
    (in minutes)";
                            }
    
                            leaf dynamic-med-timer-running {
                              type boolean;
                              description
                                "Flag to indicate if dynamic multi exit
    discriminator (MED) timer is running";
                            }
    
                            leaf dynamic-med-timer-value {
                              type uint16;
                              units "second";
                              description
                                "Dynamic MED timer value (in seconds) left on the
    timer";
                            }
    
                            leaf dynamic-med-periodic-timer-running {
                              type boolean;
                              description
                                "Dynamic multi exit discriminatorperiodic timer
    running";
                            }
    
                            leaf dynamic-med-periodic-timer-value {
                              type uint16;
                              units "second";
                              description
                                "Dynamic MED periodic timer value (in seconds)
    left on the timer";
                            }
    
                            leaf rib-has-converged {
                              type boolean;
                              description
                                "Received convergence notification from RIB";
                            }
    
                            leaf rib-convergence-version {
                              type uint32;
                              description
                                "Last convergence version received from RIB";
                            }
    
                            leaf is-rib-table-full {
                              type boolean;
                              description
                                "Indicates if RIB table is in prefix-limit state";
                            }
    
                            leaf rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table became full (from
    non-full)";
                            }
    
                            leaf nexthop-resolution-minimum-prefix-length-configured {
                              type boolean;
                              description
                                "Flag to indicate if nexthop resolution minimum
    prefix-length is configured";
                            }
    
                            leaf nexthop-resolution-minimum-prefix-length {
                              type uint32;
                              description
                                "Used to validate prefix-length of resolving
    route of nexthopsin BGP";
                            }
    
                            leaf ipv6-nexthop-resolution-minimum-prefix-length-configured {
                              type boolean;
                              description
                                "Flag to indicate if ipv6 nexthop resolution
    minimum prefix-length is configured";
                            }
    
                            leaf ipv6-nexthop-resolution-minimum-prefix-length {
                              type uint32;
                              description
                                "Used to validate prefix-length of resolving
    route of ipv6 nexthopsin BGP";
                            }
    
                            leaf selective-ebgp-multipath-enabled {
                              type boolean;
                              description
                                "Flag to indicate if the Selective option is
    configured with multipath external bgp";
                            }
    
                            leaf selective-ibgp-multipath-enabled {
                              type boolean;
                              description
                                "Flag to indicate if the Selective option is
    configured with multipath internal bgp";
                            }
    
                            leaf selective-eibgp-multipath-enabled {
                              type boolean;
                              description
                                "Flag to indicate if the Selective option is
    configured with multipath external internal bgp";
                            }
    
                            leaf rib-acked-table-version {
                              type uint32;
                              description
                                "Table version acked by RIB";
                            }
    
                            leaf vrf-srv6-sid-alloc-mode {
                              type uint32;
                              description
                                "SID alloc mode of SRv6 under Vrf";
                            }
    
                            leaf isvrf-srv6-enabled {
                              type boolean;
                              description
                                "SRv6 info under a Vrf";
                            }
    
                            leaf vrf-srv6-locator {
                              type string;
                              description
                                "SRv6 Locator Name under Vrf";
                            }
    
                            leaf vrf-all-srv6-locator {
                              type string;
                              description
                                "SRv6 Locator Name under Vrf All";
                            }
    
                            leaf vrf-all-srv6-sid-alloc-mode {
                              type uint32;
                              description
                                "SRv6 SID alloc mode under Vrf All";
                            }
    
                            leaf isvrfall-srv6-enabled {
                              type boolean;
                              description
                                "SRv6 info under a Vrf All";
                            }
    
                            leaf rpki-version {
                              type uint32;
                              description
                                "RPKI table version walked";
                            }
    
                            leaf rpki-soft-reconf-version {
                              type uint32;
                              description
                                "RPKI soft reconfiguration version walked";
                            }
                          }  // container vrf
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family id";
                          }
    
                          leaf is-nsr-enabled {
                            type boolean;
                            description
                              "Non-stop routing enabled";
                          }
                        }  // container global-af-process-info
    
                        container advertised-path-xr {
                          description
                            "The BGP Advertised path table (bestpath)";
                          list advertised-path {
                            description
                              "A BGP Advertised path table entry (bestpath)";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of BGP Neighbor";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list advertised-path
                        }  // container advertised-path-xr
    
                        container sourced-networks {
                          description
                            "The BGP Convergence table";
                          list sourced-network {
                            key "network";
                            description
                              "A BGP network command table entry";
                            leaf network {
                              type inet:ip-prefix;
                              description
                                "Network in prefix/length format";
                            }
    
                            container sourced-prefix {
                              description
                                "Prefix length";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container sourced-prefix
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf is-backdoor {
                              type boolean;
                              description
                                "TRUE if net is a backdoor route";
                            }
                          }  // list sourced-network
                        }  // container sourced-networks
    
                        container update-groups {
                          description
                            "The BGP Update group table";
                          list update-group {
                            description
                              "A BGP Update group table entry";
                            leaf update-group-id {
                              type uint32;
                              description
                                "A BGP Update group table entry index";
                            }
    
                            leaf filter-group-id {
                              type uint32;
                              description
                                " A BGP Filter group index";
                            }
    
                            container performance-statistics {
                              description
                                "Aggregated performance statisticsacross all VRFs
    belonging to theparent address family";
                              leaf update-generation-calls {
                                type uint32;
                                description
                                  "No. of calls to update generation function";
                              }
    
                              leaf update-generation-prefixes-count {
                                type uint32;
                                description
                                  "No. of prefixes updates generated for";
                              }
    
                              leaf update-generation-be-prefixes-count {
                                type uint32;
                                description
                                  "No. of be prefixes updates generated for";
                              }
    
                              leaf update-generation-messages-count {
                                type uint32;
                                description
                                  "No. of update messages generated";
                              }
    
                              leaf update-generation-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent generating updates (milliseconds)";
                              }
    
                              leaf updgen-timer-start-time {
                                type uint64;
                                description
                                  "Timestamp when update timer started for updgrp";
                              }
    
                              leaf updgen-timer-stop-time {
                                type uint64;
                                description
                                  "Timestamp when update timer stopped for updgrp";
                              }
    
                              leaf updgen-timer-process-time {
                                type uint64;
                                description
                                  "Timestamp when update timer processed for updgrp";
                              }
    
                              list not-advertised-stat {
                                max-elements
                                  35;
                                description
                                  "Not Advertised Statistics";
                                container last-updated-time {
                                  description
                                    "Last update time";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-updated-time
    
                                leaf not-advertised-count {
                                  type uint32;
                                  description
                                    "Not advertised count";
                                }
                              }  // list not-advertised-stat
                            }  // container performance-statistics
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "Instance ID of the BGP processwhere the path
    originated";
                            }
    
                            leaf session-af-name {
                              type uint8;
                              description
                                "Neighbor session Address family";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family for update group";
                            }
    
                            leaf should-send-communities {
                              type boolean;
                              description
                                "Send communities";
                            }
    
                            leaf should-send-ext-communities {
                              type boolean;
                              description
                                "Send Extended communities";
                            }
    
                            leaf should-send-stitching-rt {
                              type boolean;
                              description
                                "Send Stitching RT";
                            }
    
                            leaf has-orf-receive-capability {
                              type boolean;
                              description
                                "ORF receive capability";
                            }
    
                            leaf is-route-reflector-client {
                              type boolean;
                              description
                                "Flag to indicate if peers in this update group
    are route-reflector clients";
                            }
    
                            leaf is-client-reflection-disabled {
                              type boolean;
                              description
                                "True if client-to-client reflection is disabled ";
                            }
    
                            leaf accepts-legacy-pe-rt-route {
                              type boolean;
                              description
                                "Flag to indicate if provider edge device as a
    legacy for the route target";
                            }
    
                            leaf updgrp-cluster-id {
                              type uint32;
                              description
                                "Cluster ID (populated ifclient-to-client
    reflectionis disabled)";
                            }
    
                            leaf updgrp-cluster-type {
                              type uint8;
                              description
                                "Cluster ID type:undefined/number/Ip address";
                            }
    
                            leaf orr-group-name {
                              type string;
                              description
                                "ORR Group Name";
                            }
    
                            leaf orr-group-index {
                              type uint32;
                              description
                                "ORR Group Index";
                            }
    
                            leaf is-orr-root-address-configured {
                              type boolean;
                              description
                                "ORR Root address configuredfor the neighbor
    connection";
                            }
    
                            leaf should-remove-private-a-ss {
                              type boolean;
                              description
                                "Remove private AS numbers";
                            }
    
                            leaf should-remove-private-as-ent-path {
                              type boolean;
                              description
                                "Remove private AS numbersif the entire path
    consistsof private ASes";
                            }
    
                            leaf use-next-hop-self {
                              type boolean;
                              description
                                "Next hop self";
                            }
    
                            leaf use-next-hop-unchanged-mpath {
                              type boolean;
                              description
                                "This update group have
    next-hop-unchangedmultipath configured";
                            }
    
                            leaf is-internal-peers {
                              type boolean;
                              description
                                "Peers in this update groupare internal";
                            }
    
                            leaf is-common-admin-peers {
                              type boolean;
                              description
                                "Flag to indicate if peers are undercommon
    administration in BGP update group";
                            }
    
                            leaf is4-byte-as-peer {
                              type boolean;
                              description
                                "4-byte AS capable peers";
                            }
    
                            leaf is-addpath-capable {
                              type boolean;
                              description
                                "Add-path capable peers";
                            }
    
                            leaf is-send-mcast-attr-enabled {
                              type boolean;
                              description
                                "Flag to indicate if protocol independent
    multicast attributes are sent in this update
    group";
                            }
    
                            leaf is-aigp-capable {
                              type boolean;
                              description
                                "AIGP capable peers";
                            }
    
                            leaf is-aigp-cost-community-capable {
                              type boolean;
                              description
                                "Send AIGP cost community to peers";
                            }
    
                            leaf is-aigp-med-capable {
                              type boolean;
                              description
                                "Send AIGP cost in MED";
                            }
    
                            leaf is-llgr-capable {
                              type boolean;
                              description
                                "Send Long-lived Stale paths";
                            }
    
                            leaf is-adv-capable {
                              type boolean;
                              description
                                "Send tranlsated paths";
                            }
    
                            leaf is-adv-reorg-capable {
                              type boolean;
                              description
                                "Send Re-orig paths";
                            }
    
                            leaf disable-native-advertisement {
                              type boolean;
                              description
                                "Disable advertising native routes";
                            }
    
                            leaf disable-def-vrf-imp-advertisement {
                              type boolean;
                              description
                                "Disable advertising default VRF  imported routes";
                            }
    
                            leaf disable-vrf-re-imp-advertisement {
                              type boolean;
                              description
                                "Disable advertising VRF re-imported routes";
                            }
    
                            leaf encapsulation-type {
                              type uint32;
                              description
                                "BGP update group encapsulation type";
                            }
    
                            leaf advertise-rt-type {
                              type uint8;
                              description
                                "BGP update group toadvertise route target type";
                            }
    
                            leaf is-directly-connected-ebgp-v6-peers {
                              type boolean;
                              description
                                "Flag to indicate an update group is directly
    connected eBGP peers";
                            }
    
                            leaf minimum-advertisement-interval {
                              type uint32;
                              units "second";
                              description
                                "Minimum advert time for peers in this
    update-group in seconds";
                            }
    
                            leaf minimum-advertisement-interval-msecs {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Minimum advert time for peers inthis update
    group in milliseconds";
                            }
    
                            leaf local-as {
                              type uint32;
                              description
                                "Local AS number";
                            }
    
                            leaf route-policy-out {
                              type string;
                              description
                                "Outbound route policy name";
                            }
    
                            leaf desync-count {
                              type uint32;
                              description
                                "Number of times the update has been
    desynchronized";
                            }
    
                            leaf subgrp-merge-count {
                              type uint32;
                              description
                                "Number of times sub-groups have been merged";
                            }
    
                            leaf refresh-subgrp-count {
                              type uint32;
                              description
                                "Current count of refresh subgroups";
                            }
    
                            leaf updates-formatted {
                              type uint32;
                              description
                                "Number of updates formatted";
                            }
    
                            leaf updates-replicated {
                              type uint32;
                              description
                                "Number of updates replicatedfor BGP update group";
                            }
    
                            leaf local-as-replace-as {
                              type boolean;
                              description
                                "Local AS Replace-AS option";
                            }
    
                            leaf as-override {
                              type boolean;
                              description
                                "AS Override option";
                            }
    
                            leaf soo-value {
                              type string;
                              description
                                "Site-of-origin value";
                            }
    
                            leaf split-horizon {
                              type boolean;
                              description
                                "Split horizon check";
                            }
    
                            leaf is-labeled-afi-enabled {
                              type boolean;
                              description
                                "Update group has labeled AFI enabled";
                            }
    
                            leaf is-unlabeled-afi-enabled {
                              type boolean;
                              description
                                "Update group has unlabeled AFI enabled";
                            }
    
                            leaf ext-nh-encoding {
                              type boolean;
                              description
                                "Extended nexthop encoding cap received";
                            }
    
                            leaf remote-as {
                              type uint32;
                              description
                                "Remote AS number";
                            }
    
                            leaf is-adv-perm-net-capable {
                              type boolean;
                              description
                                "Advertise Permanent-Net capable peers";
                            }
    
                            leaf should-send-gshut-community {
                              type boolean;
                              description
                                "Send GSHUT community";
                            }
    
                            leaf gshut-active {
                              type boolean;
                              description
                                "GSHUT active";
                            }
    
                            leaf gshut-locpref-set {
                              type boolean;
                              description
                                "GSHUT local preference set";
                            }
    
                            leaf gshut-locpref {
                              type uint32;
                              description
                                "GSHUT local preference";
                            }
    
                            leaf gshut-prepends {
                              type uint8;
                              description
                                "GSHUT AS prepends";
                            }
    
                            leaf advertise-local-labeled-route-unicast {
                              type boolean;
                              description
                                "Advertise routes with local-label via Unicast
    SAFI";
                            }
    
                            leaf enable-label-stack {
                              type boolean;
                              description
                                "Enable BGP upgrade group label stack";
                            }
    
                            leaf contains-slow-peer {
                              type boolean;
                              description
                                "This update group contains slow peers";
                            }
    
                            list neighbor {
                              description
                                "Neighbors in this update group which are not in
    any sub-group";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // list neighbor
    
                            list update-sub-group {
                              description
                                "List of child refresh subgroups inBGP update
    group";
                              leaf update-sub-group-number {
                                type uint32;
                                description
                                  "Update sub-group index";
                              }
    
                              leaf filter-group {
                                type uint16;
                                description
                                  "Update sub-group fgrp-num";
                              }
    
                              leaf wait-for-eo-rs {
                                type boolean;
                                description
                                  "Wait for  RT Nbr EoRs";
                              }
    
                              list update-filter-group {
                                description
                                  "Update f-group list";
                                leaf update-filter-group-number {
                                  type uint32;
                                  description
                                    "Update sub-group index";
                                }
    
                                leaf rts {
                                  type uint32;
                                  description
                                    "RT count per filter group";
                                }
    
                                leaf fgroup-flags {
                                  type uint8;
                                  description
                                    "Flags per filter group";
                                }
    
                                leaf fgroup-neighbors {
                                  type uint16;
                                  description
                                    "Nbrs per filter group";
                                }
    
                                leaf fgroup-created-message-elements {
                                  type uint32;
                                  description
                                    "Number of message elems created for filtergroup";
                                }
    
                                leaf fgroup-deleted-message-elements {
                                  type uint32;
                                  description
                                    "Number of message elems deleted";
                                }
    
                                leaf fgroup-queued-message-elements {
                                  type uint32;
                                  description
                                    "Number of message elems queued";
                                }
    
                                leaf fgroup-advertised-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes advertised to filtergroup in
    last update walk";
                                }
    
                                leaf fgroup-total-advertised-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes advertised to filtergroup in
    all update walk";
                                }
    
                                leaf fgroup-withdrawn-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes withdrawn f`rom filtergroupin
    last update walk";
                                }
    
                                leaf fgroup-total-withdrawn-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes withdrawn f`rom filtergroupin
    all update walk";
                                }
    
                                leaf fgroup-total-non-optimised-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes  non-optm from filtergroupin
    all update walk";
                                }
    
                                leaf fgroup-skipped-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes skipped for filtergroup in
    last update walk";
                                }
    
                                leaf fgroup-suppressed-prefixes {
                                  type uint32;
                                  description
                                    "Number of prefixes suppressed for filtergroup in
    last update walk";
                                }
    
                                leaf is-rt-present {
                                  type boolean;
                                  description
                                    "RT attribute list present";
                                }
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list neighbor {
                                  description
                                    "Neighbors in this update sub-group";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // list neighbor
                              }  // list update-filter-group
    
                              list neighbor {
                                description
                                  "Neighbors in this subgrp not in any filtergrp";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // list neighbor
                            }  // list update-sub-group
                          }  // list update-group
                        }  // container update-groups
    
                        container update-generation-sub-groups {
                          description
                            "The BGP Update generate entries  for all
    sub-groups";
                          list update-generation-sub-group {
                            description
                              "A BGP Update generate table entry for
    sub-group";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "A BGP Update Group Entry index";
                            }
    
                            leaf sub-group-index {
                              type uint32;
                              description
                                "A BGP Update Sub group Table index";
                            }
    
                            leaf sub-group-id {
                              type uint32;
                              description
                                "A BGP Update Sub group table ID";
                            }
    
                            container creation-timestamp {
                              description
                                "Creation time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container creation-timestamp
    
                            container last-merge-timestamp {
                              description
                                "Last merge time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-merge-timestamp
    
                            container first-update-walk-start-timestamp {
                              description
                                "BGP update generation sub-group start time for
    the first update walk";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-walk-start-timestamp
    
                            container first-update-walk-end-timestamp {
                              description
                                "BGP update generation sub-group end time for
    thefirst update walk";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-walk-end-timestamp
    
                            container last-update-walk-start-timestamp {
                              description
                                "BGP update generation sub-group start for
    thelast update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-walk-start-timestamp
    
                            container last-update-walk-end-timestamp {
                              description
                                "BGP update generation sub-group end time for
    thelast update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-walk-end-timestamp
    
                            container last-update-queued-timestamp {
                              description
                                "Time when last update queued event";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-queued-timestamp
    
                            container update-statistics {
                              description
                                "BGP subgroup statistics update";
                              container last-update-discard-timestamp {
                                description
                                  "Last Discarded time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-discard-timestamp
    
                              container last-update-cleared-timestamp {
                                description
                                  "Last Cleared time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-cleared-timestamp
    
                              container last-update-throttle-timestamp {
                                description
                                  "Last Throttled time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-throttle-timestamp
    
                              container last-update-recovery-timestamp {
                                description
                                  "Last Recovery time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-recovery-timestamp
    
                              container last-update-memory-allocation-fail-timestamp {
                                description
                                  "Memory allocation failure time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-memory-allocation-fail-timestamp
    
                              leaf update-out-queue-messages-high {
                                type uint32;
                                description
                                  "OutQueue High Messages";
                              }
    
                              leaf update-out-queue-messages-cumulative {
                                type uint32;
                                description
                                  "OutQueue Cumulative Messages";
                              }
    
                              leaf update-out-queue-messages-discarded {
                                type uint32;
                                description
                                  "OutQueue Discarded Messages";
                              }
    
                              leaf update-out-queue-messages-cleared {
                                type uint32;
                                description
                                  "OutQueue Cleared Messages";
                              }
    
                              leaf update-out-queue-size-high {
                                type uint32;
                                description
                                  "OutQueue Hi Size";
                              }
    
                              leaf update-out-queue-size-cumulative {
                                type uint64;
                                description
                                  "OutQueue Cumulative Size";
                              }
    
                              leaf update-out-queue-size-discarded {
                                type uint64;
                                description
                                  "OutQueue Discarded Size";
                              }
    
                              leaf update-out-queue-size-cleared {
                                type uint64;
                                description
                                  "OutQueue Cleared Size";
                              }
    
                              leaf last-update-discard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Discard event (in seconds)";
                              }
    
                              leaf last-update-cleard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Clear event (in seconds)";
                              }
    
                              leaf update-throttle-count {
                                type uint32;
                                description
                                  "Throttle Count";
                              }
    
                              leaf last-update-throttle-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Throttle event (in seconds)";
                              }
    
                              leaf update-recovery-count {
                                type uint32;
                                description
                                  "Recovery Count";
                              }
    
                              leaf last-update-recovery-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Recovery event (in seconds)";
                              }
    
                              leaf update-memory-allocation-fail-count {
                                type uint32;
                                description
                                  "Number of times there was failure when
    allocatingmemory for BGP update generation";
                              }
    
                              leaf last-update-memory-allocation-fail-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last memory allocation failure event
    (in seconds)";
                              }
                            }  // container update-statistics
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf sub-group-index-xr {
                              type uint32;
                              description
                                "Index for BGP sub-group";
                            }
    
                            leaf sub-group-id-xr {
                              type uint32;
                              description
                                "Sub-group ID";
                            }
    
                            leaf parent-sub-group-index {
                              type uint32;
                              description
                                "Index of the  parent sub-group";
                            }
    
                            leaf parent-sub-group-id {
                              type uint32;
                              description
                                "Parent Sub-group identifier";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "Index of the this BGp update group";
                            }
    
                            leaf update-main-table-version {
                              type uint32;
                              description
                                "Main table version";
                            }
    
                            leaf update-vrf-table-rib-version {
                              type uint32;
                              description
                                "VRF Table RIB version";
                            }
    
                            leaf current-update-limit-sub-group {
                              type uint32;
                              description
                                "Current update limit";
                            }
    
                            leaf configured-update-limit-sub-group {
                              type uint32;
                              description
                                "Configured update limit";
                            }
    
                            leaf update-out-queue-messages {
                              type uint32;
                              description
                                "OutQueue messages";
                            }
    
                            leaf update-out-queue-size {
                              type uint32;
                              description
                                "OutQueue size";
                            }
    
                            leaf update-throttled {
                              type boolean;
                              description
                                "Flag to verify update throttled in BGPupdate
    generation sub-group";
                            }
    
                            leaf refresh-sub-group-count {
                              type uint32;
                              description
                                "Number of times BGP Update generation
    sub-grouprefreshed";
                            }
    
                            leaf filter-group-count {
                              type uint32;
                              description
                                "Number of filter groups are present in BGPupdate
    generation";
                            }
    
                            leaf neighbor-count {
                              type uint32;
                              description
                                "Number of neighbors in the sub-group";
                            }
    
                            leaf version {
                              type uint32;
                              description
                                "Version up to which we have generated updatesfor
    the entity";
                            }
    
                            leaf nsr-version {
                              type uint32;
                              description
                                "NSR version";
                            }
    
                            leaf pending-target-version {
                              type uint32;
                              description
                                "Target version for pending update generation";
                            }
    
                            leaf next-resume-version {
                              type uint32;
                              description
                                "Version number identifying the next net
    toprocess when an attribute table walk has been
    interrupted";
                            }
    
                            leaf update-refresh-target-version {
                              type uint32;
                              description
                                "Target version for update generation in response
    to arefresh request";
                            }
    
                            leaf io-write-event-pending {
                              type boolean;
                              description
                                "Flag for an event has been sent to the IO thread";
                            }
    
                            leaf merge-count {
                              type uint32;
                              description
                                "Number of times BGP update sub-groups have been
    merged";
                            }
    
                            leaf last-merged-sub-group-index {
                              type uint32;
                              description
                                "BGP subgroup index merge happened last time";
                            }
    
                            leaf eo-r-attempted {
                              type boolean;
                              description
                                "Sending EoR has been attempted";
                            }
    
                            leaf last-update-walk-end-age {
                              type uint32;
                              description
                                "Time since last update walk end event";
                            }
    
                            leaf last-update-queued-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last update queued event (in seconds)";
                            }
                          }  // list update-generation-sub-group
                        }  // container update-generation-sub-groups
    
                        container next-hop-address-families {
                          description
                            "Address family of nexthop table";
                          list next-hop-address-family {
                            key "next-hop-af-name";
                            description
                              "Address family of a nexthop entry";
                            container next-hop-af-vrf-af {
                              description
                                "A BGP Next-hop VRF AF table entry";
                              container performance-statistics {
                                description
                                  "BGP next hop virtual routingand forwarding
    performancestatistics";
                                leaf critical-notf-count {
                                  type uint32;
                                  description
                                    "Number of critical event notifications from RIB";
                                }
    
                                leaf noncritical-notf-count {
                                  type uint32;
                                  description
                                    "Number of non-critical event notifications from
    RIB";
                                }
    
                                leaf last-notf-bestpath-deletes {
                                  type uint32;
                                  description
                                    "Number of bestpath deletes due to last
    notification";
                                }
    
                                leaf last-notf-bestpath-changes {
                                  type uint32;
                                  description
                                    "Number of bestpath changes due to last
    notification";
                                }
    
                                leaf nh-sync-reg-calls {
                                  type uint32;
                                  description
                                    "NH sync register calls";
                                }
    
                                leaf nha-sync-reg-calls {
                                  type uint32;
                                  description
                                    "NH async register calls";
                                }
    
                                leaf nha-sync-un-reg-calls {
                                  type uint32;
                                  description
                                    "NH async unregister calls";
                                }
    
                                leaf nh-pending-registrations {
                                  type uint32;
                                  description
                                    "NH Registration List Count";
                                }
    
                                leaf nh-peak-registrations {
                                  type uint32;
                                  description
                                    "NH Registration List Count Peak";
                                }
    
                                leaf nh-batch-finish-calls {
                                  type uint32;
                                  description
                                    "Count of the batch finish calls for next hop";
                                }
    
                                leaf nh-flush-timer-calls {
                                  type uint32;
                                  description
                                    "Count of the flush timer calls for net hop";
                                }
    
                                leaf nh-last-sync-reg-ts {
                                  type uint32;
                                  description
                                    "NH Last sync Register TS";
                                }
    
                                leaf nh-last-a-sync-reg-ts {
                                  type uint32;
                                  description
                                    "NH Last async Register TS";
                                }
    
                                leaf nh-last-a-sync-un-reg-ts {
                                  type uint32;
                                  description
                                    "NH Last async UnRegister TS";
                                }
    
                                leaf nh-last-batch-finish-ts {
                                  type uint32;
                                  description
                                    "NH Last batch finish TS";
                                }
    
                                leaf nh-last-flush-timer-ts {
                                  type uint32;
                                  description
                                    "NH Last flush timer TS";
                                }
    
                                leaf nhrib-update-calls {
                                  type uint32;
                                  description
                                    "No. of calls to RIB update function";
                                }
    
                                leaf nhrib-update-time {
                                  type uint32;
                                  units
                                    "millisecond";
                                  description
                                    "Time spent sending RIB updates (milliseconds)";
                                }
    
                                leaf nexthops-sent-to-rib {
                                  type uint32;
                                  description
                                    "No. of nexthops sent to RIB";
                                }
    
                                leaf nexthops-resent-to-rib {
                                  type uint32;
                                  description
                                    "No. of nexthops re-sent to RIB";
                                }
    
                                leaf nexthops-removed-from-rib {
                                  type uint32;
                                  description
                                    "No. of nexthops withdrawn from RIB";
                                }
    
                                leaf rib-sync-registers-failed {
                                  type uint32;
                                  description
                                    "No. of sync registers with RIB that failed";
                                }
    
                                leaf riba-sync-registers-failed {
                                  type uint32;
                                  description
                                    "No. of async registers with RIB that failed";
                                }
    
                                leaf ribnh-reg-failed-for-no-tbl-id {
                                  type uint32;
                                  description
                                    "No. of nh registers failed because of no tbl-id";
                                }
    
                                leaf ribnh-reg-failed-for-no-rib-conn {
                                  type uint32;
                                  description
                                    "No. of nh registers failed because of no rib
    conn";
                                }
    
                                leaf tunnel-walk-nh-not-found {
                                  type uint32;
                                  description
                                    "No. of times nexthop was not found during tunnel
    walk";
                                }
    
                                leaf tunnel-walk-gw-not-found {
                                  type uint32;
                                  description
                                    "No. of times gw was not found during tunnel walk";
                                }
    
                                leaf tunnel-walk-backup-creates {
                                  type uint32;
                                  description
                                    "No. of times backup tid created during tunnel
    walk";
                                }
                              }  // container performance-statistics
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf gwaf-name {
                                type Bgp-afi;
                                description
                                  "GW Address family identifier";
                              }
    
                              leaf total-nexthops {
                                type uint32;
                                description
                                  "Total number of nexthops";
                              }
    
                              leaf critical-trigger-delay {
                                type uint32;
                                description
                                  "Trigger delay for critical event processing";
                              }
    
                              leaf non-critical-trigger-delay {
                                type uint32;
                                description
                                  "Trigger delay for non-critical event processing";
                              }
    
                              leaf table-active {
                                type boolean;
                                description
                                  "Whether the VRF is active";
                              }
    
                              leaf nh-rib-up {
                                type boolean;
                                description
                                  "Whether the VRF is active";
                              }
    
                              leaf nh-rib-version {
                                type uint32;
                                description
                                  "RIB version for gw_ctx";
                              }
    
                              leaf nh-nexthop-version {
                                type uint32;
                                description
                                  "NH version for gw_ctx";
                              }
    
                              leaf nh-table-id {
                                type uint32;
                                description
                                  "Gateway context table id";
                              }
    
                              leaf epe-table-version {
                                type uint32;
                                description
                                  "Version of the EPE table";
                              }
    
                              leaf epe-label-version {
                                type uint32;
                                description
                                  "Version of the EPE label walk";
                              }
    
                              leaf epe-downloaded-version {
                                type uint32;
                                description
                                  "Version of the EPE table downloaded";
                              }
    
                              leaf epe-standby-version {
                                type uint32;
                                description
                                  "Version of the EPE table processed by sync
    thread";
                              }
                            }  // container next-hop-af-vrf-af
    
                            container next-hop-afs {
                              description
                                "The BGP Next-hop table";
                              list next-hop-af {
                                description
                                  "A BGP Next hop entry";
                                leaf next-hop-address {
                                  type inet:ip-address-no-zone;
                                  description
                                    "IP address of Next hop Entry";
                                }
    
                                leaf attribute-set {
                                  type xr:Cisco-ios-xr-string;
                                  description
                                    "Attribute Set Name";
                                }
    
                                container nexthop-address {
                                  description
                                    "IP address of nexthop in BGP";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container nexthop-address
    
                                container nh-tunnel {
                                  description
                                    "NH tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container nexthop-internal-info {
                                  description
                                    "Internal nexthop info";
                                  container nexthop-address {
                                    description
                                      "IP address of the next hop in BGP";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container nexthop-address
    
                                  leaf nexthop-id {
                                    type uint32;
                                    description
                                      "Comm librray ID";
                                  }
    
                                  leaf nexthop-version {
                                    type uint32;
                                    description
                                      "Table version";
                                  }
    
                                  leaf nexthop-flags {
                                    type uint32;
                                    description
                                      "Flags associated with the next hop address in
    BGP";
                                  }
    
                                  leaf nexthop-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle associated with the next hop
    address in BGP";
                                  }
    
                                  leaf nexthop-af-user-bits {
                                    type uint32;
                                    description
                                      "Bitmask indicating the AFs which share the
    nexthop";
                                  }
    
                                  leaf nexthop-label {
                                    type uint32;
                                    description
                                      "Label associated with the next hop address";
                                  }
    
                                  leaf gateway-flags {
                                    type uint32;
                                    description
                                      "BGP nexthop gateway flags";
                                  }
    
                                  list nexthop-metrice {
                                    description
                                      "Metrices associated with the next hop address in
    
    BGP";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Metrices associated with the next hop address in
    
    BGP";
                                    }
                                  }  // list nexthop-metrice
    
                                  list nexthop-refcount {
                                    description
                                      "reference counts for the next hop";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "reference counts for the next hop";
                                    }
                                  }  // list nexthop-refcount
    
                                  list nexthop-gateway-internal-info {
                                    description
                                      "Internal nexthop Gateway info";
                                    leaf gateway-flags {
                                      type uint32;
                                      description
                                        "Flags in BGP gateway next hop";
                                    }
    
                                    leaf registration-type {
                                      type Bgp-nh-validate;
                                      description
                                        "Registration type for next hop";
                                    }
    
                                    leaf registration-since {
                                      type uint32;
                                      description
                                        "Time since registration";
                                    }
                                  }  // list nexthop-gateway-internal-info
                                }  // container nexthop-internal-info
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Address family identifier";
                                }
    
                                leaf rib-nexthop-id {
                                  type uint32;
                                  description
                                    "RIB Nexthop Id";
                                }
    
                                leaf nexthop-pending-registration {
                                  type uint8;
                                  description
                                    "Nexthop registration is pending";
                                }
    
                                leaf nexthop-reference-count {
                                  type uint32;
                                  description
                                    "Count of neighbors/prefixes referencing this
    nexthop";
                                }
    
                                leaf nh-reference-count-total {
                                  type uint32;
                                  description
                                    "Count of neighbors/prefixes referencing this
    nexthop (AFs)";
                                }
    
                                leaf nh-first-hop-if-handle {
                                  type xr:Interface-name;
                                  description
                                    "First-hop interface handle";
                                }
    
                                leaf nexthop-aigp-metric {
                                  type uint32;
                                  description
                                    "AIGP metrice of nexthop";
                                }
    
                                leaf nexthop-gateway-reachable {
                                  type boolean;
                                  description
                                    "Flag to indicate if Gateway is reachable";
                                }
    
                                leaf nexthop-gateway-prefix-connected {
                                  type boolean;
                                  description
                                    "Flag to indicate if Gateway resolved through
    Connected route";
                                }
    
                                leaf nexthop-gateway-prefix-length {
                                  type uint32;
                                  description
                                    "Gateway prefix length";
                                }
    
                                list nexthop-gateway-info {
                                  description
                                    "Gateway related info, including Optimal Route
    Reflector Gateways";
                                  container nexthop-route {
                                    description
                                      "Route resolving the nexthop";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container nexthop-route
    
                                  leaf nexthop-route-prefix-length {
                                    type uint8;
                                    description
                                      "Prefix length of the route resolving the nexthop";
                                  }
    
                                  leaf nexthop-route-protocol {
                                    type string;
                                    description
                                      "Protocol that resolves the route to the nexthop";
                                  }
    
                                  leaf nexthop-route-path-count {
                                    type uint32;
                                    description
                                      "Count of paths in the resolving route";
                                  }
    
                                  leaf nexthop-af-invalid-bits {
                                    type uint16;
                                    description
                                      "Bitmask indicating the address-family which have
    been invalidated for the nexthop";
                                  }
    
                                  leaf nexthop-status {
                                    type uint8;
                                    description
                                      "Status of the next hop address";
                                  }
    
                                  leaf nexthop-tableid {
                                    type uint64;
                                    description
                                      "BGP gateway neighbor route table id";
                                  }
    
                                  leaf nexthop-metric {
                                    type uint32;
                                    description
                                      "IGP metric for nexthop";
                                  }
    
                                  leaf orrafi-used-bits {
                                    type uint32;
                                    description
                                      "ORR afi bits";
                                  }
    
                                  leaf last-event-type {
                                    type Bgp-nh-event;
                                    description
                                      "Last nexthop event type";
                                  }
    
                                  leaf last-update-type {
                                    type Bgp-nh-update;
                                    description
                                      "Last nexthop update type";
                                  }
    
                                  leaf critical-events {
                                    type uint32;
                                    description
                                      "Count of critical events received from RIB";
                                  }
    
                                  leaf non-critical-events {
                                    type uint32;
                                    description
                                      "Count of non-critical events received from RIB";
                                  }
    
                                  leaf last-event-since {
                                    type uint32;
                                    description
                                      "Time since the last event sent to or received
    from RIB";
                                  }
    
                                  leaf last-rib-update {
                                    type uint32;
                                    description
                                      "Time since the last rib update happened";
                                  }
    
                                  leaf nexthop-mpls-enabled {
                                    type boolean;
                                    description
                                      "TRUE if MPLS is configured for IAS/CsC
    application";
                                  }
    
                                  leaf nexthop-mpls-interfaces {
                                    type uint32;
                                    description
                                      "Count of interfaces on which MPLS is enabled";
                                  }
    
                                  leaf nexthop-mpls-label {
                                    type uint32;
                                    description
                                      "Local label allocated for IAS/CsC application";
                                  }
    
                                  list nexthop-route-path {
                                    description
                                      "Nexthop paths of the resolving route";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // list nexthop-route-path
                                }  // list nexthop-gateway-info
    
                                list neighbor-address {
                                  description
                                    "Neighbor Address List";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // list neighbor-address
                              }  // list next-hop-af
                            }  // container next-hop-afs
    
                            leaf next-hop-af-name {
                              type dt1:Bgp-address-family;
                              description
                                "Address family";
                            }
                          }  // list next-hop-address-family
                        }  // container next-hop-address-families
    
                        container rt-set-counters {
                          description
                            "The RT-set counter table";
                          list rt-set-counter {
                            key "rt-set-id";
                            description
                              "One RT-set counter table entry";
                            leaf rt-set-id {
                              type uint32;
                              description
                                "Identifier of RTSet";
                            }
    
                            container route-target-set {
                              description
                                "BGP route target set";
                              leaf rt-set-len {
                                type uint8;
                                units "byte";
                                description
                                  "Length in bytes of set of route targets";
                              }
    
                              leaf rt-set-id {
                                type uint32;
                                description
                                  "Identifier of the rtset";
                              }
    
                              leaf rt-set-net-count {
                                type uint32;
                                description
                                  "Count of nets with paths with the rtset";
                              }
    
                              list rt-set {
                                description
                                  "Set of route targets";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Set of route targets";
                                }
                              }  // list rt-set
                            }  // container route-target-set
                          }  // list rt-set-counter
                        }  // container rt-set-counters
    
                        container bmp-paths {
                          description
                            "The paths in BMP Table";
                          list bmp-path {
                            key "network";
                            description
                              "A BMP path table entry";
                            leaf network {
                              type inet:ip-prefix;
                              description
                                "Network in prefix/length format";
                            }
    
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container version-timestamp {
                              description
                                "Net Version bump timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-timestamp
    
                            container version-age {
                              description
                                "Net Version bump age";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-age
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf bmp-net-flags {
                              type uint32;
                              description
                                "Flags associated with net";
                            }
    
                            leaf bmp-net-version {
                              type uint32;
                              description
                                "Net's version";
                            }
    
                            leaf num-of-path {
                              type uint32;
                              description
                                "Number of path for the net";
                            }
    
                            leaf has-local-label {
                              type boolean;
                              description
                                "Flag to indicate if local label is present in
    netbag";
                            }
    
                            leaf net-local-label {
                              type uint32;
                              description
                                "Local label";
                            }
    
                            list bmp-path {
                              description
                                "List of paths under the BMP net";
                              container neighbor-address {
                                description
                                  "BGP monitoring protocolip address of neighbor";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf bmp-path-flags {
                                type uint32;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf bmp-path-adv-bit-map {
                                type uint16;
                                description
                                  "Path's Adv bit map";
                              }
    
                              leaf bmp-path-snd-bit-map {
                                type uint16;
                                description
                                  "Path's pending snd bit map";
                              }
    
                              leaf bmp-nbr-bit-map {
                                type uint32;
                                description
                                  "Paths Nbr bmp bit map";
                              }
    
                              leaf local-path {
                                type boolean;
                                description
                                  "Is path originated locally?";
                              }
    
                              leaf bpath-pointer {
                                type uint64;
                                description
                                  "BGP Path pointer";
                              }
    
                              list received-label {
                                description
                                  "Set of received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Set of received label stack";
                                }
                              }  // list received-label
                            }  // list bmp-path
                          }  // list bmp-path
                        }  // container bmp-paths
    
                        container update-generation-update-groups {
                          description
                            "The BGP Update generate entries for all
    update-groups";
                          list update-generation-update-group {
                            key "update-group-index";
                            description
                              "A BGP Update Generate Group Entry";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Update group index of the update-group table";
                            }
    
                            container last-update-timer-start-timestamp {
                              description
                                "Start timer update for the last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-start-timestamp
    
                            container last-update-timer-stop-timestamp {
                              description
                                "Timer stop time for the last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-stop-timestamp
    
                            container last-update-timer-expiry-timestamp {
                              description
                                "Timer expiry time update for last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-expiry-timestamp
    
                            container last-update-timer-remaining-value {
                              description
                                "Update timer remaining time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-remaining-value
    
                            container last-update-timer-delay-value {
                              description
                                "Number of timer delayed for the last update";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-timer-delay-value
    
                            container update-statistics {
                              description
                                "BGP update-group update statistics";
                              container last-update-discard-timestamp {
                                description
                                  "Last Discarded time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-discard-timestamp
    
                              container last-update-cleared-timestamp {
                                description
                                  "Last Cleared time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-cleared-timestamp
    
                              container last-update-throttle-timestamp {
                                description
                                  "Last Throttled time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-throttle-timestamp
    
                              container last-update-recovery-timestamp {
                                description
                                  "Last Recovery time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-recovery-timestamp
    
                              container last-update-memory-allocation-fail-timestamp {
                                description
                                  "Memory allocation failure time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-memory-allocation-fail-timestamp
    
                              leaf update-out-queue-messages-high {
                                type uint32;
                                description
                                  "OutQueue High Messages";
                              }
    
                              leaf update-out-queue-messages-cumulative {
                                type uint32;
                                description
                                  "OutQueue Cumulative Messages";
                              }
    
                              leaf update-out-queue-messages-discarded {
                                type uint32;
                                description
                                  "OutQueue Discarded Messages";
                              }
    
                              leaf update-out-queue-messages-cleared {
                                type uint32;
                                description
                                  "OutQueue Cleared Messages";
                              }
    
                              leaf update-out-queue-size-high {
                                type uint32;
                                description
                                  "OutQueue Hi Size";
                              }
    
                              leaf update-out-queue-size-cumulative {
                                type uint64;
                                description
                                  "OutQueue Cumulative Size";
                              }
    
                              leaf update-out-queue-size-discarded {
                                type uint64;
                                description
                                  "OutQueue Discarded Size";
                              }
    
                              leaf update-out-queue-size-cleared {
                                type uint64;
                                description
                                  "OutQueue Cleared Size";
                              }
    
                              leaf last-update-discard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Discard event (in seconds)";
                              }
    
                              leaf last-update-cleard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Clear event (in seconds)";
                              }
    
                              leaf update-throttle-count {
                                type uint32;
                                description
                                  "Throttle Count";
                              }
    
                              leaf last-update-throttle-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Throttle event (in seconds)";
                              }
    
                              leaf update-recovery-count {
                                type uint32;
                                description
                                  "Recovery Count";
                              }
    
                              leaf last-update-recovery-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Recovery event (in seconds)";
                              }
    
                              leaf update-memory-allocation-fail-count {
                                type uint32;
                                description
                                  "Number of times there was failure when
    allocatingmemory for BGP update generation";
                              }
    
                              leaf last-update-memory-allocation-fail-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last memory allocation failure event
    (in seconds)";
                              }
                            }  // container update-statistics
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf neighbor-session-af-name {
                              type uint8;
                              description
                                "Neighbor session address family";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "Index of the BGP update group";
                            }
    
                            leaf update-group-flags2 {
                              type uint32;
                              description
                                "Update-group internal flags2";
                            }
    
                            leaf update-out-queue-messages {
                              type uint32;
                              description
                                "OutQueue Messages";
                            }
    
                            leaf update-out-queue-size {
                              type uint32;
                              description
                                "OutQueue Size";
                            }
    
                            leaf update-sub-group-count {
                              type uint32;
                              description
                                "Sub-group count";
                            }
    
                            leaf sub-group-throttled-count {
                              type uint32;
                              description
                                "Throttled sub-group count";
                            }
    
                            leaf refresh-sub-group-count {
                              type uint32;
                              description
                                "Number of temporary refresh sub groups";
                            }
    
                            leaf refresh-sub-group-throttled-count {
                              type uint32;
                              description
                                "Throttled refresh sub-group count";
                            }
    
                            leaf filter-group-count {
                              type uint32;
                              description
                                "Number of filter groups in BGP update generation";
                            }
    
                            leaf neighbor-count {
                              type uint32;
                              description
                                "Number of neighbors present in BGp update
    generation";
                            }
    
                            leaf neighbor-leaving-count {
                              type uint32;
                              description
                                "Count of neighbors leaving the update-group";
                            }
    
                            leaf update-generation-recovery-pending {
                              type boolean;
                              description
                                "Flag to indicate if update generation recovery
    is pending";
                            }
    
                            leaf last-update-timer-expiry-age {
                              type uint32;
                              description
                                "Time since last update timer expiry event";
                            }
    
                            leaf is-update-timer-running {
                              type boolean;
                              description
                                "Flag to indicate if timer is  running";
                            }
    
                            leaf perm-pelem-encountered {
                              type uint32;
                              description
                                "Count of Perm Pelems seen by updgen";
                            }
    
                            leaf perm-pelem-allowed {
                              type uint32;
                              description
                                "Count of Perm Pelems allowed by updgen";
                            }
    
                            leaf perm-pelem-not-allowed {
                              type uint32;
                              description
                                "Count of Perm Pelems not allowed by updgen";
                            }
    
                            leaf perm-pelem-exp-wdr {
                              type uint32;
                              description
                                "Count of Perm Pelems explicitly wdrn by updgen";
                            }
    
                            leaf perm-pelem-spur-wdr {
                              type uint32;
                              description
                                "Count of Perm Pelems Spurious withdraws by
    updgen";
                            }
    
                            leaf is-permanent {
                              type boolean;
                              description
                                "Permanent UG check";
                            }
                          }  // list update-generation-update-group
                        }  // container update-generation-update-groups
    
                        container update-generation-filter-groups {
                          description
                            "Update generation for all filter-groups under
    a sub-group";
                          list update-generation-filter-group {
                            description
                              "A BGP Update generate table entry for
    filter-group";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "A BGP Update Group Entry index";
                            }
    
                            leaf sub-group-index {
                              type uint32;
                              description
                                "A BGP Update Sub group Table index";
                            }
    
                            leaf sub-group-id {
                              type uint32;
                              description
                                "A BGP Update Sub group table ID";
                            }
    
                            leaf filter-group-index {
                              type uint32;
                              description
                                "A BGP Filter group Table index";
                            }
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf update-filter-group-index {
                              type uint32;
                              description
                                "Filter-group index";
                            }
    
                            leaf parent-filter-group-index {
                              type uint32;
                              description
                                "In refresh sub group points to the
    correspondingfilter group in parent subgroup
    index";
                            }
    
                            leaf sub-group-index-xr {
                              type uint32;
                              description
                                "Index for the sub-group used when accessing bits";
                            }
    
                            leaf sub-group-id-xr {
                              type uint32;
                              description
                                "Sub-group identifier";
                            }
    
                            leaf parent-sub-group-index {
                              type uint32;
                              description
                                "Index for the subgroup of parent";
                            }
    
                            leaf parent-sub-group-id {
                              type uint32;
                              description
                                "Parent Sub-group identifier";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "BGP update generation index of update-group";
                            }
    
                            leaf neighbor-count {
                              type uint32;
                              description
                                "Number of neighbors in this BGP filter-group";
                            }
                          }  // list update-generation-filter-group
                        }  // container update-generation-filter-groups
    
                        container networks {
                          description
                            "The BGP Network Table";
                          list network {
                            description
                              "A BGP Network table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container version-timestamp {
                              description
                                "BGP network version timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-timestamp
    
                            container version-age {
                              description
                                "BGP network age of version";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container version-age
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "ID of the BGP process instance";
                            }
    
                            leaf has-inconsistent-paths {
                              type boolean;
                              description
                                "Flag to indicate if inconsistent paths attached
    to net";
                            }
    
                            leaf is-net-aggregation-suppressed {
                              type boolean;
                              description
                                "Net suppressed due to aggregation";
                            }
    
                            leaf is-net-ldp-signaled {
                              type boolean;
                              description
                                "L2VPN Net LDP signaled  aggregation";
                            }
    
                            leaf table-version {
                              type uint32;
                              description
                                "Table version # for net";
                            }
    
                            leaf table-brib-version {
                              type uint32;
                              description
                                "Table version # for updates";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf has-local-label {
                              type boolean;
                              description
                                "Flag to indicate if local BGP labelassociated
    with the net";
                            }
    
                            leaf net-local-label {
                              type uint32;
                              description
                                "Local label";
                            }
    
                            leaf net-label-mode {
                              type uint32;
                              description
                                "Label mode";
                            }
    
                            leaf net-local-label-rewrite {
                              type boolean;
                              description
                                "Net label has rewrite";
                            }
    
                            leaf net-local-label-srgb {
                              type boolean;
                              description
                                "Net label allocated fromSegment routing global
    block";
                            }
    
                            leaf has-lbl-retained {
                              type boolean;
                              description
                                "Flag to indicate if BGP network labels are
    retained ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP network Route Distinguisher";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf net-flags {
                              type uint32;
                              description
                                "Flags associated with
    net";
                            }
    
                            leaf net-extended-flags {
                              type uint32;
                              description
                                "BGP network flags for extendedcommunity";
                            }
    
                            leaf net-multipath {
                              type boolean;
                              description
                                "Net has multipaths";
                            }
    
                            leaf net-eibgp-multipath {
                              type boolean;
                              description
                                "Net has EIBGP multipaths";
                            }
    
                            leaf net-backup-available {
                              type boolean;
                              description
                                "Net has backup path";
                            }
    
                            leaf net-backup-label-rewrite-available {
                              type boolean;
                              description
                                "Net has label rewrite for backup path";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "RIB install failed";
                            }
    
                            leaf gateway-array {
                              type uint32;
                              description
                                "ID for the gateway array";
                            }
    
                            leaf resilient-nexthop-set {
                              type uint32;
                              description
                                "ID for the Resilient per CEnexthop set";
                            }
    
                            leaf is-permanent-network {
                              type boolean;
                              description
                                "Flag that indicates that the networkhas
    permanent path";
                            }
    
                            leaf num-of-path {
                              type uint32;
                              description
                                "Number of path for this net";
                            }
    
                            leaf version {
                              type uint32;
                              description
                                "The version of the the radix tree";
                            }
    
                            leaf bit {
                              type uint16;
                              description "Bit";
                            }
    
                            leaf flags {
                              type uint8;
                              description
                                "Flags";
                            }
    
                            leaf has-srv6-sid-allocated {
                              type boolean;
                              description
                                "Net has SRv6 SID allocated";
                            }
    
                            leaf srv6-sid-address {
                              type Ipv6-address;
                              description
                                "SRv6 SID address value";
                            }
    
                            leaf srv6-sid-address-len {
                              type uint32;
                              description
                                "SRv6 SID address Length";
                            }
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
    
                            list local-process-instance-path {
                              description
                                "Local (to process instance) paths for this net ";
                              container advertised-neighbor {
                                description
                                  "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container advertised-neighbor
    
                              container path-information {
                                description
                                  "BGP path information ";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-information
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf process-instance-id {
                                type uint8;
                                description
                                  "BGP Process instance ID";
                              }
    
                              leaf label-oor {
                                type boolean;
                                description
                                  "LSD label space is exhausted";
                              }
    
                              leaf label-oor-version {
                                type uint32;
                                description
                                  "Label Version when OOR happens";
                              }
    
                              leaf label-fail {
                                type boolean;
                                description
                                  "LSD label allocation failed ";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Source Route Distinguisher";
                              }
    
                              leaf original-source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Original Source Route Distinguisher";
                              }
    
                              leaf prefix-version {
                                type uint32;
                                description
                                  "Version of BGP Prefix Table";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
    
                              leaf source-vrf-name {
                                type string;
                                description
                                  "Name of the source VRF";
                              }
    
                              leaf srcaf-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
                            }  // list local-process-instance-path
    
                            list active-process-instance-path {
                              description
                                "Path for this net from BGP active instance
    process";
                              container advertised-neighbor {
                                description
                                  "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container advertised-neighbor
    
                              container path-information {
                                description
                                  "BGP path information ";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-information
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf process-instance-id {
                                type uint8;
                                description
                                  "BGP Process instance ID";
                              }
    
                              leaf label-oor {
                                type boolean;
                                description
                                  "LSD label space is exhausted";
                              }
    
                              leaf label-oor-version {
                                type uint32;
                                description
                                  "Label Version when OOR happens";
                              }
    
                              leaf label-fail {
                                type boolean;
                                description
                                  "LSD label allocation failed ";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Source Route Distinguisher";
                              }
    
                              leaf original-source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Original Source Route Distinguisher";
                              }
    
                              leaf prefix-version {
                                type uint32;
                                description
                                  "Version of BGP Prefix Table";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
    
                              leaf source-vrf-name {
                                type string;
                                description
                                  "Name of the source VRF";
                              }
    
                              leaf srcaf-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
                            }  // list active-process-instance-path
    
                            list local-path-element {
                              description
                                "BGP network elements list of thelocal path";
                              container pelem-path-nexthop {
                                description
                                  "Path nexthop address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-nexthop
    
                              container nh-tunnel {
                                description
                                  "NH tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container pelem-path-neighbor-addr {
                                description
                                  "Path neighbor address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-neighbor-addr
    
                              leaf pelem-path-id {
                                type uint32;
                                description
                                  "Local Path ID";
                              }
    
                              leaf pelem-version {
                                type uint32;
                                description
                                  "Version";
                              }
    
                              leaf pelem-flags {
                                type uint32;
                                description
                                  "Flags";
                              }
    
                              leaf pelem-gw-metric {
                                type uint32;
                                description
                                  "Gateway metric";
                              }
    
                              leaf pelem-path-flags {
                                type uint64;
                                description
                                  "Path flags";
                              }
    
                              leaf pelem-path-peer-path-id {
                                type uint32;
                                description
                                  "Path peer path ID";
                              }
    
                              leaf pelem-table-attr-version {
                                type uint32;
                                description
                                  "Table Attr version";
                              }
    
                              leaf pelem-path-table-attr-version {
                                type uint32;
                                description
                                  "Path Table Attribute version";
                              }
    
                              leaf pelem-no-bestpath-table-attr-version {
                                type uint32;
                                description
                                  "BGP network no best path tableattribute version
    number";
                              }
    
                              leaf pelem-no-addpath-table-attr-version {
                                type uint32;
                                description
                                  "The version of the no addpath table attribute";
                              }
    
                              leaf is-perm-path-pelem {
                                type boolean;
                                description
                                  "Pelem for permanent path";
                              }
                            }  // list local-path-element
    
                            list active-path-element {
                              description
                                "Path element list received from Active inst";
                              container pelem-path-nexthop {
                                description
                                  "Path nexthop address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-nexthop
    
                              container nh-tunnel {
                                description
                                  "NH tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container pelem-path-neighbor-addr {
                                description
                                  "Path neighbor address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container pelem-path-neighbor-addr
    
                              leaf pelem-path-id {
                                type uint32;
                                description
                                  "Local Path ID";
                              }
    
                              leaf pelem-version {
                                type uint32;
                                description
                                  "Version";
                              }
    
                              leaf pelem-flags {
                                type uint32;
                                description
                                  "Flags";
                              }
    
                              leaf pelem-gw-metric {
                                type uint32;
                                description
                                  "Gateway metric";
                              }
    
                              leaf pelem-path-flags {
                                type uint64;
                                description
                                  "Path flags";
                              }
    
                              leaf pelem-path-peer-path-id {
                                type uint32;
                                description
                                  "Path peer path ID";
                              }
    
                              leaf pelem-table-attr-version {
                                type uint32;
                                description
                                  "Table Attr version";
                              }
    
                              leaf pelem-path-table-attr-version {
                                type uint32;
                                description
                                  "Path Table Attribute version";
                              }
    
                              leaf pelem-no-bestpath-table-attr-version {
                                type uint32;
                                description
                                  "BGP network no best path tableattribute version
    number";
                              }
    
                              leaf pelem-no-addpath-table-attr-version {
                                type uint32;
                                description
                                  "The version of the no addpath table attribute";
                              }
    
                              leaf is-perm-path-pelem {
                                type boolean;
                                description
                                  "Pelem for permanent path";
                              }
                            }  // list active-path-element
                          }  // list network
                        }  // container networks
    
                        container path-table {
                          description
                            "The BGP Path Table";
                          list path {
                            description
                              "A BGP path table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address for the BGP neighbor";
                            }
    
                            leaf route-type {
                              type Bgp-route;
                              description
                                "Route Type";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list path
                        }  // container path-table
    
                        container mvpn-rt-list {
                          description
                            "A BGP Multicast VPN Route Target List for
    address-family";
                          container mvpn-extcomm-list {
                            description
                              "Prefix list";
                            list bgp-mvpn-extcomm {
                              description
                                "Next entry in prefix list";
                              leaf ext-comm-value {
                                type yang:hex-string;
                                description
                                  "Extended community value";
                              }
    
                              leaf ext-comm-is-stale {
                                type boolean;
                                description
                                  "Extended community is stale";
                              }
                            }  // list bgp-mvpn-extcomm
                          }  // container mvpn-extcomm-list
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identfier";
                          }
    
                          leaf vrf-ri-exist {
                            type boolean;
                            description
                              "Is Vrf ri existing";
                          }
    
                          leaf router-address {
                            type inet:ipv4-address;
                            description
                              "PE address";
                          }
    
                          leaf vrf-index {
                            type uint16;
                            description
                              "Vrf index";
                          }
    
                          leaf seg-nh-exist {
                            type boolean;
                            description
                              "Is segmented nh existing";
                          }
    
                          leaf seg-nh-address {
                            type inet:ipv4-address;
                            description
                              "Segmented nexthop";
                          }
    
                          leaf source-as-exist {
                            type boolean;
                            description
                              "Is source as exising";
                          }
    
                          leaf source-as {
                            type uint32;
                            description
                              "Source As number";
                          }
    
                          leaf vrf-ri-exist-m {
                            type boolean;
                            description
                              "Is Vrf ri existing for mcast";
                          }
    
                          leaf router-address-m {
                            type inet:ipv4-address;
                            description
                              "PE address for mcast";
                          }
    
                          leaf vrf-index-m {
                            type uint16;
                            description
                              "Vrf index for mcast";
                          }
    
                          leaf seg-nh-exist-m {
                            type boolean;
                            description
                              "Is segmented nh existing for mcast";
                          }
    
                          leaf seg-nh-address-m {
                            type inet:ipv4-address;
                            description
                              "Segmented nexthop for mcast";
                          }
    
                          leaf source-as-exist-m {
                            type boolean;
                            description
                              "Is source as exising for mcast";
                          }
    
                          leaf source-as-m {
                            type uint32;
                            description
                              "Source As number for mcast";
                          }
    
                          leaf connector-src-exist {
                            type boolean;
                            description
                              "Is Connector src existing";
                          }
    
                          leaf connector-src {
                            type inet:ipv4-address;
                            description
                              "Connector src";
                          }
                        }  // container mvpn-rt-list
    
                        container recent-prefixes {
                          description
                            "BGP Recent Prefix Table";
                          list recent-prefix {
                            description
                              "BGP Recent Prefix";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list recent-prefix
                        }  // container recent-prefixes
    
                        container advertised-path-counts {
                          description
                            "The BGP Advertised paths table (bestpath)";
                          list advertised-path-count {
                            key "neighbor-address";
                            description
                              "The BGP Advertised path table Count
    (bestpath)";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            leaf max-prefix-advertisedcount {
                              type uint32;
                              description
                                "Number of prefixes advertsied to neighbor";
                            }
                          }  // list advertised-path-count
                        }  // container advertised-path-counts
    
                        container path-labeled-table {
                          description
                            "The BGP Path Labeled Table";
                          list path {
                            description
                              "A BGP path table entry";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address for the BGP neighbor";
                            }
    
                            leaf route-type {
                              type Bgp-route;
                              description
                                "Route Type";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list path
                        }  // container path-labeled-table
    
                        container orr-group-table-entries {
                          description
                            "The BGP Optimal Route Reflection Group Table";
                          list orr-group-table-entry {
                            key "orr-grp-name";
                            description
                              "A BGP Optimal Route Reflection Group Table
    Entry";
                            leaf orr-grp-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "The BGP Optimal Route Reflection Group Name";
                            }
    
                            container orr-root-address {
                              description
                                "ORR Root Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container orr-root-address
    
                            container orr-sec-root-address {
                              description
                                "ORR Sec Root Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container orr-sec-root-address
    
                            container orr-ter-root-address {
                              description
                                "ORR ter Root Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container orr-ter-root-address
    
                            leaf orr-group-name {
                              type string;
                              description
                                "ORR Group Name";
                            }
    
                            leaf is-orr-root-address-configured {
                              type boolean;
                              description
                                "ORR Root address configured";
                            }
    
                            leaf is-orr-sec-root-address-configured {
                              type boolean;
                              description
                                "ORR Sec Root address configured";
                            }
    
                            leaf is-orr-ter-root-address-configured {
                              type boolean;
                              description
                                "ORR Ter Root address configured";
                            }
    
                            leaf orr-neighbor-count {
                              type uint32;
                              description
                                "ORR neighbor count";
                            }
    
                            leaf orr-index {
                              type uint32;
                              description
                                "ORR index";
                            }
    
                            leaf orr-tableid {
                              type uint32;
                              description
                                "ORR Group tableid";
                            }
                          }  // list orr-group-table-entry
                        }  // container orr-group-table-entries
    
                        container advertised-paths {
                          description
                            "The BGP Advertised paths table (add-paths)";
                          list advertised-path {
                            description
                              "A BGP Advertised paths table entry
    (add-paths)";
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf prefix-length {
                              type uint32;
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "Neighbor ";
                            }
    
                            list paths {
                              description
                                "BGP paths information";
                              container advertised-neighbor {
                                description
                                  "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container advertised-neighbor
    
                              container path-information {
                                description
                                  "BGP path information ";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-information
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf process-instance-id {
                                type uint8;
                                description
                                  "BGP Process instance ID";
                              }
    
                              leaf label-oor {
                                type boolean;
                                description
                                  "LSD label space is exhausted";
                              }
    
                              leaf label-oor-version {
                                type uint32;
                                description
                                  "Label Version when OOR happens";
                              }
    
                              leaf label-fail {
                                type boolean;
                                description
                                  "LSD label allocation failed ";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Source Route Distinguisher";
                              }
    
                              leaf original-source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path Original Source Route Distinguisher";
                              }
    
                              leaf prefix-version {
                                type uint32;
                                description
                                  "Version of BGP Prefix Table";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
    
                              leaf source-vrf-name {
                                type string;
                                description
                                  "Name of the source VRF";
                              }
    
                              leaf srcaf-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
                            }  // list paths
    
                            list adv-path-info {
                              description
                                "Net Advertized Paths";
                              container neighbor-address-xr {
                                description
                                  "Neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address-xr
    
                              container path-info-after-policy-in {
                                description
                                  "Path information after inbound policy";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-info-after-policy-in
    
                              container path-info-after-policy-out {
                                description
                                  "Path information after outbound policy";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                container neighbor-address {
                                  description
                                    "Neighbor address specified in BGP path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                container next-hop {
                                  description
                                    "BGP Next hop information";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container next-hop
    
                                container nh-tunnel {
                                  description
                                    "Next hop tunnel information";
                                  leaf tunnel-type {
                                    type Bgp-tunnel;
                                    description
                                      "Nexthop Tunnel Type";
                                  }
    
                                  leaf tunnel-name {
                                    type string;
                                    description
                                      "Tunnel name attribute";
                                  }
    
                                  leaf is-tunnel-up {
                                    type boolean;
                                    description
                                      "Tunnel Up flag";
                                  }
    
                                  leaf is-tunnel-info-stale {
                                    type boolean;
                                    description
                                      "Tunnel is stale";
                                  }
    
                                  leaf is-tunnel-registered {
                                    type boolean;
                                    description
                                      "Tunnel registered flag";
                                  }
    
                                  leaf is-bgp-te-registered {
                                    type boolean;
                                    description
                                      "BGPTE registered flag";
                                  }
    
                                  leaf tunnel-v6-required {
                                    type boolean;
                                    description
                                      "Tunnel need IPv6";
                                  }
    
                                  leaf tunnel-v6-enabled {
                                    type boolean;
                                    description
                                      "IPv6 enabled";
                                  }
    
                                  leaf tunnel-notif-first-rcvd {
                                    type boolean;
                                    description
                                      "Tunnel first notif received";
                                  }
    
                                  leaf tunnel-state-skip-reg {
                                    type boolean;
                                    description
                                      "Skip tunnel registration for Stale entry";
                                  }
    
                                  leaf binding-label {
                                    type uint32;
                                    description
                                      "Binding label for the tunnel";
                                  }
    
                                  leaf tunnel-if-handle {
                                    type uint32;
                                    description
                                      "Interface handle for the tunnel";
                                  }
    
                                  leaf last-tunnel-update {
                                    type uint32;
                                    description
                                      "Time since the last tunnel update happened";
                                  }
    
                                  leaf tunnel-color {
                                    type uint32;
                                    description
                                      "Color corresponding to this SR tunnel";
                                  }
    
                                  leaf has-tunnel-metric {
                                    type boolean;
                                    description
                                      "This SR-TE tunnel has an admin distance/metric";
                                  }
    
                                  leaf tunnel-metric-ad {
                                    type uint32;
                                    description
                                      "Metric admin distance corresponding to this SR
    tunnel";
                                  }
    
                                  leaf tunnel-metric-value {
                                    type uint32;
                                    description
                                      "Metric value corresponding to this SR tunnel";
                                  }
    
                                  leaf is-tunnel-color-only {
                                    type boolean;
                                    description
                                      "Is a Color Only (Null Endpoint) tunnel";
                                  }
    
                                  leaf tunnel-endpoint-afi {
                                    type Bgp-afi;
                                    description
                                      "AFI of the Null Endpoint (IPv4/IPv6)";
                                  }
    
                                  leaf flags {
                                    type uint32;
                                    description
                                      "SR Tunnel specific flags ";
                                  }
    
                                  leaf haveu-srv6-bsid {
                                    type boolean;
                                    description
                                      "SRv6 BSID for tunnel present";
                                  }
    
                                  leaf srv6u-bsid-address {
                                    type Ipv6-address;
                                    description
                                      "SRv6 uBSID address value";
                                  }
                                }  // container nh-tunnel
    
                                container mdt-group-addr {
                                  description
                                    "IPv4 MDT Group Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mdt-group-addr
    
                                container gw-addr {
                                  description
                                    "Path GW Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container gw-addr
    
                                container nh-addr {
                                  description
                                    "Path next-hop Address";
                                  leaf len {
                                    type Bgp-v4-v6-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'gwipv4'" {
                                      description
                                        "../len = 'gwipv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'gwipv6'" {
                                      description
                                        "../len = 'gwipv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
                                }  // container nh-addr
    
                                container best-path-comp-winner {
                                  description
                                    "Neighbor address of the path which won best path
    comparison";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container best-path-comp-winner
    
                                container mvpn-nbr-addr {
                                  description
                                    "Mvpn nbr Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nbr-addr
    
                                container mvpn-nexthop-addr {
                                  description
                                    "Mvpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container mvpn-nexthop-addr
    
                                container vpn-nexthop-addr {
                                  description
                                    "Vpn nexthop Address for the path";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container vpn-nexthop-addr
    
                                container evpn-imet-pmsi-nexthop-addr {
                                  description
                                    "EVPN IMET PMSI Originator Nexthop Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container evpn-imet-pmsi-nexthop-addr
    
                                leaf route-type {
                                  type Bgp-route1;
                                  description
                                    "Route Type of path";
                                }
    
                                leaf is-path-valid {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path attributes are
    usable";
                                }
    
                                leaf is-path-damped {
                                  type boolean;
                                  description
                                    "Flag to indicate if Path suppressed due to
    dampening";
                                }
    
                                leaf is-path-history-held {
                                  type boolean;
                                  description
                                    "Path entry held to remember history";
                                }
    
                                leaf is-internal-path {
                                  type boolean;
                                  description
                                    "Received over an internal link";
                                }
    
                                leaf is-best-path {
                                  type boolean;
                                  description
                                    "Best available path";
                                }
    
                                leaf is-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS";
                                }
    
                                leaf is-spkr-as-best {
                                  type boolean;
                                  description
                                    "Best available path within AS in speaker";
                                }
    
                                leaf is-partial-best {
                                  type boolean;
                                  description
                                    "Partial best path within distributed speaker";
                                }
    
                                leaf is-aggregation-suppressed {
                                  type boolean;
                                  description
                                    "Path suppressed due to aggregation";
                                }
    
                                leaf is-import-dampened {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    dampened";
                                }
    
                                leaf is-import-suspect {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path net import is
    suspect";
                                }
    
                                leaf is-path-not-advertised {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is not advertised to
    any peer";
                                }
    
                                leaf is-path-not-advertised-to-ebgp {
                                  type boolean;
                                  description
                                    "Not advertised to EBGPs";
                                }
    
                                leaf is-path-advertised-local-as-only {
                                  type boolean;
                                  description
                                    "Not advertised outside local AS";
                                }
    
                                leaf is-path-from-route-reflector {
                                  type boolean;
                                  description
                                    "Path received from route reflector";
                                }
    
                                leaf is-path-received-only {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP Path is received only";
                                }
    
                                leaf is-received-path-not-modified {
                                  type boolean;
                                  description
                                    "Flag to indicate if received path is used
    without modification";
                                }
    
                                leaf is-path-locally-sourced {
                                  type boolean;
                                  description
                                    "Path sourced locally";
                                }
    
                                leaf is-path-local-aggregate {
                                  type boolean;
                                  description
                                    "Path is a locally created aggregate";
                                }
    
                                leaf is-path-from-network-command {
                                  type boolean;
                                  description
                                    "Path sourced by network command";
                                }
    
                                leaf is-path-from-redistribute-command {
                                  type boolean;
                                  description
                                    "Path sourced by redistribute command";
                                }
    
                                leaf is-path-imported {
                                  type boolean;
                                  description
                                    "Path is imported";
                                }
    
                                leaf is-path-reoriginated {
                                  type boolean;
                                  description
                                    "Path is reoriginated";
                                }
    
                                leaf is-path-reoriginated-stitching {
                                  type boolean;
                                  description
                                    "Path is reoriginated with stitching RTs";
                                }
    
                                leaf is-path-vpn-only {
                                  type boolean;
                                  description
                                    "Path is not in the vrf";
                                }
    
                                leaf is-path-from-confederation-peer {
                                  type boolean;
                                  description
                                    "Path received from confederation peer";
                                }
    
                                leaf is-path-synced-with-igp {
                                  type boolean;
                                  description
                                    "Path synchronized with IGP";
                                }
    
                                leaf is-path-multipath {
                                  type boolean;
                                  description
                                    "Path is one of multipath best routes";
                                }
    
                                leaf is-path-imp-candidate {
                                  type boolean;
                                  description
                                    "Path is a candidate for multipath import";
                                }
    
                                leaf is-path-stale {
                                  type boolean;
                                  description
                                    "Stale routes learnt before neighbor restarts";
                                }
    
                                leaf is-path-long-lived-stale {
                                  type boolean;
                                  description
                                    "Long lived stale routes learnt before neighbor
    restarts";
                                }
    
                                leaf is-path-backup {
                                  type boolean;
                                  description
                                    "Path is a backup path ";
                                }
    
                                leaf is-path-backup-protect-multipath {
                                  type boolean;
                                  description
                                    "Path is a backup path to protect multipaths";
                                }
    
                                leaf is-path-best-external {
                                  type boolean;
                                  description
                                    "Path is a best external path";
                                }
    
                                leaf is-path-additional-path {
                                  type boolean;
                                  description
                                    "Flag to indicate BGP Path is an additional-path";
                                }
    
                                leaf is-path-nexthop-discarded {
                                  type boolean;
                                  description
                                    "Path is redirected to Null0";
                                }
    
                                leaf has-local-net-label {
                                  type boolean;
                                  description
                                    "Path has local label";
                                }
    
                                leaf local-label {
                                  type uint32;
                                  description
                                    " BGP Path local label";
                                }
    
                                leaf igp-metric {
                                  type uint32;
                                  description
                                    "IGP metric to the gateway";
                                }
    
                                leaf path-weight {
                                  type uint16;
                                  description
                                    "Weight for the path";
                                }
    
                                leaf neighbor-router-id {
                                  type inet:ipv4-address;
                                  description
                                    "Router ID of the neighbor for the path";
                                }
    
                                leaf has-mdt-group-addr {
                                  type boolean;
                                  description
                                    "Path has MDT Group Address";
                                }
    
                                leaf l2vpn-size {
                                  type uint32;
                                  description
                                    "Path block size";
                                }
    
                                leaf l2vpn-evpn-esi {
                                  type string;
                                  description
                                    "L2VPN EVPN ESI";
                                }
    
                                leaf evpn-path-flags {
                                  type uint32;
                                  description
                                    "L2VPN EVPN Path flags";
                                }
    
                                leaf has-gw-addr {
                                  type boolean;
                                  description
                                    "Path has GW Address";
                                }
    
                                leaf has-nh-addr {
                                  type boolean;
                                  description
                                    "Path has next-hop Address";
                                }
    
                                leaf nexthop-interface-handle {
                                  type uint32;
                                  description
                                    "Interface Handle of Nexthop";
                                }
    
                                leaf has-second-label {
                                  type boolean;
                                  description
                                    "Path has second received label";
                                }
    
                                leaf second-label {
                                  type uint32;
                                  description
                                    "Path second received label";
                                }
    
                                leaf path-flap-count {
                                  type uint32;
                                  description
                                    "Number of times this route has flapped";
                                }
    
                                leaf seconds-since-first-flap {
                                  type uint32;
                                  units "second";
                                  description
                                    "BGP damp info in seconds, since first route
    flapped";
                                }
    
                                leaf time-to-unsuppress {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds until route is unsuppressed";
                                }
    
                                leaf dampen-penalty {
                                  type uint32;
                                  description
                                    "BGP Dampening penalty";
                                }
    
                                leaf halflife-time {
                                  type uint32;
                                  description
                                    "Half-life time for the penalty";
                                }
    
                                leaf suppress-penalty {
                                  type uint32;
                                  description
                                    "Value to start suppressing a route";
                                }
    
                                leaf reuse-value {
                                  type uint32;
                                  description
                                    "Value to start reusing a route";
                                }
    
                                leaf maximum-suppress-time {
                                  type uint32;
                                  description
                                    "Maximum duration to suppress a stable route";
                                }
    
                                leaf best-path-comp-stage {
                                  type Bgp-bp-stage;
                                  description
                                    "Stage where the path lost to the best path or
    group best";
                                }
    
                                leaf best-path-id-comp-winner {
                                  type uint32;
                                  description
                                    "Path ID of the path which won best path
    comparison";
                                }
    
                                leaf path-flags {
                                  type uint64;
                                  description
                                    "Flags associated with path";
                                }
    
                                leaf path-import-flags {
                                  type uint32;
                                  description
                                    "Flags to indicate for import processing in BGP";
                                }
    
                                leaf best-path-id {
                                  type uint32;
                                  description
                                    "Best path ID; DEPRECATED BY LocalPathId";
                                }
    
                                leaf local-path-id {
                                  type uint32;
                                  description
                                    "Local path ID";
                                }
    
                                leaf rcvd-path-id {
                                  type uint32;
                                  description
                                    "Received path ID";
                                }
    
                                leaf path-table-version {
                                  type uint32;
                                  description
                                    "Table version # for pelem";
                                }
    
                                leaf advertisedto-pe {
                                  type boolean;
                                  description
                                    "Net could be advertised
    to PE peers";
                                }
    
                                leaf rib-failed {
                                  type boolean;
                                  description
                                    "Is net failed installed
    in RIB";
                                }
    
                                leaf sn-rpki-origin-as-validity {
                                  type uint8;
                                  description
                                    "RPKI origin validation state";
                                }
    
                                leaf show-rpki-origin-as-validity {
                                  type boolean;
                                  description
                                    "Display validity state ?";
                                }
    
                                leaf ibgp-signaled-validity {
                                  type boolean;
                                  description
                                    "IBGP signalled validation";
                                }
    
                                leaf rpki-origin-as-validation-disabled {
                                  type boolean;
                                  description
                                    "RPKI originAS V. Disabled";
                                }
    
                                leaf accept-own-path {
                                  type boolean;
                                  description
                                    "Accept Own";
                                }
    
                                leaf accept-own-self-originated-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                                }
    
                                leaf aigp-metric {
                                  type uint64;
                                  description
                                    "Total AIGP metric";
                                }
    
                                leaf mvpn-sfs-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if MVPN single forwarder PE
    path";
                                }
    
                                leaf fspec-invalid-path {
                                  type boolean;
                                  description
                                    "Flag to indicate if path is invalidated by
    flow-spec rules";
                                }
    
                                leaf has-mvpn-nbr-addr {
                                  type boolean;
                                  description
                                    "Path has Mvpn nbr Address";
                                }
    
                                leaf has-mvpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has MVPN nexthop Address";
                                }
    
                                leaf has-mvpn-pmsi {
                                  type boolean;
                                  description
                                    "Path has MVPN PMSI feedback";
                                }
    
                                leaf mvpn-pmsi-type {
                                  type uint16;
                                  description
                                    "Mvpn PMSI Type";
                                }
    
                                leaf mvpn-pmsi-flags {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
    
                                leaf mvpn-pmsi-label {
                                  type uint32;
                                  description
                                    "Mvpn PMSI label";
                                }
    
                                leaf has-mvpn-extcomm {
                                  type boolean;
                                  description
                                    "Path has MVPN EXTCOMM feedback";
                                }
    
                                leaf mvpn-path-flags {
                                  type uint16;
                                  description
                                    "Multicast Virtual Private Networks specific path
    info";
                                }
    
                                leaf local-nh {
                                  type boolean;
                                  description
                                    "Path has local nexthop";
                                }
    
                                leaf rt-set-limit-enabled {
                                  type boolean;
                                  description
                                    "Path subject to RT-set net limit";
                                }
    
                                leaf path-rt-set-id {
                                  type uint32;
                                  description
                                    "RT-set id of the path";
                                }
    
                                leaf path-rt-set-route-count {
                                  type uint32;
                                  description
                                    "Count in RT-set";
                                }
    
                                leaf is-path-af-install-eligible {
                                  type boolean;
                                  description
                                    "Path can be installed in AF RIB";
                                }
    
                                leaf is-permanent-path {
                                  type boolean;
                                  description
                                    "Path is of type Permanent path";
                                }
    
                                leaf graceful-shutdown {
                                  type boolean;
                                  description
                                    "Marked for graceful shutdown";
                                }
    
                                leaf labeled-unicast-safi-path {
                                  type boolean;
                                  description
                                    "Path was learnt by labeled-unicast SAFI";
                                }
    
                                leaf has-vpn-nexthop-addr {
                                  type boolean;
                                  description
                                    "Path has VPN nexthop Address";
                                }
    
                                leaf is-orig-src-rd-present {
                                  type boolean;
                                  description
                                    "Original Source RD  present";
                                }
    
                                leaf af-name {
                                  type Bgp-afi;
                                  description
                                    "Original Source Address family identifier";
                                }
    
                                leaf route-distinguisher {
                                  type xr:Route-dist;
                                  description
                                    "Original Source Route Distinguisher";
                                }
    
                                leaf mac-ip-present {
                                  type boolean;
                                  description
                                    "Mac IP Present  present";
                                }
    
                                leaf mac-ip {
                                  type yang:mac-address;
                                  description
                                    "Mac associated with IP";
                                }
    
                                leaf ether-tag-id {
                                  type uint32;
                                  description
                                    "Ethernet Tag Id";
                                }
    
                                leaf igmp-flags-present {
                                  type boolean;
                                  description
                                    "EVPN IGMP Flags Present";
                                }
    
                                leaf igmp-flags {
                                  type uint8;
                                  description
                                    "EVPN IGMP Flags";
                                }
    
                                leaf evpn-imet-pmsi-originator-present {
                                  type boolean;
                                  description
                                    "EVPN IMET PMSI Originator Nexthop is present";
                                }
    
                                leaf evpn-imet-pmsi-nexthop-reachable {
                                  type boolean;
                                  description
                                    "Reachability for PMSI Originator nexthop";
                                }
    
                                list rcvd-label {
                                  description
                                    "Path received label stack";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Path received label stack";
                                  }
                                }  // list rcvd-label
    
                                list l2vpn-circuit-status-value {
                                  description
                                    "L2VPN Circuit Status Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2VPN Circuit Status Value";
                                  }
                                }  // list l2vpn-circuit-status-value
    
                                list mvpn-pmsi-value {
                                  description
                                    "Mvpn PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn PMSI Value";
                                  }
                                }  // list mvpn-pmsi-value
    
                                list extended-community {
                                  description
                                    "Mvpn Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Mvpn Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list local-peers-advertised-to {
                                  description
                                    "Local peers that this prefix has been advertised
    to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list local-peers-advertised-to
    
                                list pe-peers-advertised-to {
                                  description
                                    "PE peers that this prefix has been advertised to";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list pe-peers-advertised-to
    
                                list best-path-orrbitfield {
                                  description
                                    "ORR Best path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list best-path-orrbitfield
    
                                list add-path-orrbitfield {
                                  description
                                    "ORR Add path Bitfields";
                                  container neighbor-address {
                                    description
                                      "BGP advertised neighbor Address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container neighbor-address
    
                                  leaf is-neighbor {
                                    type boolean;
                                    description
                                      "Entry is a neighbor (not an update group)";
                                  }
    
                                  leaf update-group-afi {
                                    type uint8;
                                    description
                                      "AFI of the Update group it is advertised to";
                                  }
    
                                  leaf update-group-number {
                                    type uint32;
                                    description
                                      "Update group index";
                                  }
                                }  // list add-path-orrbitfield
                              }  // container path-info-after-policy-out
    
                              container attributes-after-policy-in {
                                description
                                  "Attributes after inbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-in
    
                              container attributes-after-policy-out {
                                description
                                  "Attributes after outbound policy";
                                container common-attributes {
                                  description
                                    "BGP entry to derive the attribute information";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container common-attributes
    
                                container attr-set {
                                  description
                                    "ATTR_SET attribute";
                                  container prefix-sid-label-index {
                                    description
                                      "Prefix-SID LabelIndex TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf label-index {
                                      type uint32;
                                      description
                                        "LabelIndex field";
                                    }
                                  }  // container prefix-sid-label-index
    
                                  container prefix-sid-orig-srgb {
                                    description
                                      "Prefix-SID OrigSRGB TLV info";
                                    leaf flags {
                                      type uint16;
                                      description
                                        "Flags field";
                                    }
    
                                    leaf range-count {
                                      type uint32;
                                      description
                                        "Number of SRGB ranges";
                                    }
    
                                    list range {
                                      description
                                        "List of SRGB ranges";
                                      leaf range-start {
                                        type uint32;
                                        description
                                          "Start of the range for BGP Segment Routing (SR)
    global block";
                                      }
    
                                      leaf range-end {
                                        type uint32;
                                        description
                                          "End of the range for BGP Segment Routing
    (SR)global block";
                                      }
                                    }  // list range
                                  }  // container prefix-sid-orig-srgb
    
                                  container prefix-sid-srv6-layer2-svc {
                                    description
                                      "Prefix-SID SRv6L2SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of SIDs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer2-svc
    
                                  container prefix-sid-srv6-layer3-svc {
                                    description
                                      "Prefix-SID SRv6L3SVC TLV info";
                                    leaf reserved {
                                      type uint8;
                                      description
                                        "Reserved field";
                                    }
    
                                    leaf sub-tlv-count {
                                      type uint16;
                                      description
                                        "Number of subtlvs";
                                    }
    
                                    list sub-tlv {
                                      description
                                        "Sub TLVs";
                                      container sub-tlv-val {
                                        description
                                          "Sub TLV Val";
                                        container sid-info {
                                          description
                                            "SIDinfo field";
                                          leaf reserved2 {
                                            type uint8;
                                            description
                                              "SUB TLV reserved";
                                          }
    
                                          leaf sid {
                                            type inet:ipv6-address;
                                            description
                                              "SID new Value";
                                          }
    
                                          leaf sid-flags {
                                            type uint8;
                                            description
                                              "SID Flags";
                                          }
    
                                          leaf sid-behavior {
                                            type uint16;
                                            description
                                              "SID ENDPT behavior";
                                          }
    
                                          leaf reserved3 {
                                            type uint8;
                                            description
                                              "SUB SUB TLV reserved";
                                          }
    
                                          leaf sub-sub-tlv-count {
                                            type uint16;
                                            description
                                              "SUB SUB TLV Count";
                                          }
    
                                          list sub-sub-tlv {
                                            description
                                              "List of sub sub tlvs";
                                            container sub-sub-tlv-val {
                                              description
                                                "Subsub TLV Val";
                                              container sid-struct {
                                                description
                                                  "SIDStruct field";
                                                leaf loc-blk-len {
                                                  type uint8;
                                                  description
                                                    "locator blk len";
                                                }
    
                                                leaf loc-node-len {
                                                  type uint8;
                                                  description
                                                    "locator node len";
                                                }
    
                                                leaf func-len {
                                                  type uint8;
                                                  description
                                                    "Function len";
                                                }
    
                                                leaf arg-len {
                                                  type uint8;
                                                  description
                                                    "Argument len";
                                                }
    
                                                leaf transpose-len {
                                                  type uint8;
                                                  description
                                                    "Transpose len";
                                                }
    
                                                leaf transpose-offset {
                                                  type uint8;
                                                  description
                                                    "Transpose offset";
                                                }
                                              }  // container sid-struct
    
                                              list unknown-buf {
                                                description
                                                  "Unknown buff";
                                                leaf entry {
                                                  type uint8;
                                                  description
                                                    "Unknown buff";
                                                }
                                              }  // list unknown-buf
                                            }  // container sub-sub-tlv-val
    
                                            leaf type {
                                              type uint8;
                                              description
                                                "SUBSUBtlv Type";
                                            }
    
                                            leaf length {
                                              type uint16;
                                              description
                                                "SUBSUBTLv length";
                                            }
                                          }  // list sub-sub-tlv
                                        }  // container sid-info
    
                                        list unknown-buf {
                                          description
                                            "Unknown buff";
                                          leaf entry {
                                            type uint8;
                                            description
                                              "Unknown buff";
                                          }
                                        }  // list unknown-buf
                                      }  // container sub-tlv-val
    
                                      leaf type {
                                        type uint8;
                                        description
                                          "Type field";
                                      }
    
                                      leaf len {
                                        type uint16;
                                        description
                                          "length of SUB_TLVs";
                                      }
                                    }  // list sub-tlv
                                  }  // container prefix-sid-srv6-layer3-svc
    
                                  container prefix-sid-unk-tlvs {
                                    description
                                      "Prefix-SID UnkTLVs TLV info";
                                    leaf tlv-count {
                                      type uint16;
                                      description
                                        "Number of unknown TLVs stored";
                                    }
    
                                    leaf received-buffer-length {
                                      type uint32;
                                      description
                                        "Received length of unknown TLVs";
                                    }
    
                                    list tl-vs-buffer {
                                      description
                                        "Limited buffer of unknown TLVs";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Limited buffer of unknown TLVs";
                                      }
                                    }  // list tl-vs-buffer
                                  }  // container prefix-sid-unk-tlvs
    
                                  container tunnel-encap {
                                    description
                                      "Tunnel Encapsulation attribute";
                                    container sr-policy {
                                      description
                                        "Tunnel encap type SR policy";
                                      container binding-sid {
                                        description
                                          "SR Policy incoming Binding sid";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container binding-sid
    
                                      container allocated-binding-sid {
                                        description
                                          "SR Policy allocated Binding sid by the router";
                                        leaf type {
                                          type Bgp-binding-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'v6'" {
                                            description
                                              "../Type = 'v6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 Addr";
                                        }
                                      }  // container allocated-binding-sid
    
                                      leaf tunnel-encap-type {
                                        type uint16;
                                        description
                                          "Tunnel Encapsulation Type";
                                      }
    
                                      leaf preference {
                                        type uint32;
                                        description
                                          "SR Policy Preference";
                                      }
    
                                      leaf state {
                                        type boolean;
                                        description
                                          "SR Policy active state in forwarding";
                                      }
    
                                      leaf request-state {
                                        type Bgp-srpolicy-req-state;
                                        description
                                          "SR Policy programming Status";
                                      }
    
                                      leaf usable {
                                        type boolean;
                                        description
                                          "SR Policy is usable on this node";
                                      }
    
                                      list segment-list {
                                        description
                                          "SR Policy Segment Lists";
                                        leaf weight {
                                          type uint8;
                                          description
                                            "Weight of segment list";
                                        }
    
                                        list segment {
                                          description
                                            "Segments in segment list";
                                          leaf type {
                                            type Sr-sid;
                                            description
                                              "Type";
                                          }
    
                                          leaf label {
                                            when
                                              "../type = 'label'" {
                                              description
                                                "../Type = 'Label'";
                                            }
                                            type uint32;
                                            description
                                              "MPLS Label value";
                                          }
    
                                          leaf ipv4-address {
                                            when
                                              "../type = 'ipv4'" {
                                              description
                                                "../Type = 'IPv4'";
                                            }
                                            type inet:ipv4-address;
                                            description
                                              "IPv4 Address value";
                                          }
    
                                          leaf ipv6-address {
                                            when
                                              "../type = 'ipv6'" {
                                              description
                                                "../Type = 'IPv6'";
                                            }
                                            type Ipv6-address;
                                            description
                                              "IPv6 address value";
                                          }
                                        }  // list segment
                                      }  // list segment-list
                                    }  // container sr-policy
                                  }  // container tunnel-encap
    
                                  leaf is-metric-present {
                                    type boolean;
                                    description
                                      "Metric attribute present";
                                  }
    
                                  leaf is-local-pref-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP local preference
    attribute is present";
                                  }
    
                                  leaf is-atomic-aggregate-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Atomic aggregate attribute
    present";
                                  }
    
                                  leaf is-aggregator-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Aggregator attribute present";
                                  }
    
                                  leaf is-origin-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if Origin attribute is present";
                                  }
    
                                  leaf is-as-path-present {
                                    type boolean;
                                    description
                                      "AS path attribute present";
                                  }
    
                                  leaf is-community-present {
                                    type boolean;
                                    description
                                      "Community attribute present";
                                  }
    
                                  leaf is-extended-community-present {
                                    type boolean;
                                    description
                                      "Extended community attribute present";
                                  }
    
                                  leaf is-ssa-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if SSA attribute is present";
                                  }
    
                                  leaf is-connector-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP attribute Connector is
    present";
                                  }
    
                                  leaf is-pmsi-present {
                                    type boolean;
                                    description
                                      "PMSI Attribute  present";
                                  }
    
                                  leaf is-pppmp-present {
                                    type boolean;
                                    description
                                      "PPMP Attribute  present";
                                  }
    
                                  leaf is-aigp-present {
                                    type boolean;
                                    description
                                      "AIGP Present";
                                  }
    
                                  leaf is-pe-distinguisher-label-present {
                                    type boolean;
                                    description
                                      "PE distinguisher label  attribute present";
                                  }
    
                                  leaf is-ls-attribute-present {
                                    type boolean;
                                    description
                                      "Flag to indicate if BGP link-state attribute
    information is present";
                                  }
    
                                  leaf is-label-index-present {
                                    type boolean;
                                    description
                                      "Label Index attribute - present - deprecated";
                                  }
    
                                  leaf is-prefix-sid-label-index-present {
                                    type boolean;
                                    description
                                      "Prefix-SID LabelIndex present";
                                  }
    
                                  leaf is-prefix-sid-orig-srgb-present {
                                    type boolean;
                                    description
                                      "Prefix-SID OrigSRGB present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer3-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L3SVC present";
                                  }
    
                                  leaf is-prefix-sid-srv6-layer2-svc-present {
                                    type boolean;
                                    description
                                      "Prefix-SID SRv6L2SVC present";
                                  }
    
                                  leaf is-prefix-sid-unk-tlvs-present {
                                    type boolean;
                                    description
                                      "Prefix-SID UnkTLVs present";
                                  }
    
                                  leaf neighbor-as {
                                    type uint32;
                                    description
                                      "Neighbor AS number";
                                  }
    
                                  leaf aggregator-as {
                                    type uint32;
                                    description
                                      "AS where aggregation was last performed";
                                  }
    
                                  leaf aggregator-address {
                                    type inet:ipv4-address;
                                    description
                                      "Address where aggregation was performed ";
                                  }
    
                                  leaf metric {
                                    type uint32;
                                    description
                                      "Metric associated with BGP attribute ";
                                  }
    
                                  leaf local-preference {
                                    type uint32;
                                    description
                                      "Flag to indicate BGP attribute is local";
                                  }
    
                                  leaf origin {
                                    type uint16;
                                    description
                                      "BGP common attribute Origin ";
                                  }
    
                                  leaf as-path {
                                    type string;
                                    description
                                      "BGP Atonomous system path attribute";
                                  }
    
                                  leaf extended-community-flags {
                                    type uint8;
                                    description
                                      "BGP attribute Extended community Flags";
                                  }
    
                                  leaf originator {
                                    type inet:ipv4-address;
                                    description
                                      "Originator attribute";
                                  }
    
                                  leaf l2tpv3-session-id {
                                    type uint32;
                                    description
                                      "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                  }
    
                                  leaf connector-type {
                                    type uint16;
                                    description
                                      "BGP attribute Connector Type";
                                  }
    
                                  leaf aigp-metric-value {
                                    type uint64;
                                    description
                                      "AIGP metric value";
                                  }
    
                                  leaf pmsi-type {
                                    type uint16;
                                    description
                                      "PMSI Type";
                                  }
    
                                  leaf pmsi-flags {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
    
                                  leaf pmsi-label {
                                    type uint32;
                                    description
                                      "PMSI label";
                                  }
    
                                  leaf ppm-pvalue {
                                    type uint32;
                                    description
                                      "PPMP Value";
                                  }
    
                                  leaf is-large-community-present {
                                    type boolean;
                                    description
                                      "Large Community attribute present";
                                  }
    
                                  list community {
                                    description
                                      "Community attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Community attribute";
                                    }
                                  }  // list community
    
                                  list extended-community {
                                    description
                                      "Extended community attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Extended community attribute";
                                    }
                                  }  // list extended-community
    
                                  list unknown-attribute {
                                    description
                                      "BGP common set of unknown attributes ";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP common set of unknown attributes ";
                                    }
                                  }  // list unknown-attribute
    
                                  list cluster {
                                    description
                                      "Cluster list attribute";
                                    leaf entry {
                                      type uint32;
                                      description
                                        "Cluster list attribute";
                                    }
                                  }  // list cluster
    
                                  list l2tpv3-cookie {
                                    description
                                      "L2TPv3 Cookie";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "L2TPv3 Cookie";
                                    }
                                  }  // list l2tpv3-cookie
    
                                  list connector-value {
                                    description
                                      "BGP attribute Connector Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP attribute Connector Value";
                                    }
                                  }  // list connector-value
    
                                  list pmsi-value {
                                    description
                                      "PMSI Value";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "PMSI Value";
                                    }
                                  }  // list pmsi-value
    
                                  list ls-attr {
                                    description
                                      "BGP LS attribute";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "BGP LS attribute";
                                    }
                                  }  // list ls-attr
    
                                  list pe-distinguisher-label {
                                    description
                                      "PE distinguisher label attribute";
                                    leaf pe-address {
                                      type inet:ipv4-address;
                                      description
                                        " PE address";
                                    }
    
                                    leaf label {
                                      type uint32;
                                      description
                                        "Label";
                                    }
                                  }  // list pe-distinguisher-label
    
                                  list large-community {
                                    description
                                      "Large Community attribute";
                                    leaf global-admin {
                                      type uint32;
                                      description
                                        "Global Administrator";
                                    }
    
                                    leaf local-data1 {
                                      type uint32;
                                      description
                                        "Local Data 1";
                                    }
    
                                    leaf local-data2 {
                                      type uint32;
                                      description
                                        "Local Data 2";
                                    }
                                  }  // list large-community
                                }  // container attr-set
    
                                container rnh-addr {
                                  description
                                    "RNH Address";
                                  leaf len {
                                    type Bgp-rnh-addr-len;
                                    description
                                      "len";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../len = 'v4'" {
                                      description
                                        "../len = 'v4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../len = 'v6'" {
                                      description
                                        "../len = 'v6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Addr";
                                  }
    
                                  leaf mac-address {
                                    when
                                      "../len = 'mac'" {
                                      description
                                        "../len = 'Mac'";
                                    }
                                    type Mac-address;
                                    description
                                      "MAC Addr";
                                  }
                                }  // container rnh-addr
    
                                container ribrnh-ip {
                                  description
                                    "RIB RNH IP Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container ribrnh-ip
    
                                leaf is-as-path2-byte {
                                  type boolean;
                                  description
                                    "AS path encoded as 2-byte";
                                }
    
                                leaf is-application-gateway-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP application gateway is
    present";
                                }
    
                                leaf is-attr-set-present {
                                  type boolean;
                                  description
                                    "BGP ATTR_SET attribute present";
                                }
    
                                leaf set-aigp-inbound-igp {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound IGP ";
                                }
    
                                leaf set-aigp-inbound-metric {
                                  type boolean;
                                  description
                                    "AIGP set by policy inbound metric";
                                }
    
                                leaf is-rnh-present {
                                  type boolean;
                                  description
                                    "RNH Attribute  present";
                                }
    
                                leaf is-ribrnh-present {
                                  type boolean;
                                  description
                                    "RIB RNH Attribute  present";
                                }
    
                                leaf attribute-key-number {
                                  type uint32;
                                  description
                                    "Number which is stored per bgp routing table on
    attribute key";
                                }
    
                                leaf attribute-reuse-id-config {
                                  type boolean;
                                  description
                                    "Attribute reuse ID Configured";
                                }
    
                                leaf attribute-reuse-id-max-id {
                                  type uint32;
                                  description
                                    "Attribute reuse ID maximum ID";
                                }
    
                                leaf attribute-reuse-id-node {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID nodes";
                                }
    
                                leaf attribute-reuse-id-current {
                                  type uint32;
                                  description
                                    "BGP Attribute reuse ID current ID";
                                }
    
                                leaf attribute-reuse-id-keys {
                                  type uint32;
                                  description
                                    "Attribute reuse ID allocated keys";
                                }
    
                                leaf attribute-reuse-id-recover-sec {
                                  type uint32;
                                  units "second";
                                  description
                                    "Attribute reuse ID timer in seconds";
                                }
    
                                leaf vpn-distinguisher {
                                  type uint32;
                                  description
                                    "VPN Distinguisher";
                                }
    
                                leaf rnh-type {
                                  type uint16;
                                  description
                                    "RNH Type";
                                }
    
                                leaf rnh-len {
                                  type uint8;
                                  description
                                    "RNH Length";
                                }
    
                                leaf rnh-addr-len {
                                  type uint32;
                                  description
                                    "RNH Address Length";
                                }
    
                                leaf ribrnh-table {
                                  type uint32;
                                  description
                                    "RIB RNH Table";
                                }
    
                                leaf ribrnh-mac {
                                  type Mac-address;
                                  description
                                    "RIB RNH MAC Address";
                                }
    
                                leaf ribrnhip-table {
                                  type uint32;
                                  description
                                    "RIB RNH IP Table";
                                }
    
                                leaf ribrnh-vni {
                                  type uint32;
                                  description
                                    "RIB RNH Vni";
                                }
    
                                leaf ribrnh-encap {
                                  type uint8;
                                  description
                                    "RIB RNH Encapsulation Type";
                                }
                              }  // container attributes-after-policy-out
    
                              leaf no-path {
                                type boolean;
                                description
                                  "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path with advertised Route Distinguisher";
                              }
    
                              leaf source-route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "BGP path advertised Source Route Distinguisher";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "Name of the VRF";
                              }
                            }  // list adv-path-info
                          }  // list advertised-path
                        }  // container advertised-paths
    
                        container neighbor-af-table {
                          description
                            "The BGP Neighbor AF table";
                          list neighbor {
                            key "neighbor-address";
                            description
                              "A BGP Neighbor table entry";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container connection-local-address {
                              description
                                "Local address for the connection";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container connection-local-address
    
                            container connection-remote-address {
                              description
                                "Remote address for the connection";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container connection-remote-address
    
                            container send-notification-info {
                              description
                                "Information on the last notification sent";
                              leaf time-since-last-notification {
                                type uint32;
                                units "second";
                                description
                                  "Time since the last notification was sent or
    received (seconds)";
                              }
    
                              leaf notification-error-code {
                                type uint8;
                                description
                                  "Error code in last notification";
                              }
    
                              leaf notification-error-subcode {
                                type uint8;
                                description
                                  "Error subcode in last notification";
                              }
    
                              list last-notification-data {
                                description
                                  "Message data in last notification";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Message data in last notification";
                                }
                              }  // list last-notification-data
                            }  // container send-notification-info
    
                            container received-notification-info {
                              description
                                "Information on the last notification received";
                              leaf time-since-last-notification {
                                type uint32;
                                units "second";
                                description
                                  "Time since the last notification was sent or
    received (seconds)";
                              }
    
                              leaf notification-error-code {
                                type uint8;
                                description
                                  "Error code in last notification";
                              }
    
                              leaf notification-error-subcode {
                                type uint8;
                                description
                                  "Error subcode in last notification";
                              }
    
                              list last-notification-data {
                                description
                                  "Message data in last notification";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Message data in last notification";
                                }
                              }  // list last-notification-data
                            }  // container received-notification-info
    
                            container performance-statistics {
                              description
                                "BGP neighbor performance statistics";
                              leaf read-throttles {
                                type uint32;
                                description
                                  "Number of partial read throttles";
                              }
    
                              leaf low-throttled-read {
                                type uint32;
                                description
                                  "Num socket reads after nbrs crossed low
    threshold";
                              }
    
                              leaf high-throttled-read {
                                type uint32;
                                description
                                  "Num of socket reads after nbr crossed high
    threshold";
                              }
    
                              leaf time-since-last-throttled-read {
                                type uint32;
                                units "second";
                                description
                                  "Time (in secs) since last read after being
    throttled";
                              }
    
                              leaf read-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to read inbound data";
                              }
    
                              leaf read-messages-count {
                                type uint32;
                                description
                                  "Number of BGP messages read";
                              }
    
                              leaf data-bytes-read {
                                type uint32;
                                units "byte";
                                description
                                  "No. of bytes of data read";
                              }
    
                              leaf io-read-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent reading inbound data (milliseconds)";
                              }
    
                              leaf write-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to write outbound data";
                              }
    
                              leaf data-bytes-written {
                                type uint32;
                                units "byte";
                                description
                                  "Number of bytes that havesent to peers";
                              }
    
                              leaf io-write-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent writing outbound data (milliseconds)";
                              }
    
                              leaf last-sent-seq-no {
                                type uint32;
                                description
                                  "Seq No of the last sent byte";
                              }
    
                              leaf write-subgroup-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to process sub-group
    message list";
                              }
    
                              leaf write-subgroup-messages-count {
                                type uint32;
                                description
                                  "Number of sub-group msgs processed";
                              }
    
                              leaf subgroup-list-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent processing sub-group message list
    (milliseconds)";
                              }
    
                              leaf write-queue-calls-count {
                                type uint32;
                                description
                                  "No. of calls to function to process write queue";
                              }
    
                              leaf write-queue-messages-count {
                                type uint32;
                                description
                                  "Number of write queue messages processed";
                              }
    
                              leaf write-queue-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent processing write queue (milliseconds)";
                              }
    
                              leaf inbound-update-messages {
                                type uint32;
                                description
                                  "Number of inbound update messages processed";
                              }
    
                              leaf inbound-update-messages-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent processing inbound update messages
    (milliseconds)";
                              }
    
                              leaf maximum-read-size {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Size of largest socket (milliseconds)";
                              }
    
                              leaf actives {
                                type uint32;
                                description
                                  "Number of retried Active opens for this neighbor";
                              }
    
                              leaf failed-post-actives {
                                type uint32;
                                description
                                  "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                              }
    
                              leaf passives {
                                type uint32;
                                description
                                  "Number of retried Passive opens for this
    neighbor";
                              }
    
                              leaf rejected-passives {
                                type uint32;
                                description
                                  "Number of rejected Passive opens for this
    neighbor";
                              }
    
                              leaf active-collision {
                                type uint32;
                                description
                                  "Number of Closed Active connections for this
    neighbor due to collision ";
                              }
    
                              leaf passive-collision {
                                type uint32;
                                description
                                  "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                              }
    
                              leaf control-to-read-thread-trigger {
                                type uint32;
                                description
                                  "Number of times io-control thread trigger read
    thread";
                              }
    
                              leaf control-to-write-thread-trigger {
                                type uint32;
                                description
                                  "Number of times io-control thread trigger write
    thread";
                              }
    
                              leaf network-status {
                                type uint32;
                                description
                                  "Socket status, TRUE if socket closed";
                              }
    
                              leaf reset-flags {
                                type uint32;
                                description
                                  "Reset flags, per thread";
                              }
    
                              leaf nbr-flags {
                                type uint32;
                                description
                                  "Nbr flags, per thread";
                              }
    
                              leaf nbr-fd {
                                type int32;
                                description
                                  "Primary FD, per nbr";
                              }
    
                              leaf reset-retries {
                                type uint8;
                                description
                                  "Reset Retries, per nbr";
                              }
    
                              leaf sync-flags {
                                type uint32;
                                description
                                  "Sync flags, per nbr";
                              }
    
                              leaf nsr-oper-down-count {
                                type uint32;
                                description
                                  "Number of times NSR scoped sync has been done";
                              }
    
                              leaf last-nsr-scoped-sync {
                                type uint32;
                                description
                                  "Last time NSR scoped syncwas done for the
    neighbor";
                              }
                            }  // container performance-statistics
    
                            container message-statistics {
                              description
                                "BGP neighbor message statistics";
                              container open {
                                description
                                  "Open";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container open
    
                              container notification {
                                description
                                  "BGP neighbor messagestatistics notification";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container notification
    
                              container update {
                                description
                                  "BGP neighbor message statisticsupdate";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container update
    
                              container keepalive {
                                description
                                  "Message sent between BGP neighborsto check the
    link between is operating";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container keepalive
    
                              container route-refresh {
                                description
                                  "BGP neighbor message statisticsroute refresh";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container route-refresh
    
                              container total {
                                description
                                  "Total";
                                container tx {
                                  description
                                    "Transmit";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container tx
    
                                container rx {
                                  description
                                    "Receive";
                                  container last-time-spec {
                                    description
                                      "BGP neighbor message statisticslast timespec";
                                    leaf seconds {
                                      type uint32;
                                      units
                                        "second";
                                      description
                                        "Seconds part of time value";
                                    }
    
                                    leaf nanoseconds {
                                      type uint32;
                                      units
                                        "nanosecond";
                                      description
                                        "Nanoseconds part of time value";
                                    }
                                  }  // container last-time-spec
    
                                  leaf count {
                                    type uint32;
                                    description
                                      "Count";
                                  }
                                }  // container rx
                              }  // container total
                            }  // container message-statistics
    
                            container tcp-init-sync-time-spec {
                              description
                                "Time When neighbor entered TCP Init Sync";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container tcp-init-sync-time-spec
    
                            container tcp-init-sync-phase-two-time-spec {
                              description
                                "Time when neighbor entered TCP Init Sync Phase
    Two";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container tcp-init-sync-phase-two-time-spec
    
                            container tcp-init-sync-done-time-spec {
                              description
                                "Time when neighbor entered TCP Init Sync Done";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container tcp-init-sync-done-time-spec
    
                            container graceful-maintenance {
                              description
                                "Globally activated BGp neighborfor graceful
    shutdown";
                              leaf gshut-exists {
                                type boolean;
                                description
                                  "Graceful Maintenance enabled";
                              }
    
                              leaf gshut-local-active {
                                type boolean;
                                description
                                  "Graceful Maintenance locally activated";
                              }
    
                              leaf gshut-active {
                                type boolean;
                                description
                                  "Graceful Maintenance activated";
                              }
    
                              leaf gshut-locpref-set {
                                type boolean;
                                description
                                  "Graceful Maintenance Local Preference set";
                              }
    
                              leaf gshut-locpref {
                                type uint32;
                                description
                                  "Graceful Maintenance Local Preference";
                              }
    
                              leaf gshut-prepends {
                                type uint8;
                                description
                                  "Graceful Maintenance number of AS prepends";
                              }
    
                              leaf gshut-interface-active {
                                type boolean;
                                description
                                  "Graceful Maintenance activated at Interface";
                              }
    
                              leaf gshut-location-active {
                                type boolean;
                                description
                                  "Graceful Maintenance activated at Location";
                              }
                            }  // container graceful-maintenance
    
                            leaf speaker-id {
                              type uint8;
                              description
                                "Speaker this neighbor is allocated to";
                            }
    
                            leaf description {
                              type string;
                              description
                                "BGP neighbor description";
                            }
    
                            leaf local-as {
                              type uint32;
                              description
                                "Local AS number";
                            }
    
                            leaf remote-as {
                              type uint32;
                              description
                                "Remote AS number";
                            }
    
                            leaf has-internal-link {
                              type boolean;
                              description
                                "Internal link to neighbor";
                            }
    
                            leaf is-external-neighbor-not-directly-connected {
                              type boolean;
                              description
                                "Flag to indicate neighbor is external and not
    directly connected";
                            }
    
                            leaf messages-received {
                              type uint32;
                              description
                                "Number of messages received";
                            }
    
                            leaf messages-sent {
                              type uint32;
                              description
                                "Number of messages sent";
                            }
    
                            leaf update-messages-in {
                              type uint32;
                              description
                                "No. of update msgs received";
                            }
    
                            leaf update-messages-out {
                              type uint32;
                              description
                                "No. of update messages sent";
                            }
    
                            leaf messages-queued-in {
                              type uint32;
                              description
                                "No. of msgs on receive queue";
                            }
    
                            leaf messages-queued-out {
                              type uint32;
                              description
                                "No. of messages on send queue";
                            }
    
                            leaf connection-established-time {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) that the connection has been
    established";
                            }
    
                            leaf connection-state {
                              type Bgp-conn-state;
                              description
                                "State of connection";
                            }
    
                            leaf previous-connection-state {
                              type uint32;
                              description
                                "Previous state of connection";
                            }
    
                            leaf connection-admin-status {
                              type uint32;
                              description
                                "Administrative status of connection";
                            }
    
                            leaf open-check-error-code {
                              type Bgp-open-check-err;
                              description
                                "Error code for open check failure forBGP
    neighbor";
                            }
    
                            leaf is-local-address-configured {
                              type boolean;
                              description
                                "Local address configured for the neighbor
    connection";
                            }
    
                            leaf connection-local-port {
                              type uint32;
                              description
                                "Local port for the connection";
                            }
    
                            leaf connection-remote-port {
                              type uint32;
                              description
                                "Remote port for the connection";
                            }
    
                            leaf neighbor-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Neighbor";
                            }
    
                            leaf reset-notification-sent {
                              type boolean;
                              description
                                "Notification was sent during last reset";
                            }
    
                            leaf is-administratively-shut-down {
                              type boolean;
                              description
                                "Flag to indicate if BGP neighbor is
    administratively shut down";
                            }
    
                            leaf is-neighbor-max-prefix-shutdown {
                              type boolean;
                              description
                                "Neighbor shut down because it exceeded max prfx
    count";
                            }
    
                            leaf is-out-of-memory-shutdown {
                              type boolean;
                              description
                                "Neighbor shut down during a SEVERE low memory
    condition";
                            }
    
                            leaf is-out-of-memory-forced-up {
                              type boolean;
                              description
                                "Neighbor forced up during a low memory condition";
                            }
    
                            leaf is-ebgp-peer-as-league {
                              type boolean;
                              description
                                "EBGP peer belongs to AS League";
                            }
    
                            leaf is-ebgp-peer-common-admin {
                              type boolean;
                              description
                                "EBGP peer with common administation";
                            }
    
                            leaf ttl-security-enabled {
                              type boolean;
                              description
                                "TTL Security enabled";
                            }
    
                            leaf suppress4-byte-as {
                              type boolean;
                              description
                                "Suppress 4byteas capability";
                            }
    
                            leaf bfd-session-state {
                              type Bgp-bfd-state;
                              description
                                "BFD state for this peer";
                            }
    
                            leaf bfd-session-created-state {
                              type Bgp-bfd-state;
                              description
                                "BFD state for this peer";
                            }
    
                            leaf bfd-session-enable-mode {
                              type Bgp-bfd-enable-mode;
                              description
                                "BFD enable mode for this peer";
                            }
    
                            leaf bfd-minintervalval {
                              type uint32;
                              description
                                "BFD Mininterval for this peer";
                            }
    
                            leaf bfd-multiplierval {
                              type uint32;
                              description
                                "BFD Multiplier for this peer";
                            }
    
                            leaf bfd-state-ts {
                              type uint64;
                              description
                                "Timestamp since when nbr is in this bfd state";
                            }
    
                            leaf router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID for the neighbor";
                            }
    
                            leaf negotiated-protocol-version {
                              type uint16;
                              description
                                "Negotiated protocol version with the BGP
    neighbor";
                            }
    
                            leaf ebgp-time-to-live {
                              type uint32;
                              description
                                "Maximum number of hops for external BGP neighbor";
                            }
    
                            leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                              type boolean;
                              description
                                "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                            }
    
                            leaf tcpmss {
                              type uint32;
                              description
                                "Neighbor TCP Maximum Segment
    size";
                            }
    
                            leaf msg-log-in {
                              type uint32;
                              description
                                "Message in log count";
                            }
    
                            leaf msg-log-out {
                              type uint32;
                              description
                                "Message out log count";
                            }
    
                            leaf neighbor-local-as {
                              type uint32;
                              description
                                "Local AS configured on the neighbor";
                            }
    
                            leaf local-as-no-prepend {
                              type boolean;
                              description
                                "Option to not prepend the Local AS to
    announcements";
                            }
    
                            leaf is-capability-negotiation-suppressed {
                              type boolean;
                              description
                                "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                            }
    
                            leaf is-capability-negotiation-performed {
                              type boolean;
                              description
                                "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                            }
    
                            leaf is-route-refresh-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if the neighbor supports
    route-refresh was received";
                            }
    
                            leaf is-route-refresh-old-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                            }
    
                            leaf is-gr-aware {
                              type boolean;
                              description
                                "GR awareness received";
                            }
    
                            leaf is4-byte-as-capability-received {
                              type boolean;
                              description
                                "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                            }
    
                            leaf is4-byte-as-capability-sent {
                              type boolean;
                              description
                                "4-byte AScapability Snt";
                            }
    
                            leaf multi-protocol-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if multi-protocol capability
    has been received";
                            }
    
                            leaf hold-time {
                              type uint16;
                              units "second";
                              description
                                "Hold time (in secs) negotiated for this
    connection";
                            }
    
                            leaf keep-alive-time {
                              type uint16;
                              units "second";
                              description
                                "Keepalive time (in secs) negotiated for this
    connection";
                            }
    
                            leaf configured-hold-time {
                              type uint16;
                              units "second";
                              description
                                "Hold time (in secs) configured for this
    connection";
                            }
    
                            leaf configured-keepalive {
                              type uint16;
                              units "second";
                              description
                                "Keepalive time (in secs) configured for this
    connection";
                            }
    
                            leaf configured-min-acc-hold-time {
                              type uint16;
                              units "second";
                              description
                                "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                            }
    
                            leaf min-advertise-interval {
                              type uint32;
                              units "second";
                              description
                                "Minimum advertisement interval, secs part";
                            }
    
                            leaf min-advertise-interval-msecs {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Minimum advertisement interval, msecs part";
                            }
    
                            leaf min-origination-interval {
                              type uint16;
                              units "second";
                              description
                                "Minimum origination interval (in secs)";
                            }
    
                            leaf connect-retry-interval {
                              type uint16;
                              units "second";
                              description
                                "Time (in secs) for connect retry timer";
                            }
    
                            leaf time-since-last-update {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last update message was
    received";
                            }
    
                            leaf time-since-last-read {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last read";
                            }
    
                            leaf time-since-last-read-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last read before last reset";
                            }
    
                            leaf time-last-cb {
                              type uint64;
                              description "CB";
                            }
    
                            leaf time-last-cb-reset {
                              type uint32;
                              description
                                "Last CB before reset";
                            }
    
                            leaf time-last-fb {
                              type uint64;
                              description "FB";
                            }
    
                            leaf count-last-write {
                              type uint32;
                              description
                                "Count";
                            }
    
                            leaf time-since-last-write {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write";
                            }
    
                            leaf attempted-last-write-bytes {
                              type uint32;
                              description
                                "Attempted size of last write";
                            }
    
                            leaf actual-last-write-bytes {
                              type uint32;
                              description
                                "Actual size of last write";
                            }
    
                            leaf time-since-second-last-write {
                              type uint32;
                              units "second";
                              description
                                "Time (in seconds) elapsed since the second last
    write event";
                            }
    
                            leaf attempted-second-last-write-bytes {
                              type uint32;
                              description
                                "Attempted size of second last write";
                            }
    
                            leaf actual-second-last-write-bytes {
                              type uint32;
                              description
                                "Actual size of second last write";
                            }
    
                            leaf time-since-last-write-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write before last
    reset";
                            }
    
                            leaf attempted-last-write-reset-bytes {
                              type uint32;
                              description
                                "Attempted size of last write before reset";
                            }
    
                            leaf actual-last-write-reset-bytes {
                              type uint32;
                              description
                                "Actual size of last write before reset";
                            }
    
                            leaf time-since-second-last-write-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write before last
    reset";
                            }
    
                            leaf attempted-second-last-write-reset-bytes {
                              type uint32;
                              description
                                "Attempted size of second last write before reset";
                            }
    
                            leaf actual-second-last-write-reset-bytes {
                              type uint32;
                              description
                                "Actual size of second last write before reset";
                            }
    
                            leaf last-write-event {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last write thread event";
                            }
    
                            leaf second-last-write-event {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since second last write thread
    event";
                            }
    
                            leaf last-k-aexpiry-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last KA timer expiry before
    reset";
                            }
    
                            leaf second-last-k-aexpiry-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since second last KA timer expiry
    before reset";
                            }
    
                            leaf last-k-anotsent-reset {
                              type uint32;
                              units "second";
                              description
                                "Duration (in secs) since last time that KA was
    not sent before reset";
                            }
    
                            leaf last-k-aerror-reset {
                              type uint32;
                              units "second";
                              description
                                "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                            }
    
                            leaf last-k-astart-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since the last KA timer start
    before reset";
                            }
    
                            leaf second-last-k-astart-reset {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since the second last KA timer
    start before reset";
                            }
    
                            leaf connection-up-count {
                              type uint32;
                              description
                                "Number of times the connection was established";
                            }
    
                            leaf connection-down-count {
                              type uint32;
                              description
                                "Number of times connection was dropped";
                            }
    
                            leaf time-since-connection-last-dropped {
                              type uint32;
                              units "second";
                              description
                                "Time since the connection last went down
    (seconds)";
                            }
    
                            leaf reset-reason {
                              type Bgp-reset-reason-index;
                              description
                                "Reason for last connection reset";
                            }
    
                            leaf peer-reset-reason {
                              type Bgp-peer-reset-reason-index;
                              description
                                "Reason for last peer close event";
                            }
    
                            leaf peer-error-code {
                              type uint32;
                              description
                                "If peer closed, error received from transport";
                            }
    
                            leaf last-notify-error-code {
                              type uint8;
                              description
                                "Code for the last error notification seen on the
    connection";
                            }
    
                            leaf last-notify-error-subcode {
                              type uint8;
                              description
                                "Error subcode of the last error notification
    seen on the connection";
                            }
    
                            leaf error-notifies-received {
                              type uint32;
                              description
                                "Number of error notifications received on the
    connection";
                            }
    
                            leaf error-notifies-sent {
                              type uint32;
                              description
                                "Number of error notifications sent on the
    connection";
                            }
    
                            leaf remote-as-number {
                              type uint32;
                              description
                                "Remote AS number of BGP neighbor";
                            }
    
                            leaf dmz-link-bandwidth {
                              type uint32;
                              description
                                "Bandwidth of link to single-hop eBGP peer";
                            }
    
                            leaf ebgp-recv-dmz {
                              type boolean;
                              description
                                "Receive Bandwidth of link to single-hop eBGP
    peer";
                            }
    
                            leaf ebgp-send-dmz-mode {
                              type Bgp-ebgp-send-dmz-enable-mode;
                              description
                                "Ebgp send dmz link bw mode";
                            }
    
                            leaf tos-type {
                              type uint8;
                              description
                                "Precedence or DSCP type";
                            }
    
                            leaf tos-value {
                              type uint8;
                              description
                                "Precedence or DSCP value";
                            }
    
                            leaf tcp-session-open-mode {
                              type Bgp-tcp-mode;
                              description
                                "The TCP mode to be used to set up BGP session
    with the neighbor";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf standby-rp {
                              type boolean;
                              description
                                "Standby RP socket inited for Active Open";
                            }
    
                            leaf nsr-enabled {
                              type boolean;
                              description
                                "Neighbor supports NSR";
                            }
    
                            leaf graceful-restart-enabled-nbr {
                              type boolean;
                              description
                                "Neighbor supports graceful-restart";
                            }
    
                            leaf gr-restart-time {
                              type uint32;
                              units "second";
                              description
                                "Neighbor restart time (in seconds)";
                            }
    
                            leaf gr-stale-path-time {
                              type uint32;
                              units "second";
                              description
                                "Neighbor stale-path time (in seconds)";
                            }
    
                            leaf fssn-offset {
                              type uint32;
                              description
                                "First standby SeqNo offset";
                            }
    
                            leaf fpbsn-offset {
                              type uint32;
                              description
                                "First standby PDU boundary SeqNo offset";
                            }
    
                            leaf last-ackd-seq-no {
                              type uint32;
                              description
                                "SeqNo of the last Ackd byte";
                            }
    
                            leaf bytes-written {
                              type uint32;
                              units "byte";
                              description
                                "Total bytes written by write thread";
                            }
    
                            leaf bytes-read {
                              type uint32;
                              units "byte";
                              description
                                "Total bytes read";
                            }
    
                            leaf socket-read-bytes {
                              type uint32;
                              units "byte";
                              description
                                "Total read bytes value insocket-lib";
                            }
    
                            leaf is-read-disabled {
                              type boolean;
                              description
                                "If true, socket read isdisabled";
                            }
    
                            leaf update-bytes-read {
                              type uint32;
                              units "byte";
                              description
                                "Total number of bytes readcorresponding to
    update messages";
                            }
    
                            leaf nsr-state {
                              type Bgp-sync-nbr-nsr-state;
                              description
                                "NSR state";
                            }
    
                            leaf is-passive-close {
                              type boolean;
                              description
                                "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                            }
    
                            leaf nbr-enforce-first-as {
                              type boolean;
                              description
                                "Neighbor enforce first AS";
                            }
    
                            leaf active-bmp-servers {
                              type uint8;
                              description
                                "BMP Servers to which the neighbor sends logs";
                            }
    
                            leaf nbr-cluster-id {
                              type uint32;
                              description
                                "Cluster id";
                            }
    
                            leaf nbr-in-cluster {
                              type uint8;
                              description
                                "Type of cluster_id:undefined/number/Ip address";
                            }
    
                            leaf ignore-connected {
                              type boolean;
                              description
                                "If true, the VPN client isan IBGP CE peer";
                            }
    
                            leaf internal-vpn-client {
                              type boolean;
                              description
                                "If true, don't do NHconnected check for nbr";
                            }
    
                            leaf io-armed {
                              type boolean;
                              description
                                "If true, socket has beenauto-armed for io
    control";
                            }
    
                            leaf read-armed {
                              type boolean;
                              description
                                "If true, socket has beenauto-armed for read";
                            }
    
                            leaf write-armed {
                              type boolean;
                              description
                                "If true, socket has beenauto-armed for write";
                            }
    
                            leaf discard-data-bytes {
                              type uint32;
                              units "byte";
                              description
                                "Remaining discard data (bytes) on Standby";
                            }
    
                            leaf local-as-replace-as {
                              type boolean;
                              description
                                "Local AS Replace-AS option";
                            }
    
                            leaf local-as-dual-as {
                              type boolean;
                              description
                                "Local AS Dual-AS option";
                            }
    
                            leaf local-as-dual-as-mode-native {
                              type boolean;
                              description
                                "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                            }
    
                            leaf egress-peer-engineering-enabled {
                              type boolean;
                              description
                                "Indicates if Egress Peer Engineering is enabled";
                            }
    
                            leaf discard-as4-path {
                              type uint32;
                              description
                                "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                            }
    
                            leaf rpki-disable {
                              type boolean;
                              description
                                "Prefix validation disabled";
                            }
    
                            leaf rpki-use-validity {
                              type boolean;
                              description
                                "Prefix v. use validity";
                            }
    
                            leaf rpki-allow-invalid {
                              type boolean;
                              description
                                "Prefix v. allow invalid";
                            }
    
                            leaf rpki-signal-ibgp {
                              type boolean;
                              description
                                "Prefix v. signal ibgp";
                            }
    
                            leaf dynamic-neighbor {
                              type boolean;
                              description
                                "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                            }
    
                            leaf merge-inbound-safi1and4-updates {
                              type boolean;
                              description
                                "Merge SAFI-1 and SAFI-4 updates from neighbor";
                            }
    
                            leaf is-capability-enhe-suppressed {
                              type boolean;
                              description
                                "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                            }
    
                            leaf delete-time-remaining {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) remaining for deletion";
                            }
    
                            leaf sn-bfd-discriminator {
                              type uint32;
                              description
                                "Local Discriminator for the associated BFD
    session";
                            }
    
                            list af-data {
                              max-elements 25;
                              description
                                "Address family specific neighbor data";
                              container neighbor-af-performance-statistics {
                                description
                                  "Neighbor AF statistics";
                                leaf sub-group-pending-message-count {
                                  type uint32;
                                  description
                                    "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                                }
    
                                leaf processed-messages {
                                  type uint32;
                                  description
                                    "Number of messages processed from the neighbor's
    write queue";
                                }
    
                                leaf sent-messages {
                                  type uint32;
                                  description
                                    "Number of messages sent from the neighbor's
    write queue";
                                }
    
                                leaf split-horizon-update-transmit {
                                  type uint32;
                                  description
                                    "No. of update messages with split-horizon flag
    that were sent out";
                                }
    
                                leaf split-horizon-update-blocked {
                                  type uint32;
                                  description
                                    "No. of update messages with split-horizon flag
    that were blocked";
                                }
    
                                leaf split-horizon-withdraw-transmit {
                                  type uint32;
                                  description
                                    "No. of withdraw messages with split-horizon flag
    that were sent out";
                                }
    
                                leaf split-horizon-withdraw-blocked {
                                  type uint32;
                                  description
                                    "No. of withdraw messages with split-horizon flag
    that were blocked";
                                }
                              }  // container neighbor-af-performance-statistics
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf is-neighbor-route-reflector-client {
                                type boolean;
                                description
                                  "Nbr is a route reflector client";
                              }
    
                              leaf is-legacy-pe-rt {
                                type boolean;
                                description
                                  "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                              }
    
                              leaf is-neighbor-af-capable {
                                type boolean;
                                description
                                  "Address family capability received from neighbor";
                              }
    
                              leaf is-soft-reconfiguration-inbound-allowed {
                                type boolean;
                                description
                                  "Inbound soft reconfiguration allowed";
                              }
    
                              leaf is-use-soft-reconfiguration-always-on {
                                type boolean;
                                description
                                  "Soft reconf overrides route refresh";
                              }
    
                              leaf remove-private-as-from-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates to this
    nbr";
                              }
    
                              leaf remove-private-as-entire-aspath-from-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                              }
    
                              leaf remove-private-as-from-inbound-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates from
    this nbr";
                              }
    
                              leaf remove-private-as-entire-aspath-from-inbound-updates {
                                type boolean;
                                description
                                  "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                              }
    
                              leaf flowspec-validation-d-isable {
                                type boolean;
                                description
                                  "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                              }
    
                              leaf flowspec-redirect-validation-d-isable {
                                type boolean;
                                description
                                  "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                              }
    
                              leaf orr-group-name {
                                type string;
                                description
                                  "ORR Group Name";
                              }
    
                              leaf orr-group-index {
                                type uint32;
                                description
                                  "ORR Group Index";
                              }
    
                              leaf is-orr-root-address-configured {
                                type boolean;
                                description
                                  "ORR Root address configuredfor the neighbor
    connection";
                              }
    
                              leaf advertise-afi {
                                type boolean;
                                description
                                  "Encode in Advertise AFI";
                              }
    
                              leaf advertise-afi-reorg {
                                type boolean;
                                description
                                  "Encode in Advertise AFI";
                              }
    
                              leaf advertise-afi-disable {
                                type boolean;
                                description
                                  "Encode in Advertise AFI";
                              }
    
                              leaf encapsulation-type {
                                type uint32;
                                description
                                  "BGP neighbor address-familyencapsulation type";
                              }
    
                              leaf advertise-rt-type {
                                type uint8;
                                description
                                  "BGP neighbor address-familyadvertise route
    target type";
                              }
    
                              leaf advertise-afi-def-vrf-imp-disable {
                                type boolean;
                                description
                                  "Advertise of default VRF import disable";
                              }
    
                              leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v4 default VRF import disable";
                              }
    
                              leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v6 default VRF import disable";
                              }
    
                              leaf advertise-afi-vrf-re-imp-disable {
                                type boolean;
                                description
                                  "Advertise of VRF re-import disable";
                              }
    
                              leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v4 VRF re-import disable";
                              }
    
                              leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                                type boolean;
                                description
                                  "Advertise of v6 VRF re-import disable";
                              }
    
                              leaf advertise-afi-eo-r-ready {
                                type boolean;
                                description
                                  "EoR Can be sent for Advertise AFI";
                              }
    
                              leaf always-use-next-hop-local {
                                type boolean;
                                description
                                  "Local router always used for next-hop";
                              }
    
                              leaf sent-community-to-neighbor {
                                type boolean;
                                description
                                  "Community attribute sent to neighbor";
                              }
    
                              leaf sent-gshut-community-to-neighbor {
                                type boolean;
                                description
                                  "GSHUT Community attribute sent to neighbor";
                              }
    
                              leaf sent-extended-community-to-neighbor {
                                type boolean;
                                description
                                  "Extended community attribute sent to neighbor";
                              }
    
                              leaf default-originate-vpn-index {
                                type uint32;
                                description
                                  "Default orig vpn indexto find bitfield for a nbr
    af";
                              }
    
                              leaf neighbor-default-originate {
                                type boolean;
                                description
                                  "Neighbor originates default";
                              }
    
                              leaf is-orf-sent {
                                type boolean;
                                description
                                  "Outbound route filter sent to neighbor";
                              }
    
                              leaf is-update-deferred {
                                type boolean;
                                description
                                  "Update deferred until ORF/route refresh received";
                              }
    
                              leaf is-orf-send-scheduled {
                                type boolean;
                                description
                                  "Scheduled to send prefix based ORF";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
    
                              leaf filter-group-index {
                                type uint32;
                                description
                                  "BGP neighbor address-familyfilter group index";
                              }
    
                              leaf is-update-throttled {
                                type boolean;
                                description
                                  "Updates Throttled becausewrite limit is reached";
                              }
    
                              leaf is-update-leaving {
                                type boolean;
                                description
                                  "Nbr leaving update-groupto another";
                              }
    
                              leaf vpn-update-gen-enabled {
                                type boolean;
                                description
                                  "RT Nbr enabled for updategento another";
                              }
    
                              leaf vpn-update-gen-trigger-enabled {
                                type boolean;
                                description
                                  "RT Nbr enabled for updategento another";
                              }
    
                              leaf is-addpath-send-operational {
                                type boolean;
                                description
                                  "Addpath is operational on send-side";
                              }
    
                              leaf is-addpath-receive-operational {
                                type boolean;
                                description
                                  "Addpath is operational on receive-side";
                              }
    
                              leaf neighbor-version {
                                type uint32;
                                description
                                  "BGP neighbor version for theaddress-family";
                              }
    
                              leaf weight {
                                type uint32;
                                description
                                  "Weight for this AF";
                              }
    
                              leaf max-prefix-limit {
                                type uint32;
                                description
                                  "Max limit for # of prefixes";
                              }
    
                              leaf use-max-prefix-warning-only {
                                type boolean;
                                description
                                  "Warning only when maximum prefix limit reached";
                              }
    
                              leaf max-prefix-discard-extra-paths {
                                type boolean;
                                description
                                  "Discard extra paths when prefix limit reached";
                              }
    
                              leaf max-prefix-exceed-discard-paths {
                                type boolean;
                                description
                                  "Did we discard extra paths when prefix limit
    reached";
                              }
    
                              leaf max-prefix-threshold-percent {
                                type uint8;
                                units
                                  "percentage";
                                description
                                  "Percentage of maximum no. of prefixes at which
    to generate warning";
                              }
    
                              leaf max-prefix-discard-paths-count {
                                type uint32;
                                description
                                  "Number of discarded paths after prefix limit
    reached";
                              }
    
                              leaf max-prefix-restart-time {
                                type uint16;
                                units "minute";
                                description
                                  "Time interval (in minutes) after which peering
    session will be reestablished";
                              }
    
                              leaf prefixes-accepted {
                                type uint32;
                                description
                                  "Number of prefixes acceptedfrom this BGP
    neighbor";
                              }
    
                              leaf prefixes-synced {
                                type uint32;
                                description
                                  "Number of prefixes synced to standby";
                              }
    
                              leaf prefixes-withdrawn-not-found {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                              }
    
                              leaf prefixes-denied {
                                type uint32;
                                description
                                  "Number of prefixes denied forthis BGP neighbor";
                              }
    
                              leaf prefixes-denied-no-policy {
                                type uint32;
                                description
                                  "No. of prefixes denied because there was no
    inbound policy";
                              }
    
                              leaf prefixes-denied-rt-permit {
                                type uint32;
                                description
                                  "No. of prefixes denied because RT extended
    community is not imported";
                              }
    
                              leaf prefixes-denied-orf-policy {
                                type uint32;
                                description
                                  "No. of prefixes denied by prefix based ORF
    policy";
                              }
    
                              leaf prefixes-denied-policy {
                                type uint32;
                                description
                                  "No. of prefixes denied by inbound policy";
                              }
    
                              leaf number-of-bestpaths {
                                type uint32;
                                description
                                  "No. of bestpaths from this neighbor";
                              }
    
                              leaf number-of-best-externalpaths {
                                type uint32;
                                description
                                  "No. of best-external paths from this neighbor";
                              }
    
                              leaf prefixes-advertised {
                                type uint32;
                                description
                                  "Number of prefixes advertisedfor this BGP
    neighbor";
                              }
    
                              leaf prefixes-be-advertised {
                                type uint32;
                                description
                                  "Number of BE prefixes advertised";
                              }
    
                              leaf prefixes-suppressed {
                                type uint32;
                                description
                                  "Number of prefixes suppressed";
                              }
    
                              leaf prefixes-withdrawn {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn";
                              }
    
                              leaf is-peer-orf-capable {
                                type boolean;
                                description
                                  "Peer has outbound route filter capability";
                              }
    
                              leaf is-advertised-orf-send {
                                type boolean;
                                description
                                  "Prefix based ORF send mode capability advertised";
                              }
    
                              leaf is-received-orf-send-capable {
                                type boolean;
                                description
                                  "Prefix based ORF send mode capability received";
                              }
    
                              leaf is-advertised-orf-receive {
                                type boolean;
                                description
                                  "Prefix based ORF receive mode capability
    advertised";
                              }
    
                              leaf is-received-orf-receive-capable {
                                type boolean;
                                description
                                  "Prefix based ORF receive mode capability
    received";
                              }
    
                              leaf is-advertised-graceful-restart {
                                type boolean;
                                description
                                  "Graceful Restart Capability advertised";
                              }
    
                              leaf is-graceful-restart-state-flag {
                                type boolean;
                                description
                                  "Restart state flag enabled";
                              }
    
                              leaf is-received-graceful-restart-capable {
                                type boolean;
                                description
                                  "Graceful Restart Capability received";
                              }
    
                              leaf is-add-path-send-capability-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                              }
    
                              leaf is-add-path-send-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate if addpath send capability
    received from BGP neighbor";
                              }
    
                              leaf is-add-path-receive-capability-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                              }
    
                              leaf is-add-path-receive-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate addpath receive capability
    received from BGPneighbor";
                              }
    
                              leaf is-ext-nh-encoding-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                              }
    
                              leaf is-ext-nh-encoding-capability-sent {
                                type boolean;
                                description
                                  "Extended nexhop encoding capability Sent";
                              }
    
                              leaf restart-time {
                                type uint32;
                                units "second";
                                description
                                  "Restart time advertised (seconds)";
                              }
    
                              leaf local-restart-time {
                                type uint32;
                                units "second";
                                description
                                  "Local Restart time (seconds)";
                              }
    
                              leaf stale-path-timeout {
                                type uint32;
                                units "second";
                                description
                                  "Stale path timeout time (in seconds)";
                              }
    
                              leaf rib-purge-timeout-value {
                                type uint32;
                                units "second";
                                description
                                  "RIB purge timeout time (in seconds)";
                              }
    
                              leaf neighbor-preserved-forwarding-state {
                                type boolean;
                                description
                                  "Flag to indicate neighbor preserved in
    forwarding state";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-configured {
                                type boolean;
                                description
                                  "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-sent {
                                type uint32;
                                units "second";
                                description
                                  "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-accept {
                                type uint32;
                                units "second";
                                description
                                  "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                              }
    
                              leaf long-lived-graceful-restart-capability-received {
                                type boolean;
                                description
                                  "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                              }
    
                              leaf long-lived-graceful-restart-stale-time-received {
                                type uint32;
                                units "second";
                                description
                                  "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                              }
    
                              leaf neighbor-preserved-long-lived-forwarding-state {
                                type boolean;
                                description
                                  "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                              }
    
                              leaf neighbor-long-lived-graceful-restart-capable {
                                type boolean;
                                description
                                  "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                              }
    
                              leaf neighbor-long-lived-graceful-restart-time-remaining {
                                type uint32;
                                description
                                  "Remaining long-lived graceful-restart time";
                              }
    
                              leaf route-refreshes-received {
                                type uint32;
                                description
                                  "Number of route refresh requests received";
                              }
    
                              leaf route-refreshes-sent {
                                type uint32;
                                description
                                  "Number of route refresh requests sent";
                              }
    
                              leaf refresh-target-version {
                                type uint32;
                                description
                                  "Target version for refresh update generation";
                              }
    
                              leaf refresh-version {
                                type uint32;
                                description
                                  "Version till which refresh updates have been
    generated";
                              }
    
                              leaf refresh-acked-version {
                                type uint32;
                                description
                                  "Version acked by the peer for refresh updates
    sent";
                              }
    
                              leaf is-prefix-orf-present {
                                type boolean;
                                description
                                  "Outbound route filter prefix ORF present";
                              }
    
                              leaf orf-entries-received {
                                type uint32;
                                description
                                  "Number of outbound route filter entries received";
                              }
    
                              leaf is-default-originate-sent {
                                type boolean;
                                description
                                  "Default origination update sent";
                              }
    
                              leaf route-policy-prefix-orf {
                                type string;
                                description
                                  "Prefix based ORF for incoming updates";
                              }
    
                              leaf route-policy-in {
                                type string;
                                description
                                  "Incoming route policy name";
                              }
    
                              leaf route-policy-out {
                                type string;
                                description
                                  "Outgoing route policy name";
                              }
    
                              leaf route-policy-default-originate {
                                type string;
                                description
                                  "Default-originate route policy name";
                              }
    
                              leaf is-neighbor-ebgp-without-inbound-policy {
                                type boolean;
                                description
                                  "eBGP neighbor with no configured inbound policy";
                              }
    
                              leaf is-neighbor-ebgp-without-outbound-policy {
                                type boolean;
                                description
                                  "eBGP neighbor with no configured outbound policy";
                              }
    
                              leaf is-upd-orig-loopchk-disable-set {
                                type boolean;
                                description
                                  "Flag to indicate if update out originator
    loopcheck is disabled";
                              }
    
                              leaf is-as-override-set {
                                type boolean;
                                description
                                  "Flag to indicate as override set for BGP
    neighbor";
                              }
    
                              leaf is-allow-as-in-set {
                                type boolean;
                                description
                                  "Allowas-in set ";
                              }
    
                              leaf allow-as-in-count {
                                type uint32;
                                description
                                  "Allowas-in count config";
                              }
    
                              leaf address-family-long-lived-time {
                                type uint32;
                                description
                                  "AF specific Long-lived-time config";
                              }
    
                              leaf eo-r-received-in-read-only {
                                type boolean;
                                description
                                  "An EoR was received while in read-only mode";
                              }
    
                              leaf acked-version {
                                type uint32;
                                description
                                  "Version mapped from acked seqNo";
                              }
    
                              leaf synced-acked-version {
                                type uint32;
                                description
                                  "Version mapped from acked seqNo that was synced
    last";
                              }
    
                              leaf outstanding-version {
                                type uint32;
                                description
                                  "No. of all outstanding version objects waiting
    for ack from the peer";
                              }
    
                              leaf outstanding-refresh-version {
                                type uint32;
                                description
                                  "No. of only refresh version objects waiting for
    ack from the peer";
                              }
    
                              leaf outstanding-version-max {
                                type uint32;
                                description
                                  "Version mapped from acked seqNo that was synced
    last";
                              }
    
                              leaf is-aigp-set {
                                type boolean;
                                description
                                  "AIGP set ";
                              }
    
                              leaf is-rt-present {
                                type boolean;
                                description
                                  "RT attribute list present";
                              }
    
                              leaf is-rt-present-standby {
                                type boolean;
                                description
                                  "RT attribute list present";
                              }
    
                              leaf accept-own-enabled {
                                type boolean;
                                description
                                  "Flag to indicate if Accept-Own is enabled";
                              }
    
                              leaf selective-multipath-eligible {
                                type boolean;
                                description
                                  "Flag to indicate if selective multipath is
    eligible";
                              }
    
                              leaf afrpki-disable {
                                type boolean;
                                description
                                  "Prefix validation disabled";
                              }
    
                              leaf afrpki-use-validity {
                                type boolean;
                                description
                                  "Prefix v. use validity";
                              }
    
                              leaf afrpki-allow-invalid {
                                type boolean;
                                description
                                  "Prefix v. allow invalid";
                              }
    
                              leaf afrpki-signal-ibgp {
                                type boolean;
                                description
                                  "Prefix v. signal ibgp";
                              }
    
                              leaf is-advertise-permanent-network {
                                type boolean;
                                description
                                  "Flag to indicate if advertise is permanent
    network";
                              }
    
                              leaf is-send-mcast-attr {
                                type boolean;
                                description
                                  "Send Mcast Attr";
                              }
    
                              leaf import-stitching {
                                type boolean;
                                description
                                  "Import Stitching enabled";
                              }
    
                              leaf import-reoriginate {
                                type boolean;
                                description
                                  "Import Reoriginate enabled";
                              }
    
                              leaf import-reoriginate-stitching {
                                type boolean;
                                description
                                  "Import Reoriginate Stitching enabled";
                              }
    
                              leaf advertise-v4-flags {
                                type uint32;
                                description
                                  "Advertise options for VPNV4";
                              }
    
                              leaf advertise-v6-flags {
                                type uint32;
                                description
                                  "Advertise options for VPNV6";
                              }
    
                              leaf advertise-local-labeled-route-unicast {
                                type boolean;
                                description
                                  "Advertise routes with ";
                              }
    
                              leaf prefixes-denied-non-cumulative {
                                type uint32;
                                description
                                  "No. of prefixes exactly denied (non cumulative)";
                              }
    
                              leaf enable-label-stack {
                                type boolean;
                                description
                                  "Flag to indicate if label stack is enabled";
                              }
    
                              leaf ot-prov-track-enable {
                                type boolean;
                                description
                                  "OT Provider Tracking enabled";
                              }
    
                              leaf ot-prov-track-state {
                                type Bgp-track-state;
                                description
                                  "OT Provider Tracking state";
                              }
    
                              leaf ot-prov-track-in-gr-state {
                                type boolean;
                                description
                                  "OT Provider Track in GR State";
                              }
    
                              leaf ot-prov-track-eor-tmr-running {
                                type boolean;
                                description
                                  "OT Provider Track EOR timer running";
                              }
    
                              leaf slow-peer-flags {
                                type uint8;
                                description
                                  "Slow Peer Flags ";
                              }
    
                              leaf slow-peer-static {
                                type boolean;
                                description
                                  "Static Slow Peer ";
                              }
    
                              leaf slow-peer-dynamic {
                                type boolean;
                                description
                                  "Dynamic Slow Peer";
                              }
    
                              leaf slow-peer-permanent {
                                type boolean;
                                description
                                  "Permanent Slow Peer";
                              }
    
                              leaf slow-peer-count {
                                type uint16;
                                description
                                  "Slow peer count";
                              }
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list extended-community-standby {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community-standby
                            }  // list af-data
                          }  // list neighbor
                        }  // container neighbor-af-table
    
                        container epe-objects {
                          description
                            "The BGP Egress Engineering table";
                          list epe-object {
                            description
                              "A BGP Egress Engineering object";
                            leaf epe-type {
                              type Bgp-epe-obj;
                              description
                                "Type of EPE object. Can be Peer, Peer-set or
    Adjacency";
                            }
    
                            leaf epe-object-key {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Value of the EPE object.Please provide a
    number forPeer-Set and an IP addressfor peer
    or adjacency";
                            }
    
                            container epe-local-address {
                              description
                                "Local address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container epe-local-address
    
                            container epe-next-hop {
                              description
                                "Nexthop address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container epe-next-hop
    
                            leaf epe-key-length {
                              type uint8;
                              description
                                "EPE key length in bits";
                            }
    
                            leaf epe-type-xr {
                              type uint8;
                              description
                                "Type of EPE object";
                            }
    
                            leaf epe-version {
                              type uint32;
                              description
                                "EPE object's version";
                            }
    
                            leaf epe-flags {
                              type uint16;
                              description
                                "EPE object's flags";
                            }
    
                            leaf epe-local-asn {
                              type uint32;
                              description
                                "Local AS Number";
                            }
    
                            leaf epe-remote-asn {
                              type uint32;
                              description
                                "Remote AS Number";
                            }
    
                            leaf epe-remote-router-id {
                              type uint32;
                              description
                                "BGP egress peer engineeringremote router id";
                            }
    
                            leaf epe-local-router-id {
                              type uint32;
                              description
                                "BGP egress peer engineeringlocal router id";
                            }
    
                            leaf label {
                              type uint32;
                              description
                                "Label assigned to the RPCnext-hop set";
                            }
    
                            leaf ref-count {
                              type uint32;
                              description
                                "Reference count indicates numberof places being
    updated";
                            }
    
                            leaf rpc-set-object-id {
                              type uint32;
                              description
                                "RPC set object ID";
                            }
    
                            list epe-key {
                              description
                                "Key of EPE object";
                              leaf entry {
                                type uint8;
                                description
                                  "Key of EPE object";
                              }
                            }  // list epe-key
    
                            list nexthop-id {
                              description
                                "List of nexthop ID of EPE";
                              leaf entry {
                                type uint32;
                                description
                                  "List of nexthop ID of EPE";
                              }
                            }  // list nexthop-id
    
                            list ifhandle {
                              description
                                "List of ifhandle of EPE";
                              leaf entry {
                                type uint32;
                                description
                                  "List of ifhandle of EPE";
                              }
                            }  // list ifhandle
    
                            list first-hop {
                              description
                                "List of firsthops of EPE";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // list first-hop
    
                            list linked-epe {
                              description
                                "List of EPE objects linked to this current EPE
    object";
                              leaf epe-key-length {
                                type uint8;
                                description
                                  "EPE key length in bits";
                              }
    
                              leaf epe-type {
                                type uint8;
                                description
                                  "Type of EPE object";
                              }
    
                              list epe-key {
                                description
                                  "Key of EPE object";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Key of EPE object";
                                }
                              }  // list epe-key
                            }  // list linked-epe
                          }  // list epe-object
                        }  // container epe-objects
    
                        container update-generation-neighbors {
                          description
                            "A BGP Update generate Table Entry for all BGP
    neighbors";
                          list update-generation-neighbor {
                            description
                              "BGP Update generate entry for BGP neighbor";
                            leaf update-group-index {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "A BGP Update Group Entry index";
                            }
    
                            leaf sub-group-index {
                              type uint32;
                              description
                                "A BGP Update Sub group Table index";
                            }
    
                            leaf sub-group-id {
                              type uint32;
                              description
                                "A BGP Update Sub group table ID";
                            }
    
                            leaf filter-group-index {
                              type uint32;
                              description
                                "A BGP Filter group Table index";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container update-neighbor-address {
                              description
                                "Neighbor address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container update-neighbor-address
    
                            container last-sub-group-add-timestamp {
                              description
                                "Last added time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-sub-group-add-timestamp
    
                            container last-sub-group-remove-timestamp {
                              description
                                "Last removed time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-sub-group-remove-timestamp
    
                            container last-filter-group-add-timestamp {
                              description
                                "Last added time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-filter-group-add-timestamp
    
                            container last-filter-group-remove-timestamp {
                              description
                                "Last removed time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-filter-group-remove-timestamp
    
                            container first-default-originate-timestamp {
                              description
                                "Timestamp when the first default-origination was
    done";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-default-originate-timestamp
    
                            container last-default-originate-timestamp {
                              description
                                "Timestamp when the last default-origination was
    done";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-default-originate-timestamp
    
                            container last-update-group-start-timestamp {
                              description
                                "Last update-group timer start";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-group-start-timestamp
    
                            container last-update-group-expiry-timestamp {
                              description
                                "Last update-group timer expiry";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-group-expiry-timestamp
    
                            container first-update-queued-timestamp {
                              description
                                "Timestamp when the first update was queued";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-queued-timestamp
    
                            container last-update-queued-timestamp {
                              description
                                "Timestamp when last update was queued";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-queued-timestamp
    
                            container last-refresh-update-queued-timestamp {
                              description
                                "Timestamp when the last refresh update was
    queued";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-refresh-update-queued-timestamp
    
                            container first-update-write-timestamp {
                              description
                                "Timestamp when the first update was written";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-update-write-timestamp
    
                            container last-update-write-timestamp {
                              description
                                "Timestamp when the last update was  written";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-write-timestamp
    
                            container last-refresh-update-write-timestamp {
                              description
                                "Timestamp when the last refresh update written";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-refresh-update-write-timestamp
    
                            container update-statistics {
                              description
                                "BGP update generation statistics update";
                              container last-update-discard-timestamp {
                                description
                                  "Last Discarded time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-discard-timestamp
    
                              container last-update-cleared-timestamp {
                                description
                                  "Last Cleared time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-cleared-timestamp
    
                              container last-update-throttle-timestamp {
                                description
                                  "Last Throttled time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-throttle-timestamp
    
                              container last-update-recovery-timestamp {
                                description
                                  "Last Recovery time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-recovery-timestamp
    
                              container last-update-memory-allocation-fail-timestamp {
                                description
                                  "Memory allocation failure time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-update-memory-allocation-fail-timestamp
    
                              leaf update-out-queue-messages-high {
                                type uint32;
                                description
                                  "OutQueue High Messages";
                              }
    
                              leaf update-out-queue-messages-cumulative {
                                type uint32;
                                description
                                  "OutQueue Cumulative Messages";
                              }
    
                              leaf update-out-queue-messages-discarded {
                                type uint32;
                                description
                                  "OutQueue Discarded Messages";
                              }
    
                              leaf update-out-queue-messages-cleared {
                                type uint32;
                                description
                                  "OutQueue Cleared Messages";
                              }
    
                              leaf update-out-queue-size-high {
                                type uint32;
                                description
                                  "OutQueue Hi Size";
                              }
    
                              leaf update-out-queue-size-cumulative {
                                type uint64;
                                description
                                  "OutQueue Cumulative Size";
                              }
    
                              leaf update-out-queue-size-discarded {
                                type uint64;
                                description
                                  "OutQueue Discarded Size";
                              }
    
                              leaf update-out-queue-size-cleared {
                                type uint64;
                                description
                                  "OutQueue Cleared Size";
                              }
    
                              leaf last-update-discard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Discard event (in seconds)";
                              }
    
                              leaf last-update-cleard-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Clear event (in seconds)";
                              }
    
                              leaf update-throttle-count {
                                type uint32;
                                description
                                  "Throttle Count";
                              }
    
                              leaf last-update-throttle-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Throttle event (in seconds)";
                              }
    
                              leaf update-recovery-count {
                                type uint32;
                                description
                                  "Recovery Count";
                              }
    
                              leaf last-update-recovery-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last Recovery event (in seconds)";
                              }
    
                              leaf update-memory-allocation-fail-count {
                                type uint32;
                                description
                                  "Number of times there was failure when
    allocatingmemory for BGP update generation";
                              }
    
                              leaf last-update-memory-allocation-fail-age {
                                type uint32;
                                units "second";
                                description
                                  "Time since last memory allocation failure event
    (in seconds)";
                              }
                            }  // container update-statistics
    
                            leaf process-id {
                              type uint32;
                              description
                                "ProcessID";
                            }
    
                            leaf update-vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf update-group-af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf update-filter-group-index {
                              type uint32;
                              description
                                "Filter-group index";
                            }
    
                            leaf refresh-filter-group-index {
                              type uint32;
                              description
                                "BGP update generation refresh Filter-group index";
                            }
    
                            leaf sub-group-index-xr {
                              type uint32;
                              description
                                "BGP update generation index for sub-group";
                            }
    
                            leaf refresh-sub-group-index {
                              type uint32;
                              description
                                "BGP update generation refresh Sub-group index";
                            }
    
                            leaf refresh-sub-group-id {
                              type uint32;
                              description
                                "ID of the refresh subgroup for BGP update
    generation";
                            }
    
                            leaf update-group-index-xr {
                              type uint32;
                              description
                                "Index of this BGP Update-group";
                            }
    
                            leaf update-main-table-version {
                              type uint32;
                              description
                                "Main table version";
                            }
    
                            leaf update-vrf-table-rib-version {
                              type uint32;
                              description
                                "VRF Table RIB version";
                            }
    
                            leaf update-out-queue-messages {
                              type uint32;
                              description
                                "OutQueue messages";
                            }
    
                            leaf update-out-queue-size {
                              type uint32;
                              description
                                "OutQueue size";
                            }
    
                            leaf refresh-update-out-queue-messages {
                              type uint32;
                              description
                                "Refresh OutQueue messages";
                            }
    
                            leaf refresh-update-out-queue-size {
                              type uint32;
                              description
                                "Refresh OutQueue size";
                            }
    
                            leaf update-filter-group-messages {
                              type uint32;
                              description
                                "The number of messages on the BGP filter-group";
                            }
    
                            leaf version {
                              type uint32;
                              description
                                "Version up to which we have generated updates
    for BGP";
                            }
    
                            leaf pending-target-version {
                              type uint32;
                              description
                                "Version of pending target for BGP update
    generation";
                            }
    
                            leaf next-resume-version {
                              type uint32;
                              description
                                "Version number identifying the next to process
    when tablewalk has been interrupted";
                            }
    
                            leaf ack-version {
                              type uint32;
                              description
                                "Identifying the prefixs that have been
    advertisedto the peer and acknowledged by it";
                            }
    
                            leaf synced-ack-version {
                              type uint32;
                              description
                                "Peer acked version that was previously
    synchronized";
                            }
    
                            leaf outstanding-version-count {
                              type uint32;
                              description
                                "The number of all outstanding version objects
    for thisneighbor address-family";
                            }
    
                            leaf update-refresh-version {
                              type uint32;
                              description
                                "Refresh version";
                            }
    
                            leaf refresh-requested-target-version {
                              type uint32;
                              description
                                "Requested refresh target version";
                            }
    
                            leaf update-refresh-target-version {
                              type uint32;
                              description
                                "Target version for update generation in response
    to arefresh request";
                            }
    
                            leaf refresh-pending-target-version {
                              type uint32;
                              description
                                "Pending refresh target version";
                            }
    
                            leaf refresh-next-resume-version {
                              type uint32;
                              description
                                "Version number identifying the next to process
    whena table walk has been interrupted";
                            }
    
                            leaf refresh-ack-version {
                              type uint32;
                              description
                                "Versio of the Refresh Ack for BGP update
    generation";
                            }
    
                            leaf last-default-originate-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last default-origination event (in
    seconds)";
                            }
    
                            leaf default-originate-state {
                              type int32;
                              description
                                "BGP update generation default originate state
    information";
                            }
    
                            leaf default-originate-internal-context {
                              type int32;
                              description
                                "BGP update generation default originate context
    stateinformation";
                            }
    
                            leaf is-eor-outstanding {
                              type boolean;
                              description
                                "Number of EORs outstanding";
                            }
    
                            leaf outbound-refresh-count {
                              type uint32;
                              description
                                "Refresh Outbound count";
                            }
    
                            leaf inbound-refresh-count {
                              type uint32;
                              description
                                "Refresh Inbound count";
                            }
    
                            leaf is-update-group-timer-running {
                              type boolean;
                              description
                                "Flag to indicate if update-group timer is
    running";
                            }
    
                            leaf current-update-group-af-name {
                              type Bgp-afi;
                              description
                                "Current Update-group address-family identifier";
                            }
    
                            leaf last-update-group-af-name {
                              type Bgp-afi;
                              description
                                "Last Update-group address-family identifier";
                            }
    
                            leaf last-update-queued-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last update queued event (in seconds)";
                            }
    
                            leaf last-refresh-update-queued-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last refresh update queued event (in
    seconds)";
                            }
    
                            leaf last-update-write-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last update write event (in seconds)";
                            }
    
                            leaf last-refresh-update-write-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last refresh update write event (in
    seconds)";
                            }
                          }  // list update-generation-neighbor
                        }  // container update-generation-neighbors
    
                        container update-generation-address-family {
                          description
                            "A BGP Update Generate Entry for address-family";
                          container update-statistics {
                            description
                              "BGP address-family statistics update";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-main-table-version {
                            type uint32;
                            description
                              "Main table version";
                          }
    
                          leaf update-rib-version {
                            type uint32;
                            description
                              "RIB version";
                          }
    
                          leaf update-min-neighbor-version {
                            type uint32;
                            description
                              "Minimum Neighbor version";
                          }
    
                          leaf current-update-limit-af {
                            type uint32;
                            description
                              "BGP Current AF sub-group update limit";
                          }
    
                          leaf configured-update-limit-af {
                            type uint32;
                            units "byte";
                            description
                              "Update limit per address-family in bytes";
                          }
    
                          leaf current-update-limit-subgrp-ebgp {
                            type uint32;
                            description
                              "Current EBGP sub-group update limit";
                          }
    
                          leaf configured-update-limit-subgrp-ebgp {
                            type uint32;
                            description
                              "Configured EBGP sub-group update limit";
                          }
    
                          leaf current-update-limit-sub-group-ibgp {
                            type uint32;
                            description
                              "Current IBGP sub-group update limit";
                          }
    
                          leaf configured-update-limit-sub-group-ibgp {
                            type uint32;
                            description
                              "Configured IBGP sub-group update limit";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue messsages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue size";
                          }
    
                          leaf update-throttled {
                            type boolean;
                            description
                              "Flag to indicate if update generation is
    currently throttled";
                          }
    
                          leaf update-update-group-count {
                            type uint32;
                            description
                              "Update-group count";
                          }
    
                          leaf update-sub-group-count {
                            type uint32;
                            description
                              "Sub-group count";
                          }
    
                          leaf sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled sub-group count";
                          }
    
                          leaf refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of refresh sub groups";
                          }
    
                          leaf refresh-sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled refresh sub-group count";
                          }
    
                          leaf filter-group-count {
                            type uint32;
                            description
                              "Number of refresh filter groups";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors in BGP";
                          }
    
                          leaf update-table-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-vrfaf-name {
                            type uint32;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-vrf-rd-version {
                            type uint32;
                            description
                              "RD Version";
                          }
    
                          leaf update-vrf-table-rib-version {
                            type uint32;
                            description
                              "VRF Table RIB version";
                          }
    
                          leaf table-update-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    update groups";
                          }
    
                          leaf update-table-sub-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    sub groups";
                          }
    
                          leaf table-sub-group-throttled-count {
                            type uint32;
                            description
                              "VRF Table throttled sub-group count";
                          }
    
                          leaf table-refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    refresh sub groups";
                          }
    
                          leaf table-refresh-sub-group-throttled-count {
                            type uint32;
                            description
                              "VRF Table throttled refresh sub-group count";
                          }
    
                          leaf update-table-filter-group-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    filter groups";
                          }
    
                          leaf table-neighbor-count {
                            type uint32;
                            description
                              "Number of virtual routing and forwarding table
    neighbors";
                          }
                        }  // container update-generation-address-family
    
                        container dampenings {
                          description
                            "The BGP Dampening table";
                          list dampening {
                            description
                              "A BGP Dampening table entry";
                            leaf reuse {
                              type uint32 {
                                range "0..65535";
                              }
                              description
                                "Reuse array index";
                            }
    
                            leaf version {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Version number";
                            }
    
                            leaf rd {
                              type Bgp-route-distinguisher;
                              description
                                "Route Distinguisher value";
                            }
    
                            leaf network {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                            }
    
                            leaf length {
                              type uint32 {
                                range "0..128";
                              }
                              description
                                "Length of the subnet prefix";
                            }
    
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            leaf source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Source Route Distinguisher value";
                            }
    
                            leaf orig-source-rd {
                              type Bgp-route-distinguisher;
                              description
                                "Original Source Route Distinguisher value";
                            }
    
                            leaf path-id {
                              type uint32 {
                                range
                                  "0..4294967295";
                              }
                              description
                                "Received Path ID";
                            }
    
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list dampening
                        }  // container dampenings
    
                        container dependency {
                          description
                            "A BGP Dependency table entry";
                          list dep-entry-info {
                            description
                              "List of Dependency Tables ";
                            leaf tblid {
                              type uint32;
                              description
                                "Tbl Id ";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list dep-entry-info
                        }  // container dependency
    
                        container prefix-filters {
                          description
                            "The BGP Prefix Filter table";
                          list prefix-filter {
                            key "neighbor-address";
                            description
                              "A BGP prefix filter table entry";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            container neighbor-address-xr {
                              description
                                "Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address-xr
    
                            container prefix-list-info {
                              description
                                "Prefix list";
                              list bgp-pfxlst {
                                description
                                  "Next entry in prefix list";
                                container bgp-prefix {
                                  description
                                    "BGP prefix";
                                  container prefix {
                                    description
                                      "The Prefix from whichto get the address";
                                    container l2vpn-vpls-address {
                                      when
                                        "../afi = 'l2vpn-vpls'" {
                                        description
                                          "../AFI = 'L2VPN_VPLS'";
                                      }
                                      description
                                        "L2VPN VPLS Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the protocol BGP";
                                      }
                                    }  // container l2vpn-vpls-address
    
                                    container l2vpn-evpn-address {
                                      when
                                        "../afi = 'l2vpn-evpn'" {
                                        description
                                          "../AFI = 'L2VPN_EVPN'";
                                      }
                                      description
                                        "L2VPN EVPN Addr";
                                      leaf l2vpn-evpn-address {
                                        type yang:hex-string;
                                        description
                                          "l2vpn evpn address";
                                      }
                                    }  // container l2vpn-evpn-address
    
                                    container l2vpn-mspw-address {
                                      when
                                        "../afi = 'l2vpn-mspw'" {
                                        description
                                          "../AFI = 'L2VPN_MSPW'";
                                      }
                                      description
                                        "L2VPN MSPW Addr";
                                      leaf l2vpn-address {
                                        type yang:hex-string;
                                        description
                                          "L2vpn address of the BGP mspw";
                                      }
                                    }  // container l2vpn-mspw-address
    
                                    container ipv4-sr-policy-address {
                                      when
                                        "../afi = 'ipv4-sr-policy'" {
                                        description
                                          "../AFI = 'IPv4SRPolicy'";
                                      }
                                      description
                                        "IPV4 Policy Addr";
                                      leaf ipv4-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv4 address of thesrpolicy";
                                      }
                                    }  // container ipv4-sr-policy-address
    
                                    container ipv6-sr-policy-address {
                                      when
                                        "../afi = 'ipv6-sr-policy'" {
                                        description
                                          "../AFI = 'IPv6SRPolicy'";
                                      }
                                      description
                                        "IPV6 Policy Addr";
                                      leaf ipv6-srpolicy-address {
                                        type yang:hex-string;
                                        description
                                          "IPv6 address of thesrpolicy";
                                      }
                                    }  // container ipv6-sr-policy-address
    
                                    leaf afi {
                                      type Bgp-afi;
                                      description
                                        "AFI";
                                    }
    
                                    leaf ipv4-address {
                                      when
                                        "../afi = 'ipv4'" {
                                        description
                                          "../AFI = 'IPv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Addr";
                                    }
    
                                    leaf ipv4-mcast-address {
                                      when
                                        "../afi = 'ipv4-multicast'" {
                                        description
                                          "../AFI = 'IPv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Mcast Addr";
                                    }
    
                                    leaf ipv4-label-address {
                                      when
                                        "../afi = 'ipv4-labeled'" {
                                        description
                                          "../AFI = 'IPv4Labeled'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 Label Addr";
                                    }
    
                                    leaf ipv4-tunnel-address {
                                      when
                                        "../afi = 'ipv4-tunnel'" {
                                        description
                                          "../AFI = 'IPv4Tunnel'";
                                      }
                                      type Ipv4-tunnel-address;
                                      description
                                        "IPv4 Tunnel";
                                    }
    
                                    leaf ipv4-mdt-address {
                                      when
                                        "../afi = 'ipv4-mdt'" {
                                        description
                                          "../AFI = 'IPv4MDT'";
                                      }
                                      type Ipv4-mdt-address;
                                      description
                                        "IPv4 MDT Addr";
                                    }
    
                                    leaf ipv4vpn-address {
                                      when
                                        "../afi = 'vpnv4'" {
                                        description
                                          "../AFI = 'VPNv4'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Addr";
                                    }
    
                                    leaf ipv4vpna-mcastddress {
                                      when
                                        "../afi = 'vpnv4-multicast'" {
                                        description
                                          "../AFI = 'VPNv4Multicast'";
                                      }
                                      type inet:ipv4-address;
                                      description
                                        "IPv4 VPN Mcast Addr";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../afi = 'ipv6'" {
                                        description
                                          "../AFI = 'IPv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Addr";
                                    }
    
                                    leaf ipv6-mcast-address {
                                      when
                                        "../afi = 'ipv6-multicast'" {
                                        description
                                          "../AFI = 'IPv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPV6 Mcast Addr";
                                    }
    
                                    leaf ipv6-label-address {
                                      when
                                        "../afi = 'ipv6-labeled'" {
                                        description
                                          "../AFI = 'IPv6Labeled'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Label Addr";
                                    }
    
                                    leaf ipv6vpn-address {
                                      when
                                        "../afi = 'vpnv6'" {
                                        description
                                          "../AFI = 'VPNv6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Addr";
                                    }
    
                                    leaf ipv6vpn-mcast-address {
                                      when
                                        "../afi = 'vpnv6-multicast'" {
                                        description
                                          "../AFI = 'VPNv6Multicast'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 VPN Mcast Addr";
                                    }
    
                                    leaf rt-constraint-address {
                                      when
                                        "../afi = 'rt-constraint'" {
                                        description
                                          "../AFI = 'RTConstraint'";
                                      }
                                      type Rt-constraint-address;
                                      description
                                        "RT Constrt Addr";
                                    }
    
                                    leaf ipv6mvpn-address {
                                      when
                                        "../afi = 'ipv6-mvpn'" {
                                        description
                                          "../AFI = 'IPv6MVPN'";
                                      }
                                      type Ipv6mvpn-address;
                                      description
                                        "MVPN addr";
                                    }
    
                                    leaf ipv4mvpn-address {
                                      when
                                        "../afi = 'ipv4-mvpn'" {
                                        description
                                          "../AFI = 'IPv4MVPN'";
                                      }
                                      type Ipv4mvpn-address;
                                      description
                                        "MVPN4 addr";
                                    }
    
                                    leaf ls-ls-address {
                                      when
                                        "../afi = 'ls-ls'" {
                                        description
                                          "../AFI = 'LS_LS'";
                                      }
                                      type Ls-ls-address;
                                      description
                                        "LINKSTATE LINKSTATE Addr";
                                    }
    
                                    leaf ipv4-flowspec-address {
                                      when
                                        "../afi = 'ipv4-flowspec'" {
                                        description
                                          "../AFI = 'IPv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 Flowspec Addr";
                                    }
    
                                    leaf ipv6-flowspec-address {
                                      when
                                        "../afi = 'ipv6-flowspec'" {
                                        description
                                          "../AFI = 'IPv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 Flowspec Addr";
                                    }
    
                                    leaf ipv4vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv4-flowspec'" {
                                        description
                                          "../AFI = 'VPNv4Flowspec'";
                                      }
                                      type Ipv4-flowspec-address;
                                      description
                                        "IPV4 VPN Flowspec Addr";
                                    }
    
                                    leaf ipv6vpn-flowspec-address {
                                      when
                                        "../afi = 'vpnv6-flowspec'" {
                                        description
                                          "../AFI = 'VPNv6Flowspec'";
                                      }
                                      type Ipv6-flowspec-address;
                                      description
                                        "IPV6 VPN Flowspec Addr";
                                    }
                                  }  // container prefix
    
                                  leaf prefix-length {
                                    type uint16;
                                    description
                                      "BGP prefix length of the route";
                                  }
                                }  // container bgp-prefix
    
                                leaf sequence-number {
                                  type uint32;
                                  description
                                    "Sequence number of the entry in the prefix-list";
                                }
    
                                leaf is-prefix-grant {
                                  type boolean;
                                  description
                                    "TRUE = permit, FALSE = deny";
                                }
    
                                leaf min-prefix-length {
                                  type uint8;
                                  units "bit";
                                  description
                                    "Minimum prefix length in bits";
                                }
    
                                leaf max-prefix-length {
                                  type uint8;
                                  units "bit";
                                  description
                                    "Maximum prefix length in bits";
                                }
                              }  // list bgp-pfxlst
                            }  // container prefix-list-info
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identfier";
                            }
                          }  // list prefix-filter
                        }  // container prefix-filters
    
                        leaf af-name {
                          type dt1:Bgp-address-family;
                          description
                            "Address family";
                        }
    
                        container attributes {
                          description
                            "The BGP Attribute table";
                          list attribute {
                            description
                              "A BGP Attribute table entry";
                            leaf attribute-iid {
                              type uint32 {
                                range "0..255";
                              }
                              description
                                "Identifier of BGP Attribute table entry";
                            }
    
                            leaf attribute-cache-bucket {
                              type uint32 {
                                range "0..65535";
                              }
                              description
                                "Cache bucket value of BGP Attribute table
    entry";
                            }
    
                            leaf attribute-cache-id {
                              type uint32;
                              description
                                "Identifier of the BGP Attribute Cache";
                            }
    
                            container attribute-info {
                              description
                                "Attributes";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attribute-info
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP attribute process instance ID";
                            }
    
                            leaf attribute-instance-id {
                              type uint8;
                              description
                                "Instance ID for BGP attribute context ";
                            }
    
                            leaf attribute-structure-id {
                              type uint32;
                              description
                                "BGP ID of attribute structure information";
                            }
    
                            leaf attribute-structure-hash-value {
                              type uint32;
                              description
                                "Hash value for attribute structure";
                            }
    
                            leaf reference-count {
                              type uint32;
                              description
                                "Number of paths which use this attribute
    structure";
                            }
                          }  // list attribute
                        }  // container attributes
                      }  // list af
                    }  // container afs
    
                    container information {
                      description
                        "Meta data for VRF";
                      leaf route-distinguisher {
                        type xr:Route-dist;
                        description
                          "BGP virtual routing and forwardingroute
    distinguisher";
                      }
                    }  // container information
    
                    container update-inbound-filter-vrf {
                      description
                        "Update inbound filtering information for the VRF";
                      container last-update-filtered-timestamp {
                        description
                          "Last Filtered messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-filtered-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-filtered-message-count {
                        type uint32;
                        description
                          "Number of filtered messages";
                      }
    
                      leaf update-filtered-neighbor-count {
                        type uint32;
                        description
                          "Count of neighbors that received filtered
    messages";
                      }
    
                      leaf last-update-filtered-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last filtered messages received event
    (in seconds)";
                      }
                    }  // container update-inbound-filter-vrf
    
                    container postits {
                      description
                        "The BGP Neighbor table";
                      list postit {
                        key "neighbor-address";
                        description
                          "A BGP Postit table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container neighbors-address {
                          description
                            "Neighbor Addr";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbors-address
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf connect-state {
                          type uint32;
                          description "State";
                        }
    
                        leaf start-time {
                          type uint32;
                          description
                            "StartTime";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        list neighbor-af {
                          min-elements 25;
                          max-elements 25;
                          description
                            "Neighbor Afi";
                          leaf entry {
                            type boolean;
                            description
                              "Array entry.";
                          }
                        }  // list neighbor-af
    
                        list postit-info {
                          description
                            "BGP neighbor postit rounting information";
                          container postit-notification {
                            description
                              "Time since last notification was sent or
    received";
                            leaf time-since-last-notification {
                              type uint32;
                              units "second";
                              description
                                "Time since the last notification was sent or
    received (seconds)";
                            }
    
                            leaf notification-error-code {
                              type uint8;
                              description
                                "Error code in last notification";
                            }
    
                            leaf notification-error-subcode {
                              type uint8;
                              description
                                "Error subcode in last notification";
                            }
    
                            list last-notification-data {
                              description
                                "Message data in last notification";
                              leaf entry {
                                type uint8;
                                description
                                  "Message data in last notification";
                              }
                            }  // list last-notification-data
                          }  // container postit-notification
    
                          leaf postit-type {
                            type uint32;
                            description
                              "Type of the event for post-it";
                          }
    
                          leaf postit-subtype {
                            type uint32;
                            description
                              "BGP Postit Subtype";
                          }
    
                          leaf postit-flags {
                            type uint8;
                            description
                              "Flags associated with post-it";
                          }
    
                          leaf postit-af-name {
                            type Bgp-afi;
                            description
                              "Postit Afi";
                          }
    
                          leaf postit-ts {
                            type uint64;
                            description
                              "Postit TS";
                          }
    
                          leaf postit-direction {
                            type uint8;
                            description
                              "BGP postit inbound oroutbound direction";
                          }
    
                          leaf postit-id {
                            type uint32;
                            description
                              "Postit ID";
                          }
    
                          leaf peer-id {
                            type uint32;
                            description
                              "Peer ID";
                          }
    
                          leaf postit-policy {
                            type string;
                            description "Policy";
                          }
    
                          leaf postit-reset {
                            type Bgp-reset-reason-index;
                            description "Reset";
                          }
                        }  // list postit-info
                      }  // list postit
                    }  // container postits
    
                    container global-process-info {
                      description
                        "The Global Process information table";
                      container global {
                        description
                          "Global information";
                        container gshut-nbr-all-ts {
                          description
                            "BGP gshut nbr all timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-nbr-all-ts
    
                        container gshut-nbr-all-age {
                          description
                            "BGP gshut nbr all age";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container gshut-nbr-all-age
    
                        leaf in-standalone-mode {
                          type boolean;
                          description
                            "Standalone or Distributed mode";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local autonomous system number";
                        }
    
                        leaf instance-name {
                          type string;
                          description
                            "Name of BGP instance";
                        }
    
                        leaf restart-count {
                          type uint32;
                          description
                            "No of times BGP has started";
                        }
    
                        leaf update-delay {
                          type uint32;
                          units "second";
                          description
                            "Update delay timeout time (in seconds)";
                        }
    
                        leaf generic-scan-period {
                          type uint16;
                          units "second";
                          description
                            "Period (in seconds) of generic scanner runs";
                        }
    
                        leaf confederation-id {
                          type uint32;
                          description
                            "BGP global process confederation ID";
                        }
    
                        leaf cluster-id {
                          type uint32;
                          description
                            "Cluster ID";
                        }
    
                        leaf configured-cluster-id {
                          type uint32;
                          description
                            "BGP global process configuredcluster ID";
                        }
    
                        leaf is-cluster-id-specified-as-ip {
                          type boolean;
                          description
                            "Cluster ID specified as an IP address";
                        }
    
                        leaf asn-format {
                          type uint32;
                          description
                            "BGP AS Number Format";
                        }
    
                        leaf srgb-start-configured {
                          type uint32;
                          description
                            "Configured segment-routing Global Block start
    value";
                        }
    
                        leaf srgb-end-configured {
                          type uint32;
                          description
                            "Configured segment-routing Global Block end
    value";
                        }
    
                        leaf srgb-start {
                          type uint32;
                          description
                            "In use segment-routing Global Block start value";
                        }
    
                        leaf srgb-end {
                          type uint32;
                          description
                            "In use Segment-routing Global Block end value";
                        }
    
                        leaf srlb-start-configured {
                          type uint32;
                          description
                            "Configured segment-routing Local Block start
    value";
                        }
    
                        leaf srlb-end-configured {
                          type uint32;
                          description
                            "Configured segment-routing Local Block end value";
                        }
    
                        leaf srlb-start {
                          type uint32;
                          description
                            "In use segment-routing Local Block start value";
                        }
    
                        leaf srlb-end {
                          type uint32;
                          description
                            "In use Segment-routing Local Block end value";
                        }
    
                        leaf mix-srte-native {
                          type boolean;
                          description
                            "Platform support mix of SR-TE and Native IGP
    Nexthop";
                        }
    
                        leaf graceful-maintenance {
                          type boolean;
                          description
                            "Graceful shutdown activated for allneighbors";
                        }
    
                        leaf graceful-maint-all-nbrs {
                          type boolean;
                          description
                            "Graceful Maintenance also for neighbors without
    GM configuration";
                        }
    
                        leaf graceful-maint-retain-routes {
                          type boolean;
                          description
                            "Retaining routes in RIB when BGP process stops
    while in Graceful Maintenance";
                        }
    
                        leaf process-rlimit {
                          type uint64;
                          description
                            "Platform RLIMIT max for the process";
                        }
    
                        leaf bmp-maximum-buffer-size {
                          type uint64;
                          description
                            "Maximum limit user can configure for
    max-buffer-size command under bmp-server";
                        }
    
                        leaf bmp-default-buffer-size {
                          type uint64;
                          description
                            "Default value for BMP buffer limit when a value
    is not configured";
                        }
    
                        leaf bmp-current-buffer-size {
                          type uint64;
                          description
                            "Current value for BMP buffer ";
                        }
    
                        leaf bmp-cur-maximum-buffer-size {
                          type uint64;
                          description
                            "Maximum limit user has configure using
    max-buffer-size command under bmp-server";
                        }
    
                        leaf gbl-srv6-locator {
                          type string;
                          description
                            "Global Srv6 Locator Name";
                        }
    
                        list cluster-id-entry {
                          description
                            "All configured Cluster IDs";
                          leaf cluster-id-val {
                            type uint32;
                            description
                              "Cluster ID ";
                          }
    
                          leaf cluster-id-type {
                            type uint8;
                            description
                              "Cluster ID type: number or IPv4 address";
                          }
                        }  // list cluster-id-entry
    
                        list color-id {
                          description
                            "All configured Color IDs";
                          leaf color-id-val {
                            type uint32;
                            description
                              "Color ID ";
                          }
                        }  // list color-id
                      }  // container global
    
                      container vrf {
                        description
                          "VRF information";
                        leaf vrf-is-active {
                          type boolean;
                          description
                            "VRF state";
                        }
    
                        leaf route-distinguisher {
                          type yang:hex-string;
                          description
                            "BGP global process route distinguisher";
                        }
    
                        leaf router-id {
                          type inet:ipv4-address;
                          description
                            "Router ID for the VRF";
                        }
    
                        leaf configured-router-id {
                          type inet:ipv4-address;
                          description
                            "BGP global process configured router ID";
                        }
    
                        leaf is-redistribute-ibgp-to-ig-ps-enabled {
                          type boolean;
                          description
                            "Redistribute iBGP into IGPs enabled";
                        }
    
                        leaf is-fast-external-fallover-enabled {
                          type boolean;
                          description
                            "Flag to indicate if fast external fallover is
    enabled";
                        }
    
                        leaf is-bestpath-missing-med-is-worst-enabled {
                          type boolean;
                          description
                            "Bestpath: Treat missing MED as worst";
                        }
    
                        leaf is-bestpath-always-compare-med-enabled {
                          type boolean;
                          description
                            "Bestpath: Always compare MED";
                        }
    
                        leaf is-bestpath-ignore-as-path-enabled {
                          type boolean;
                          description
                            "Bestpath: Ignore AS path";
                        }
    
                        leaf is-bestpath-as-path-mpath-relax-enabled {
                          type boolean;
                          description
                            "Bestpath: Relax AS path for mpath";
                        }
    
                        leaf is-bestpath-compare-med-from-confed-peer-enabled {
                          type boolean;
                          description
                            "Bestpath: Compare MED from confed peer";
                        }
    
                        leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled {
                          type boolean;
                          description
                            "Bestpath: Compare routerID for eBGP peers";
                        }
    
                        leaf is-bestpath-aigp-ignore-enabled {
                          type boolean;
                          description
                            "Bestpath: Ignore AIGP unless both paths have
    AIGP attribute";
                        }
    
                        leaf is-bestpath-igp-metric-ignore-enabled {
                          type boolean;
                          description
                            "Bestpath: Ignore IGP metric";
                        }
    
                        leaf is-bestpath-igp-metric-sr-policy-enabled {
                          type boolean;
                          description
                            "Bestpath: Prefer SR-Policy admin/metric of
    color-extcomm Nexthop as IGP metric";
                        }
    
                        leaf is-multipath-as-path-ignore-onwards-enabled {
                          type boolean;
                          description
                            "Multipath: Ignore everything AS path onwards for
    mpath";
                        }
    
                        leaf is-multipath-section-use-cluster-list-length {
                          type boolean;
                          description
                            "Multipath: Use Cluster-List Length Criteria";
                        }
    
                        leaf is-bestpath-sr-policy-prefer-enabled {
                          type boolean;
                          description
                            "Bestpath: Pefer SR policy path";
                        }
    
                        leaf is-enforce-first-as-enabled {
                          type boolean;
                          description
                            "Enforce first AS";
                        }
    
                        leaf default-local-preference {
                          type uint32;
                          description
                            "BGP global process default local preference";
                        }
    
                        leaf keep-alive-time {
                          type uint16;
                          units "second";
                          description
                            "Default keepalive timer (seconds)";
                        }
    
                        leaf hold-time {
                          type uint16;
                          units "second";
                          description
                            "Default hold timer (seconds)";
                        }
    
                        leaf min-acceptable-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Default min acceptable hold time from
    neighbor(seconds)";
                        }
    
                        leaf is-neighbor-logging {
                          type boolean;
                          description
                            "Neighbor logging enabled";
                        }
    
                        leaf is-default-metric-configured {
                          type boolean;
                          description
                            "Flag to indicate if default metric is configured";
                        }
    
                        leaf default-metric {
                          type uint32;
                          description
                            "BGP global process virtual routingand forwarding
    default metric";
                        }
    
                        leaf is-default-originate-configured {
                          type boolean;
                          description
                            "Flag to indicate if default route originate is
    configured";
                        }
    
                        leaf is-graceful-restart {
                          type boolean;
                          description
                            "Graceful restart enabled";
                        }
    
                        leaf is-nsr {
                          type boolean;
                          description
                            "Non-stop routing enabled";
                        }
    
                        leaf slow-peer-detection-enabled {
                          type boolean;
                          description
                            "Slow peer detection status";
                        }
    
                        leaf nexthop-validation-disabled {
                          type boolean;
                          description
                            "Color-Extcomm Nexthop validation disabled";
                        }
    
                        leaf nexthop-validation-srte {
                          type boolean;
                          description
                            "Color-Extcomm Nexthop validation SR-Policy";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time (in seconds)";
                        }
    
                        leaf stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Use RPKI validity for bestpath calculation";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Allow invalid paths";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Signal RPKI validity to iBGP peers";
                        }
                      }  // container vrf
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf vrfid {
                        type uint32;
                        description "VRF ID";
                      }
                    }  // container global-process-info
    
                    container update-inbound-error-neighbors {
                      description
                        "Update inbound error information for all
    neighbors";
                      list update-inbound-error-neighbor {
                        key "neighbor-address";
                        description
                          "Update inbound error information for neighbor";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container update-neighbor-address {
                          description
                            "Neighbor address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container update-neighbor-address
    
                        container first-update-malformed-timestamp {
                          description
                            "First malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-malformed-timestamp
    
                        container last-update-malformed-timestamp {
                          description
                            "Last malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-malformed-timestamp
    
                        container first-update-memory-allocation-fail-timestamp {
                          description
                            "First memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-memory-allocation-fail-timestamp
    
                        container last-update-memory-allocation-fail-timestamp {
                          description
                            "Last memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-memory-allocation-fail-timestamp
    
                        container first-update-error-handling-reset-timestamp {
                          description
                            "First error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-error-handling-reset-timestamp
    
                        container last-error-handling-reset-timestamp {
                          description
                            "Last error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-error-handling-reset-timestamp
    
                        leaf update-vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf update-error-handling-avoid-reset {
                          type boolean;
                          description
                            "Configure error-handling to avoid resets";
                        }
    
                        leaf total-update-message-count {
                          type uint32;
                          description
                            "The total number of update messages encoutered
    so far";
                        }
    
                        leaf update-malformed-message-count {
                          type uint32;
                          description
                            "The toatl number of malform update messages so
    far";
                        }
    
                        leaf last-update-malformed-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last malformed message received event
    (in seconds)";
                        }
    
                        leaf update-memory-allocation-fail-count {
                          type uint32;
                          description
                            "Total number of memory allocation failures";
                        }
    
                        leaf last-update-memory-allocation-fail-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last memory allocation failure event
    (in seconds)";
                        }
    
                        leaf update-error-handling-reset-count {
                          type uint32;
                          description
                            "Total number of neighbor reset due to
    error-handling";
                        }
    
                        leaf last-error-handling-reset-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last error-handling reset event (in
    seconds)";
                        }
    
                        leaf update-error-message-list-count {
                          type uint32;
                          description
                            "Malformed messages list count";
                        }
    
                        leaf update-attribute-discard-count {
                          type uint32;
                          description
                            "Discarded attribute count";
                        }
    
                        leaf establishment-total-update-message-count {
                          type uint32;
                          description
                            "Total update messages count since session
    establishment";
                        }
    
                        list establishment-action-count {
                          max-elements 7;
                          description
                            "Number of occurence of each action type since
    
    session establishment";
                          leaf entry {
                            type uint32;
                            description
                              "Number of occurence of each action type since
    
    session establishment";
                          }
                        }  // list establishment-action-count
    
                        list update-error-message {
                          description
                            "List of malformed messages";
                          container update-message-timestamp {
                            description
                              "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container update-message-timestamp
    
                          container update-message-reset-data {
                            description
                              "Reset data";
                            leaf update-error-reset-reason {
                              type Bgp-reset-reason-index;
                              description
                                "Reset Reason";
                            }
    
                            leaf update-error-reset-notification-code {
                              type uint8;
                              description
                                "Notification code";
                            }
    
                            leaf update-error-reset-notification-sub-code {
                              type uint16;
                              description
                                "Notification sub code";
                            }
    
                            leaf update-error-reset-notification-data {
                              type yang:hex-string;
                              description
                                "Notification data";
                            }
    
                            leaf update-error-reset-notification-data-length {
                              type uint16;
                              description
                                "Notification data length";
                            }
                          }  // container update-message-reset-data
    
                          leaf update-error-final-action {
                            type Bgp-bag-upd-err-action;
                            description
                              "Error final action";
                          }
    
                          leaf update-attribute-discard-count {
                            type uint32;
                            description
                              "Discarded attribute count";
                          }
    
                          leaf update-error-nlri-address-family {
                            type Bgp-afi;
                            description
                              "NLRI address-family";
                          }
    
                          leaf update-error-nlri-string {
                            type string;
                            description
                              "List of NLRIs in string format";
                          }
    
                          leaf update-error-nlri-string-truncated {
                            type boolean;
                            description
                              "Indicates whether NLRI string was truncated due
    to lack of space";
                          }
    
                          list update-message-data {
                            description
                              "Raw Message data in binary format";
                            leaf entry {
                              type uint8;
                              description
                                "Raw Message data in binary format";
                            }
                          }  // list update-message-data
    
                          list update-error-element {
                            max-elements 3;
                            description
                              "Error element list";
                            leaf update-attribute-flags {
                              type uint8;
                              description
                                "Attribute Flags [RFC4271: BGP4]";
                            }
    
                            leaf update-attribute-code {
                              type uint8;
                              description
                                "Attribute code [RFC4271: BGP4]";
                            }
    
                            leaf update-attribute-length {
                              type uint16;
                              description
                                "Attribute Length [RFC4271: BGP4]";
                            }
    
                            leaf update-error-data {
                              type yang:hex-string;
                              description
                                "Error data";
                            }
    
                            leaf update-error-data-length {
                              type uint16;
                              description
                                "Error data length";
                            }
    
                            leaf update-error-action {
                              type Bgp-bag-upd-err-action;
                              description
                                "Error action";
                            }
                          }  // list update-error-element
                        }  // list update-error-message
                      }  // list update-inbound-error-neighbor
                    }  // container update-inbound-error-neighbors
    
                    container update-inbound-filter-neighbors {
                      description
                        "Update inbound filtering information for all
    neighbors";
                      list update-inbound-filter-neighbor {
                        key "neighbor-address";
                        description
                          "Update inbound filtering information for
    neighbor";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container update-neighbor-address {
                          description
                            "Neighbor address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container update-neighbor-address
    
                        container first-update-filtered-timestamp {
                          description
                            "First filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container first-update-filtered-timestamp
    
                        container last-update-filtered-timestamp {
                          description
                            "Last filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-filtered-timestamp
    
                        leaf update-vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf update-filter-logging-enabled {
                          type boolean;
                          description
                            "Logging is enabled";
                        }
    
                        leaf configured-update-filter-message-buffer-count {
                          type uint32;
                          description
                            "Total number of configured update filter
    messagebuffer size";
                        }
    
                        leaf operational-update-filter-message-buffer-count {
                          type uint32;
                          description
                            "Number of messages in the message buffer";
                        }
    
                        leaf update-filter-message-buffer-circular {
                          type boolean;
                          description
                            "Indicates if the message buffers are circular";
                        }
    
                        leaf update-attribute-filter-group-name {
                          type string;
                          description
                            "String format BGP attribute-filter group name";
                        }
    
                        leaf operational-update-attribute-filtering-enabled {
                          type boolean;
                          description
                            "Attribute filtering is enabled";
                        }
    
                        leaf message-update-attribute-filtering-enabled {
                          type boolean;
                          description
                            "Attribute filtering is enabled for the current
    message being parsed";
                        }
    
                        leaf total-filter-update-message-count {
                          type uint32;
                          description
                            "Total number of filtered messages encoutered";
                        }
    
                        leaf establishment-total-filter-update-message-count {
                          type uint32;
                          description
                            "Total update messages count since session
    establishment";
                        }
    
                        leaf update-filtered-message-count {
                          type uint32;
                          description
                            "Total number of filtered messages encountered so
    far";
                        }
    
                        leaf establishment-update-filtered-message-count {
                          type uint32;
                          description
                            "Filtered messages count since session
    establishment";
                        }
    
                        leaf last-update-filtered-age {
                          type uint32;
                          units "second";
                          description
                            "Time since last filtered message received event
    (in seconds)";
                        }
    
                        leaf update-filter-message-list-count {
                          type uint32;
                          description
                            "Filtered messages list count";
                        }
    
                        list update-attribute-filter-attributes {
                          description
                            "List of attributes that can be filtered";
                          container last-update-filter-match-timestamp {
                            description
                              "Last attribute filtered time: time elapsed since
    00:00:00 UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-filter-match-timestamp
    
                          leaf update-internal-attribute-code {
                            type uint32;
                            description
                              "Internal attribute code [RFC4271: BGP4]";
                          }
    
                          leaf update-filter-action {
                            type Bgp-bag-upd-filter-action;
                            description
                              "Filtering action";
                          }
    
                          leaf update-filter-match-count {
                            type uint32;
                            description
                              "Filter match counter";
                          }
    
                          leaf establishment-update-filter-match-count {
                            type uint32;
                            description
                              "Filter match counter since last session
    establishment";
                          }
    
                          leaf last-update-filter-match-age {
                            type uint32;
                            units "second";
                            description
                              "Time since this attribute was last filtered (in
    seconds)";
                          }
                        }  // list update-attribute-filter-attributes
    
                        list update-filter-message {
                          description
                            "List of filtered messages";
                          container update-filter-message-timestamp {
                            description
                              "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container update-filter-message-timestamp
    
                          leaf update-filtered-attribute-count {
                            type uint32;
                            description
                              "Total number of attributes filtered in
    thismessage";
                          }
    
                          leaf update-filter-final-action {
                            type Bgp-bag-upd-filter-action;
                            description
                              "Filtering final action";
                          }
    
                          leaf update-filter-nlri-address-family {
                            type Bgp-afi;
                            description
                              "NLRI address-family";
                          }
    
                          leaf update-filter-nlri-string {
                            type string;
                            description
                              "List of NLRIs in string format";
                          }
    
                          leaf update-filter-nlri-string-truncated {
                            type boolean;
                            description
                              "Indicates whether NLRI string was truncated due
    to lack of space";
                          }
    
                          list update-filter-message-data {
                            description
                              "Raw Message data in binary format";
                            leaf entry {
                              type uint8;
                              description
                                "Raw Message data in binary format";
                            }
                          }  // list update-filter-message-data
    
                          list update-filter-element {
                            max-elements 3;
                            description
                              "Filtering element list";
                            leaf update-attribute-flags {
                              type uint8;
                              description
                                "Attribute Flags [RFC4271: BGP4]";
                            }
    
                            leaf update-attribute-code {
                              type uint8;
                              description
                                "Attribute code [RFC4271: BGP4]";
                            }
    
                            leaf update-filter-action {
                              type Bgp-bag-upd-filter-action;
                              description
                                "Filtering action";
                            }
                          }  // list update-filter-element
                        }  // list update-filter-message
                      }  // list update-inbound-filter-neighbor
                    }  // container update-inbound-filter-neighbors
    
                    container bmp {
                      description
                        "BMP related Operational Data";
                      container server-summaries {
                        description
                          "Table of BMP Servers";
                        list server-summary {
                          key "server-id";
                          description
                            "Summary Information about BMP server";
                          leaf server-id {
                            type uint32 {
                              range "1..8";
                            }
                            description
                              "BMP Server ID";
                          }
    
                          container bmp-server-state-age {
                            description
                              "Age of current state of BMP Server";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-server-state-age
    
                          container bmp-server-state-time-spec {
                            description
                              "Timespec of current state of BMP Server";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-server-state-time-spec
    
                          container bmp-server-last-discon-time {
                            description
                              "Timespec of Last Disconnect event received from
    BMP server";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container bmp-server-last-discon-time
    
                          container update-source-address {
                            description
                              "Address of Interface configured as Update Source";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container update-source-address
    
                          leaf bmp-server-id {
                            type uint8;
                            description
                              "BMP Server ID";
                          }
    
                          leaf bmp-server-host-name {
                            type string;
                            description
                              "BMP Server Hostname";
                          }
    
                          leaf bmp-server-port {
                            type uint32;
                            description
                              "BMP Server Port Number";
                          }
    
                          leaf bmp-server-state {
                            type Bgp-bmp-state;
                            description
                              "Connection state of the BMP server";
                          }
    
                          leaf bmp-server-is-flapping {
                            type boolean;
                            description
                              "Connection to the BMP server Flapping";
                          }
    
                          leaf bmp-server-nbr-count {
                            type uint32;
                            description
                              "Neighbor count for the BMP Server";
                          }
    
                          leaf bmp-init-msg-count {
                            type uint32;
                            description
                              "Number of Initiation Msgs sent by this BMP
    Server";
                          }
    
                          leaf bmp-termination-msg-count {
                            type uint32;
                            description
                              "Number of Termination Messages sent by this BMP
    Server";
                          }
    
                          leaf bmp-status-report-count {
                            type uint32;
                            description
                              "Number of Status ReportMessages sent by this BMP
    Server";
                          }
    
                          leaf bmp-per-peer-msg-count {
                            type uint32;
                            description
                              "Total number of per peer messages sent";
                          }
    
                          leaf bmp-peer-msg-drop-count {
                            type uint32;
                            description
                              "Total number of messages dropped";
                          }
    
                          leaf bmp-peer-msg-pending-count {
                            type uint32;
                            description
                              "Total number of bmpQ msgs pending";
                          }
    
                          leaf tos-type {
                            type uint8;
                            description
                              "Precedence (0) or DSCP (1) type";
                          }
    
                          leaf tos-value {
                            type uint8;
                            description
                              "Precedence or DSCP value";
                          }
    
                          leaf update-source-interface-name {
                            type string;
                            description
                              "Interface configured as Update Source";
                          }
    
                          leaf update-source-vrf-id {
                            type uint32;
                            description
                              "VRF ID of interface configured as Update Source";
                          }
    
                          leaf bmp-vrf-name {
                            type string;
                            description
                              "VRF Name configured";
                          }
    
                          leaf bmp-vrf-id {
                            type uint32;
                            description
                              "VRF ID for the vrf name configured";
                          }
    
                          leaf bmp-update-mode {
                            type Bgp-bmp-upd-mode;
                            description
                              "Update sending mode configured for this BMP
    server";
                          }
    
                          leaf tcp-keep-alive-interval {
                            type uint32;
                            description
                              "TCP Keep alive interval configured";
                          }
    
                          leaf tcp-maximum-segment-size {
                            type uint32;
                            description
                              "TCP Maximum Segments size configured";
                          }
    
                          leaf tcp-write-cb-pending {
                            type uint32;
                            description
                              "Are we waiting for TCP write callback ?";
                          }
    
                          leaf tcp-last-write-result {
                            type uint32;
                            description
                              "Last TCP Socket write status";
                          }
    
                          leaf tcp-last-write-cb-time {
                            type uint64;
                            description
                              "Last TCP Write CB time";
                          }
    
                          leaf tcp-last-write-time {
                            type uint64;
                            description
                              "Last TCP Write time";
                          }
    
                          leaf bmpq-last-write-pulse-sent-time {
                            type uint64;
                            description
                              "Last BMPQ write pulse Sent time";
                          }
    
                          leaf bmpq-last-all-write-pulse-sent-time {
                            type uint64;
                            description
                              "Last BMPQ write pulse Sent for all BMP servers ";
                          }
    
                          leaf bmpq-last-write-pulse-cb-time {
                            type uint64;
                            description
                              "Last BMPQ write pulse callback time";
                          }
    
                          leaf path-update-count {
                            type uint32;
                            description
                              "Number of path update sent ";
                          }
    
                          leaf path-withdraw-count {
                            type uint32;
                            description
                              "Number of path wdraw sent";
                          }
    
                          leaf path-update-drop {
                            type uint32;
                            description
                              "Number of path update drop ";
                          }
    
                          leaf path-withdraw-drop {
                            type uint32;
                            description
                              "Number of path wdraw drop ";
                          }
    
                          leaf bmp-peer-msg-pending-count-max {
                            type uint32;
                            description
                              "Total bmpQ msgs pending max";
                          }
    
                          leaf bmp-peer-msg-pending-count-hwts {
                            type uint64;
                            description
                              "Total bmpQ msgs pending max time";
                          }
    
                          leaf bmp-bytes-written-tcp {
                            type uint64;
                            units "byte";
                            description
                              "Total bytes sent to TCP";
                          }
    
                          leaf tcp-write-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sending msg to
    TCP(milliseconds)";
                          }
    
                          leaf bmpr-mon-upd-messages {
                            type uint32;
                            description
                              "Total bmpQ update msgs ";
                          }
    
                          leaf bmpr-mon-wdraw-messages {
                            type uint32;
                            description
                              "Total bmpQ withdraw msgs ";
                          }
    
                          leaf bmp-messages-wdraw-discarded {
                            type uint32;
                            description
                              "Total bmpQ wdraw msgs discarded because of peer
    down";
                          }
    
                          leaf bmp-pfx-wdraw-discarded {
                            type uint32;
                            description
                              "Total bmpQ wdraw pfxes discarded because of peer
    down";
                          }
    
                          leaf bmp-per-peer-msg-route-mon-count {
                            type uint32;
                            description
                              "Total number of per peer route mon messages sent";
                          }
    
                          leaf bmpr-mon-update-gen-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent in update generation(milliseconds)";
                          }
    
                          leaf bmpr-mon-eo-rmessages {
                            type uint32;
                            description
                              "Total bmpQ EOR update msgs ";
                          }
    
                          leaf bmp-rmon-cur-buffer-size {
                            type uint64;
                            description
                              "Current Buffer usage per BMP Route Mon";
                          }
    
                          leaf bmp-maximum-buffer-size-route-mon {
                            type uint64;
                            description
                              "Buffer limit used for route mon";
                          }
    
                          leaf bmp-server-up-count {
                            type uint32;
                            description
                              "Number of BMP server that are UP";
                          }
    
                          leaf bmp-upd-gen-in-progress {
                            type boolean;
                            description
                              "Update generation in progress";
                          }
    
                          leaf bmp-reset-walk-in-progress {
                            type boolean;
                            description
                              "Flag to indicate if BGP monitoring protocol
    server reset walk is in progress";
                          }
    
                          list bmpafi-info {
                            description
                              "AFI specific info for BMP server";
                            container bmp-resume-prefix {
                              description
                                "BMP Resume prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bmp-resume-prefix
    
                            container bmp-filter-neighbor-address {
                              description
                                "Filter Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container bmp-filter-neighbor-address
    
                            leaf bmpaf-name {
                              type Bgp-afi;
                              description
                                "BMP Address family identifier";
                            }
    
                            leaf bmp-resume-prefix-len {
                              type uint32;
                              description
                                "BMP Resume prefix Len";
                            }
    
                            leaf bmp-upd-gen-resume-start-version {
                              type uint32;
                              description
                                "Update Gen ResumeWalk start version";
                            }
    
                            leaf bmp-upd-gen-resume-end-version {
                              type uint32;
                              description
                                "Update Gen ResumeWalk end version";
                            }
    
                            leaf bmp-upd-gen-walk-stopped {
                              type boolean;
                              description
                                "Update Gen WalkStopped";
                            }
    
                            leaf bmp-upd-gen-resume-net-version {
                              type uint32;
                              description
                                "Update Gen ResumeWalk Net version";
                            }
    
                            leaf bmp-upd-gen-walk-run-time-stamp {
                              type uint64;
                              description
                                "Last Update Gen Run time stamp";
                            }
    
                            leaf bmp-upd-gen-walk-run-count {
                              type uint64;
                              description
                                "Number of times Update Gen ran";
                            }
    
                            leaf bmp-upd-gen-walk-stop-time-stamp {
                              type uint64;
                              description
                                "Last Update Gen Stop time stamp";
                            }
    
                            leaf bmp-upd-gen-walk-stop-count {
                              type uint64;
                              description
                                "Number of times Update Gen Stopped";
                            }
    
                            leaf bmp-init-eor-end-version {
                              type uint32;
                              description
                                "Version to reach to send EOR";
                            }
    
                            leaf bmp-init-eor-pending-cnt {
                              type uint32;
                              description
                                "Count for pending EOR";
                            }
    
                            leaf bmp-filter-neighbor-address-set {
                              type boolean;
                              description
                                "Filter Neighbor Address Set ?";
                            }
    
                            leaf bmp-filter-nbr-cnt {
                              type uint32;
                              description
                                "Filter nbr Count for this AFI";
                            }
    
                            leaf bmp-send-version {
                              type uint32;
                              description
                                "Table Version that this BMP server has caught
    upto";
                            }
                          }  // list bmpafi-info
                        }  // list server-summary
                      }  // container server-summaries
    
                      container server-neighbors {
                        description
                          "Table of Neighbors for a BMP Server";
                        list server-neighbor {
                          key "server-id";
                          description
                            "BMP Server under which neighbor info are
    needed";
                          container monitored-neighbors {
                            description
                              "List of Neighbors under which BMP Server is
    configured";
                            list monitored-neighbor {
                              description
                                "Information about a neighbor monitored by
    BMP server";
                              leaf neighbor-address {
                                type inet:ip-address-no-zone;
                                description
                                  "IPv4 or IPv6 Address of the BGP Neighbor";
                              }
    
                              leaf vrf-name {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Name of VRF, the neighbor belongs to";
                              }
    
                              container bmp-neighbor-address {
                                description
                                  "Address of Nbr that logs to BMP server";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container bmp-neighbor-address
    
                              leaf bmp-neighbor-msg-pending {
                                type uint32;
                                description
                                  "Number of messages pending to be sent to BMP
    Server from this Neighbor";
                              }
    
                              leaf bmp-neighbor-msg-dropped {
                                type uint32;
                                description
                                  "Number of messages dropped sent from this
    neighbor";
                              }
    
                              leaf bmp-neighbor-peer-up-sent {
                                type uint32;
                                description
                                  "Number of Peer UP Messages sent from this
    neighbor";
                              }
    
                              leaf bmp-neighbor-peer-down-sent {
                                type uint32;
                                description
                                  "Number of Peer DOWN Messages sent from this
    neighbor";
                              }
    
                              leaf bmp-neighbor-route-monitor-sent {
                                type uint32;
                                description
                                  "Number of Route Monitor Messages sent";
                              }
    
                              leaf bmp-neighbor-route-monitor-eor-sent {
                                type uint32;
                                description
                                  "Number of Route Monitor EOR Messages sent";
                              }
    
                              leaf bmp-neighbor-path-update-sent {
                                type uint32;
                                description
                                  "Number of Path UpdateMessages sent";
                              }
    
                              leaf bmp-neighbor-path-withdraw-sent {
                                type uint32;
                                description
                                  "Number of Path WithdrawMessages sent";
                              }
    
                              leaf bmp-neighbor-path-update-drop {
                                type uint32;
                                description
                                  "Number of path update drop ";
                              }
    
                              leaf bmp-neighbor-path-withdraw-drop {
                                type uint32;
                                description
                                  "Number of path wdraw drop ";
                              }
    
                              leaf bmp-neighbor-upd-msg-sent {
                                type uint32;
                                description
                                  "Number of update message sent";
                              }
    
                              leaf bmp-neighbor-wdraw-msg-sent {
                                type uint32;
                                description
                                  "Number of withdraw message sent";
                              }
                            }  // list monitored-neighbor
                          }  // container monitored-neighbors
    
                          leaf server-id {
                            type uint32 {
                              range "1..8";
                            }
                            description
                              "BMP Server ID";
                          }
                        }  // list server-neighbor
                      }  // container server-neighbors
                    }  // container bmp
    
                    container neighbor-missing-eor-table {
                      description
                        "The BGP Neighbor missing eor table";
                      list neighbor {
                        key "neighbor-address";
                        description
                          "A BGP Neighbor table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        container send-notification-info {
                          description
                            "Information on the last notification sent";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container send-notification-info
    
                        container received-notification-info {
                          description
                            "Information on the last notification received";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container received-notification-info
    
                        container performance-statistics {
                          description
                            "BGP neighbor performance statistics";
                          leaf read-throttles {
                            type uint32;
                            description
                              "Number of partial read throttles";
                          }
    
                          leaf low-throttled-read {
                            type uint32;
                            description
                              "Num socket reads after nbrs crossed low
    threshold";
                          }
    
                          leaf high-throttled-read {
                            type uint32;
                            description
                              "Num of socket reads after nbr crossed high
    threshold";
                          }
    
                          leaf time-since-last-throttled-read {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read after being
    throttled";
                          }
    
                          leaf read-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to read inbound data";
                          }
    
                          leaf read-messages-count {
                            type uint32;
                            description
                              "Number of BGP messages read";
                          }
    
                          leaf data-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "No. of bytes of data read";
                          }
    
                          leaf io-read-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent reading inbound data (milliseconds)";
                          }
    
                          leaf write-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to write outbound data";
                          }
    
                          leaf data-bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes that havesent to peers";
                          }
    
                          leaf io-write-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent writing outbound data (milliseconds)";
                          }
    
                          leaf last-sent-seq-no {
                            type uint32;
                            description
                              "Seq No of the last sent byte";
                          }
    
                          leaf write-subgroup-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process sub-group
    message list";
                          }
    
                          leaf write-subgroup-messages-count {
                            type uint32;
                            description
                              "Number of sub-group msgs processed";
                          }
    
                          leaf subgroup-list-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sub-group message list
    (milliseconds)";
                          }
    
                          leaf write-queue-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process write queue";
                          }
    
                          leaf write-queue-messages-count {
                            type uint32;
                            description
                              "Number of write queue messages processed";
                          }
    
                          leaf write-queue-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing write queue (milliseconds)";
                          }
    
                          leaf inbound-update-messages {
                            type uint32;
                            description
                              "Number of inbound update messages processed";
                          }
    
                          leaf inbound-update-messages-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing inbound update messages
    (milliseconds)";
                          }
    
                          leaf maximum-read-size {
                            type uint32;
                            units "millisecond";
                            description
                              "Size of largest socket (milliseconds)";
                          }
    
                          leaf actives {
                            type uint32;
                            description
                              "Number of retried Active opens for this neighbor";
                          }
    
                          leaf failed-post-actives {
                            type uint32;
                            description
                              "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                          }
    
                          leaf passives {
                            type uint32;
                            description
                              "Number of retried Passive opens for this
    neighbor";
                          }
    
                          leaf rejected-passives {
                            type uint32;
                            description
                              "Number of rejected Passive opens for this
    neighbor";
                          }
    
                          leaf active-collision {
                            type uint32;
                            description
                              "Number of Closed Active connections for this
    neighbor due to collision ";
                          }
    
                          leaf passive-collision {
                            type uint32;
                            description
                              "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                          }
    
                          leaf control-to-read-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger read
    thread";
                          }
    
                          leaf control-to-write-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger write
    thread";
                          }
    
                          leaf network-status {
                            type uint32;
                            description
                              "Socket status, TRUE if socket closed";
                          }
    
                          leaf reset-flags {
                            type uint32;
                            description
                              "Reset flags, per thread";
                          }
    
                          leaf nbr-flags {
                            type uint32;
                            description
                              "Nbr flags, per thread";
                          }
    
                          leaf nbr-fd {
                            type int32;
                            description
                              "Primary FD, per nbr";
                          }
    
                          leaf reset-retries {
                            type uint8;
                            description
                              "Reset Retries, per nbr";
                          }
    
                          leaf sync-flags {
                            type uint32;
                            description
                              "Sync flags, per nbr";
                          }
    
                          leaf nsr-oper-down-count {
                            type uint32;
                            description
                              "Number of times NSR scoped sync has been done";
                          }
    
                          leaf last-nsr-scoped-sync {
                            type uint32;
                            description
                              "Last time NSR scoped syncwas done for the
    neighbor";
                          }
                        }  // container performance-statistics
    
                        container message-statistics {
                          description
                            "BGP neighbor message statistics";
                          container open {
                            description "Open";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container open
    
                          container notification {
                            description
                              "BGP neighbor messagestatistics notification";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container notification
    
                          container update {
                            description
                              "BGP neighbor message statisticsupdate";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container update
    
                          container keepalive {
                            description
                              "Message sent between BGP neighborsto check the
    link between is operating";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container keepalive
    
                          container route-refresh {
                            description
                              "BGP neighbor message statisticsroute refresh";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container route-refresh
    
                          container total {
                            description "Total";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container total
                        }  // container message-statistics
    
                        container tcp-init-sync-time-spec {
                          description
                            "Time When neighbor entered TCP Init Sync";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-time-spec
    
                        container tcp-init-sync-phase-two-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Phase
    Two";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-phase-two-time-spec
    
                        container tcp-init-sync-done-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Done";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-done-time-spec
    
                        container graceful-maintenance {
                          description
                            "Globally activated BGp neighborfor graceful
    shutdown";
                          leaf gshut-exists {
                            type boolean;
                            description
                              "Graceful Maintenance enabled";
                          }
    
                          leaf gshut-local-active {
                            type boolean;
                            description
                              "Graceful Maintenance locally activated";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "Graceful Maintenance Local Preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "Graceful Maintenance Local Preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "Graceful Maintenance number of AS prepends";
                          }
    
                          leaf gshut-interface-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Interface";
                          }
    
                          leaf gshut-location-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Location";
                          }
                        }  // container graceful-maintenance
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP neighbor description";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf has-internal-link {
                          type boolean;
                          description
                            "Internal link to neighbor";
                        }
    
                        leaf is-external-neighbor-not-directly-connected {
                          type boolean;
                          description
                            "Flag to indicate neighbor is external and not
    directly connected";
                        }
    
                        leaf messages-received {
                          type uint32;
                          description
                            "Number of messages received";
                        }
    
                        leaf messages-sent {
                          type uint32;
                          description
                            "Number of messages sent";
                        }
    
                        leaf update-messages-in {
                          type uint32;
                          description
                            "No. of update msgs received";
                        }
    
                        leaf update-messages-out {
                          type uint32;
                          description
                            "No. of update messages sent";
                        }
    
                        leaf messages-queued-in {
                          type uint32;
                          description
                            "No. of msgs on receive queue";
                        }
    
                        leaf messages-queued-out {
                          type uint32;
                          description
                            "No. of messages on send queue";
                        }
    
                        leaf connection-established-time {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) that the connection has been
    established";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
    
                        leaf previous-connection-state {
                          type uint32;
                          description
                            "Previous state of connection";
                        }
    
                        leaf connection-admin-status {
                          type uint32;
                          description
                            "Administrative status of connection";
                        }
    
                        leaf open-check-error-code {
                          type Bgp-open-check-err;
                          description
                            "Error code for open check failure forBGP
    neighbor";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf connection-local-port {
                          type uint32;
                          description
                            "Local port for the connection";
                        }
    
                        leaf connection-remote-port {
                          type uint32;
                          description
                            "Remote port for the connection";
                        }
    
                        leaf neighbor-interface-handle {
                          type uint32;
                          description
                            "Interface Handle of Neighbor";
                        }
    
                        leaf reset-notification-sent {
                          type boolean;
                          description
                            "Notification was sent during last reset";
                        }
    
                        leaf is-administratively-shut-down {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor is
    administratively shut down";
                        }
    
                        leaf is-neighbor-max-prefix-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down because it exceeded max prfx
    count";
                        }
    
                        leaf is-out-of-memory-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down during a SEVERE low memory
    condition";
                        }
    
                        leaf is-out-of-memory-forced-up {
                          type boolean;
                          description
                            "Neighbor forced up during a low memory condition";
                        }
    
                        leaf is-ebgp-peer-as-league {
                          type boolean;
                          description
                            "EBGP peer belongs to AS League";
                        }
    
                        leaf is-ebgp-peer-common-admin {
                          type boolean;
                          description
                            "EBGP peer with common administation";
                        }
    
                        leaf ttl-security-enabled {
                          type boolean;
                          description
                            "TTL Security enabled";
                        }
    
                        leaf suppress4-byte-as {
                          type boolean;
                          description
                            "Suppress 4byteas capability";
                        }
    
                        leaf bfd-session-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-created-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-enable-mode {
                          type Bgp-bfd-enable-mode;
                          description
                            "BFD enable mode for this peer";
                        }
    
                        leaf bfd-minintervalval {
                          type uint32;
                          description
                            "BFD Mininterval for this peer";
                        }
    
                        leaf bfd-multiplierval {
                          type uint32;
                          description
                            "BFD Multiplier for this peer";
                        }
    
                        leaf bfd-state-ts {
                          type uint64;
                          description
                            "Timestamp since when nbr is in this bfd state";
                        }
    
                        leaf router-id {
                          type inet:ipv4-address;
                          description
                            "Router ID for the neighbor";
                        }
    
                        leaf negotiated-protocol-version {
                          type uint16;
                          description
                            "Negotiated protocol version with the BGP
    neighbor";
                        }
    
                        leaf ebgp-time-to-live {
                          type uint32;
                          description
                            "Maximum number of hops for external BGP neighbor";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf tcpmss {
                          type uint32;
                          description
                            "Neighbor TCP Maximum Segment
    size";
                        }
    
                        leaf msg-log-in {
                          type uint32;
                          description
                            "Message in log count";
                        }
    
                        leaf msg-log-out {
                          type uint32;
                          description
                            "Message out log count";
                        }
    
                        leaf neighbor-local-as {
                          type uint32;
                          description
                            "Local AS configured on the neighbor";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Option to not prepend the Local AS to
    announcements";
                        }
    
                        leaf is-capability-negotiation-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                        }
    
                        leaf is-capability-negotiation-performed {
                          type boolean;
                          description
                            "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                        }
    
                        leaf is-route-refresh-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh was received";
                        }
    
                        leaf is-route-refresh-old-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                        }
    
                        leaf is-gr-aware {
                          type boolean;
                          description
                            "GR awareness received";
                        }
    
                        leaf is4-byte-as-capability-received {
                          type boolean;
                          description
                            "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                        }
    
                        leaf is4-byte-as-capability-sent {
                          type boolean;
                          description
                            "4-byte AScapability Snt";
                        }
    
                        leaf multi-protocol-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if multi-protocol capability
    has been received";
                        }
    
                        leaf hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) negotiated for this
    connection";
                        }
    
                        leaf keep-alive-time {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) negotiated for this
    connection";
                        }
    
                        leaf configured-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-keepalive {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-min-acc-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                        }
    
                        leaf min-advertise-interval {
                          type uint32;
                          units "second";
                          description
                            "Minimum advertisement interval, secs part";
                        }
    
                        leaf min-advertise-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement interval, msecs part";
                        }
    
                        leaf min-origination-interval {
                          type uint16;
                          units "second";
                          description
                            "Minimum origination interval (in secs)";
                        }
    
                        leaf connect-retry-interval {
                          type uint16;
                          units "second";
                          description
                            "Time (in secs) for connect retry timer";
                        }
    
                        leaf time-since-last-update {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last update message was
    received";
                        }
    
                        leaf time-since-last-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read";
                        }
    
                        leaf time-since-last-read-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read before last reset";
                        }
    
                        leaf time-last-cb {
                          type uint64;
                          description "CB";
                        }
    
                        leaf time-last-cb-reset {
                          type uint32;
                          description
                            "Last CB before reset";
                        }
    
                        leaf time-last-fb {
                          type uint64;
                          description "FB";
                        }
    
                        leaf count-last-write {
                          type uint32;
                          description "Count";
                        }
    
                        leaf time-since-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write";
                        }
    
                        leaf attempted-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of last write";
                        }
    
                        leaf actual-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of last write";
                        }
    
                        leaf time-since-second-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in seconds) elapsed since the second last
    write event";
                        }
    
                        leaf attempted-second-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write";
                        }
    
                        leaf actual-second-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of second last write";
                        }
    
                        leaf time-since-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of last write before reset";
                        }
    
                        leaf actual-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of last write before reset";
                        }
    
                        leaf time-since-second-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write before reset";
                        }
    
                        leaf actual-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of second last write before reset";
                        }
    
                        leaf last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write thread event";
                        }
    
                        leaf second-last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last write thread
    event";
                        }
    
                        leaf last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last KA timer expiry before
    reset";
                        }
    
                        leaf second-last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last KA timer expiry
    before reset";
                        }
    
                        leaf last-k-anotsent-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that KA was
    not sent before reset";
                        }
    
                        leaf last-k-aerror-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                        }
    
                        leaf last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the last KA timer start
    before reset";
                        }
    
                        leaf second-last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the second last KA timer
    start before reset";
                        }
    
                        leaf connection-up-count {
                          type uint32;
                          description
                            "Number of times the connection was established";
                        }
    
                        leaf connection-down-count {
                          type uint32;
                          description
                            "Number of times connection was dropped";
                        }
    
                        leaf time-since-connection-last-dropped {
                          type uint32;
                          units "second";
                          description
                            "Time since the connection last went down
    (seconds)";
                        }
    
                        leaf reset-reason {
                          type Bgp-reset-reason-index;
                          description
                            "Reason for last connection reset";
                        }
    
                        leaf peer-reset-reason {
                          type Bgp-peer-reset-reason-index;
                          description
                            "Reason for last peer close event";
                        }
    
                        leaf peer-error-code {
                          type uint32;
                          description
                            "If peer closed, error received from transport";
                        }
    
                        leaf last-notify-error-code {
                          type uint8;
                          description
                            "Code for the last error notification seen on the
    connection";
                        }
    
                        leaf last-notify-error-subcode {
                          type uint8;
                          description
                            "Error subcode of the last error notification
    seen on the connection";
                        }
    
                        leaf error-notifies-received {
                          type uint32;
                          description
                            "Number of error notifications received on the
    connection";
                        }
    
                        leaf error-notifies-sent {
                          type uint32;
                          description
                            "Number of error notifications sent on the
    connection";
                        }
    
                        leaf remote-as-number {
                          type uint32;
                          description
                            "Remote AS number of BGP neighbor";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Bandwidth of link to single-hop eBGP peer";
                        }
    
                        leaf ebgp-recv-dmz {
                          type boolean;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Ebgp send dmz link bw mode";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf tcp-session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "The TCP mode to be used to set up BGP session
    with the neighbor";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf standby-rp {
                          type boolean;
                          description
                            "Standby RP socket inited for Active Open";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf graceful-restart-enabled-nbr {
                          type boolean;
                          description
                            "Neighbor supports graceful-restart";
                        }
    
                        leaf gr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor restart time (in seconds)";
                        }
    
                        leaf gr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor stale-path time (in seconds)";
                        }
    
                        leaf fssn-offset {
                          type uint32;
                          description
                            "First standby SeqNo offset";
                        }
    
                        leaf fpbsn-offset {
                          type uint32;
                          description
                            "First standby PDU boundary SeqNo offset";
                        }
    
                        leaf last-ackd-seq-no {
                          type uint32;
                          description
                            "SeqNo of the last Ackd byte";
                        }
    
                        leaf bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes written by write thread";
                        }
    
                        leaf bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes read";
                        }
    
                        leaf socket-read-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Total read bytes value insocket-lib";
                        }
    
                        leaf is-read-disabled {
                          type boolean;
                          description
                            "If true, socket read isdisabled";
                        }
    
                        leaf update-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total number of bytes readcorresponding to
    update messages";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        leaf is-passive-close {
                          type boolean;
                          description
                            "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                        }
    
                        leaf nbr-enforce-first-as {
                          type boolean;
                          description
                            "Neighbor enforce first AS";
                        }
    
                        leaf active-bmp-servers {
                          type uint8;
                          description
                            "BMP Servers to which the neighbor sends logs";
                        }
    
                        leaf nbr-cluster-id {
                          type uint32;
                          description
                            "Cluster id";
                        }
    
                        leaf nbr-in-cluster {
                          type uint8;
                          description
                            "Type of cluster_id:undefined/number/Ip address";
                        }
    
                        leaf ignore-connected {
                          type boolean;
                          description
                            "If true, the VPN client isan IBGP CE peer";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf io-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for io
    control";
                        }
    
                        leaf read-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for read";
                        }
    
                        leaf write-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for write";
                        }
    
                        leaf discard-data-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Remaining discard data (bytes) on Standby";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
    
                        leaf local-as-dual-as-mode-native {
                          type boolean;
                          description
                            "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                        }
    
                        leaf egress-peer-engineering-enabled {
                          type boolean;
                          description
                            "Indicates if Egress Peer Engineering is enabled";
                        }
    
                        leaf discard-as4-path {
                          type uint32;
                          description
                            "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                        }
    
                        leaf rpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf dynamic-neighbor {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                        }
    
                        leaf merge-inbound-safi1and4-updates {
                          type boolean;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf is-capability-enhe-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                        }
    
                        leaf delete-time-remaining {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) remaining for deletion";
                        }
    
                        leaf sn-bfd-discriminator {
                          type uint32;
                          description
                            "Local Discriminator for the associated BFD
    session";
                        }
    
                        list af-data {
                          max-elements 25;
                          description
                            "Address family specific neighbor data";
                          container neighbor-af-performance-statistics {
                            description
                              "Neighbor AF statistics";
                            leaf sub-group-pending-message-count {
                              type uint32;
                              description
                                "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                            }
    
                            leaf processed-messages {
                              type uint32;
                              description
                                "Number of messages processed from the neighbor's
    write queue";
                            }
    
                            leaf sent-messages {
                              type uint32;
                              description
                                "Number of messages sent from the neighbor's
    write queue";
                            }
    
                            leaf split-horizon-update-transmit {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-update-blocked {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were blocked";
                            }
    
                            leaf split-horizon-withdraw-transmit {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-withdraw-blocked {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were blocked";
                            }
                          }  // container neighbor-af-performance-statistics
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-neighbor-route-reflector-client {
                            type boolean;
                            description
                              "Nbr is a route reflector client";
                          }
    
                          leaf is-legacy-pe-rt {
                            type boolean;
                            description
                              "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                          }
    
                          leaf is-neighbor-af-capable {
                            type boolean;
                            description
                              "Address family capability received from neighbor";
                          }
    
                          leaf is-soft-reconfiguration-inbound-allowed {
                            type boolean;
                            description
                              "Inbound soft reconfiguration allowed";
                          }
    
                          leaf is-use-soft-reconfiguration-always-on {
                            type boolean;
                            description
                              "Soft reconf overrides route refresh";
                          }
    
                          leaf remove-private-as-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to this
    nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                          }
    
                          leaf remove-private-as-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                          }
    
                          leaf flowspec-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                          }
    
                          leaf flowspec-redirect-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf advertise-afi {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-reorg {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-disable {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf encapsulation-type {
                            type uint32;
                            description
                              "BGP neighbor address-familyencapsulation type";
                          }
    
                          leaf advertise-rt-type {
                            type uint8;
                            description
                              "BGP neighbor address-familyadvertise route
    target type";
                          }
    
                          leaf advertise-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of default VRF import disable";
                          }
    
                          leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 default VRF import disable";
                          }
    
                          leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 default VRF import disable";
                          }
    
                          leaf advertise-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of VRF re-import disable";
                          }
    
                          leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 VRF re-import disable";
                          }
    
                          leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 VRF re-import disable";
                          }
    
                          leaf advertise-afi-eo-r-ready {
                            type boolean;
                            description
                              "EoR Can be sent for Advertise AFI";
                          }
    
                          leaf always-use-next-hop-local {
                            type boolean;
                            description
                              "Local router always used for next-hop";
                          }
    
                          leaf sent-community-to-neighbor {
                            type boolean;
                            description
                              "Community attribute sent to neighbor";
                          }
    
                          leaf sent-gshut-community-to-neighbor {
                            type boolean;
                            description
                              "GSHUT Community attribute sent to neighbor";
                          }
    
                          leaf sent-extended-community-to-neighbor {
                            type boolean;
                            description
                              "Extended community attribute sent to neighbor";
                          }
    
                          leaf default-originate-vpn-index {
                            type uint32;
                            description
                              "Default orig vpn indexto find bitfield for a nbr
    af";
                          }
    
                          leaf neighbor-default-originate {
                            type boolean;
                            description
                              "Neighbor originates default";
                          }
    
                          leaf is-orf-sent {
                            type boolean;
                            description
                              "Outbound route filter sent to neighbor";
                          }
    
                          leaf is-update-deferred {
                            type boolean;
                            description
                              "Update deferred until ORF/route refresh received";
                          }
    
                          leaf is-orf-send-scheduled {
                            type boolean;
                            description
                              "Scheduled to send prefix based ORF";
                          }
    
                          leaf update-group-number {
                            type uint32;
                            description
                              "Update group index";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "BGP neighbor address-familyfilter group index";
                          }
    
                          leaf is-update-throttled {
                            type boolean;
                            description
                              "Updates Throttled becausewrite limit is reached";
                          }
    
                          leaf is-update-leaving {
                            type boolean;
                            description
                              "Nbr leaving update-groupto another";
                          }
    
                          leaf vpn-update-gen-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf vpn-update-gen-trigger-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf is-addpath-send-operational {
                            type boolean;
                            description
                              "Addpath is operational on send-side";
                          }
    
                          leaf is-addpath-receive-operational {
                            type boolean;
                            description
                              "Addpath is operational on receive-side";
                          }
    
                          leaf neighbor-version {
                            type uint32;
                            description
                              "BGP neighbor version for theaddress-family";
                          }
    
                          leaf weight {
                            type uint32;
                            description
                              "Weight for this AF";
                          }
    
                          leaf max-prefix-limit {
                            type uint32;
                            description
                              "Max limit for # of prefixes";
                          }
    
                          leaf use-max-prefix-warning-only {
                            type boolean;
                            description
                              "Warning only when maximum prefix limit reached";
                          }
    
                          leaf max-prefix-discard-extra-paths {
                            type boolean;
                            description
                              "Discard extra paths when prefix limit reached";
                          }
    
                          leaf max-prefix-exceed-discard-paths {
                            type boolean;
                            description
                              "Did we discard extra paths when prefix limit
    reached";
                          }
    
                          leaf max-prefix-threshold-percent {
                            type uint8;
                            units "percentage";
                            description
                              "Percentage of maximum no. of prefixes at which
    to generate warning";
                          }
    
                          leaf max-prefix-discard-paths-count {
                            type uint32;
                            description
                              "Number of discarded paths after prefix limit
    reached";
                          }
    
                          leaf max-prefix-restart-time {
                            type uint16;
                            units "minute";
                            description
                              "Time interval (in minutes) after which peering
    session will be reestablished";
                          }
    
                          leaf prefixes-accepted {
                            type uint32;
                            description
                              "Number of prefixes acceptedfrom this BGP
    neighbor";
                          }
    
                          leaf prefixes-synced {
                            type uint32;
                            description
                              "Number of prefixes synced to standby";
                          }
    
                          leaf prefixes-withdrawn-not-found {
                            type uint32;
                            description
                              "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                          }
    
                          leaf prefixes-denied {
                            type uint32;
                            description
                              "Number of prefixes denied forthis BGP neighbor";
                          }
    
                          leaf prefixes-denied-no-policy {
                            type uint32;
                            description
                              "No. of prefixes denied because there was no
    inbound policy";
                          }
    
                          leaf prefixes-denied-rt-permit {
                            type uint32;
                            description
                              "No. of prefixes denied because RT extended
    community is not imported";
                          }
    
                          leaf prefixes-denied-orf-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by prefix based ORF
    policy";
                          }
    
                          leaf prefixes-denied-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by inbound policy";
                          }
    
                          leaf number-of-bestpaths {
                            type uint32;
                            description
                              "No. of bestpaths from this neighbor";
                          }
    
                          leaf number-of-best-externalpaths {
                            type uint32;
                            description
                              "No. of best-external paths from this neighbor";
                          }
    
                          leaf prefixes-advertised {
                            type uint32;
                            description
                              "Number of prefixes advertisedfor this BGP
    neighbor";
                          }
    
                          leaf prefixes-be-advertised {
                            type uint32;
                            description
                              "Number of BE prefixes advertised";
                          }
    
                          leaf prefixes-suppressed {
                            type uint32;
                            description
                              "Number of prefixes suppressed";
                          }
    
                          leaf prefixes-withdrawn {
                            type uint32;
                            description
                              "Number of prefixes withdrawn";
                          }
    
                          leaf is-peer-orf-capable {
                            type boolean;
                            description
                              "Peer has outbound route filter capability";
                          }
    
                          leaf is-advertised-orf-send {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability advertised";
                          }
    
                          leaf is-received-orf-send-capable {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability received";
                          }
    
                          leaf is-advertised-orf-receive {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    advertised";
                          }
    
                          leaf is-received-orf-receive-capable {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    received";
                          }
    
                          leaf is-advertised-graceful-restart {
                            type boolean;
                            description
                              "Graceful Restart Capability advertised";
                          }
    
                          leaf is-graceful-restart-state-flag {
                            type boolean;
                            description
                              "Restart state flag enabled";
                          }
    
                          leaf is-received-graceful-restart-capable {
                            type boolean;
                            description
                              "Graceful Restart Capability received";
                          }
    
                          leaf is-add-path-send-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                          }
    
                          leaf is-add-path-send-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability
    received from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-received {
                            type boolean;
                            description
                              "Flag to indicate addpath receive capability
    received from BGPneighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-received {
                            type boolean;
                            description
                              "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-sent {
                            type boolean;
                            description
                              "Extended nexhop encoding capability Sent";
                          }
    
                          leaf restart-time {
                            type uint32;
                            units "second";
                            description
                              "Restart time advertised (seconds)";
                          }
    
                          leaf local-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Local Restart time (seconds)";
                          }
    
                          leaf stale-path-timeout {
                            type uint32;
                            units "second";
                            description
                              "Stale path timeout time (in seconds)";
                          }
    
                          leaf rib-purge-timeout-value {
                            type uint32;
                            units "second";
                            description
                              "RIB purge timeout time (in seconds)";
                          }
    
                          leaf neighbor-preserved-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate neighbor preserved in
    forwarding state";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-configured {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-sent {
                            type uint32;
                            units "second";
                            description
                              "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-accept {
                            type uint32;
                            units "second";
                            description
                              "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-capability-received {
                            type boolean;
                            description
                              "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-received {
                            type uint32;
                            units "second";
                            description
                              "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                          }
    
                          leaf neighbor-preserved-long-lived-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-capable {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-time-remaining {
                            type uint32;
                            description
                              "Remaining long-lived graceful-restart time";
                          }
    
                          leaf route-refreshes-received {
                            type uint32;
                            description
                              "Number of route refresh requests received";
                          }
    
                          leaf route-refreshes-sent {
                            type uint32;
                            description
                              "Number of route refresh requests sent";
                          }
    
                          leaf refresh-target-version {
                            type uint32;
                            description
                              "Target version for refresh update generation";
                          }
    
                          leaf refresh-version {
                            type uint32;
                            description
                              "Version till which refresh updates have been
    generated";
                          }
    
                          leaf refresh-acked-version {
                            type uint32;
                            description
                              "Version acked by the peer for refresh updates
    sent";
                          }
    
                          leaf is-prefix-orf-present {
                            type boolean;
                            description
                              "Outbound route filter prefix ORF present";
                          }
    
                          leaf orf-entries-received {
                            type uint32;
                            description
                              "Number of outbound route filter entries received";
                          }
    
                          leaf is-default-originate-sent {
                            type boolean;
                            description
                              "Default origination update sent";
                          }
    
                          leaf route-policy-prefix-orf {
                            type string;
                            description
                              "Prefix based ORF for incoming updates";
                          }
    
                          leaf route-policy-in {
                            type string;
                            description
                              "Incoming route policy name";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outgoing route policy name";
                          }
    
                          leaf route-policy-default-originate {
                            type string;
                            description
                              "Default-originate route policy name";
                          }
    
                          leaf is-neighbor-ebgp-without-inbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured inbound policy";
                          }
    
                          leaf is-neighbor-ebgp-without-outbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured outbound policy";
                          }
    
                          leaf is-upd-orig-loopchk-disable-set {
                            type boolean;
                            description
                              "Flag to indicate if update out originator
    loopcheck is disabled";
                          }
    
                          leaf is-as-override-set {
                            type boolean;
                            description
                              "Flag to indicate as override set for BGP
    neighbor";
                          }
    
                          leaf is-allow-as-in-set {
                            type boolean;
                            description
                              "Allowas-in set ";
                          }
    
                          leaf allow-as-in-count {
                            type uint32;
                            description
                              "Allowas-in count config";
                          }
    
                          leaf address-family-long-lived-time {
                            type uint32;
                            description
                              "AF specific Long-lived-time config";
                          }
    
                          leaf eo-r-received-in-read-only {
                            type boolean;
                            description
                              "An EoR was received while in read-only mode";
                          }
    
                          leaf acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo";
                          }
    
                          leaf synced-acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf outstanding-version {
                            type uint32;
                            description
                              "No. of all outstanding version objects waiting
    for ack from the peer";
                          }
    
                          leaf outstanding-refresh-version {
                            type uint32;
                            description
                              "No. of only refresh version objects waiting for
    ack from the peer";
                          }
    
                          leaf outstanding-version-max {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf is-aigp-set {
                            type boolean;
                            description
                              "AIGP set ";
                          }
    
                          leaf is-rt-present {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf is-rt-present-standby {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf accept-own-enabled {
                            type boolean;
                            description
                              "Flag to indicate if Accept-Own is enabled";
                          }
    
                          leaf selective-multipath-eligible {
                            type boolean;
                            description
                              "Flag to indicate if selective multipath is
    eligible";
                          }
    
                          leaf afrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf afrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf afrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf afrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf is-advertise-permanent-network {
                            type boolean;
                            description
                              "Flag to indicate if advertise is permanent
    network";
                          }
    
                          leaf is-send-mcast-attr {
                            type boolean;
                            description
                              "Send Mcast Attr";
                          }
    
                          leaf import-stitching {
                            type boolean;
                            description
                              "Import Stitching enabled";
                          }
    
                          leaf import-reoriginate {
                            type boolean;
                            description
                              "Import Reoriginate enabled";
                          }
    
                          leaf import-reoriginate-stitching {
                            type boolean;
                            description
                              "Import Reoriginate Stitching enabled";
                          }
    
                          leaf advertise-v4-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV4";
                          }
    
                          leaf advertise-v6-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV6";
                          }
    
                          leaf advertise-local-labeled-route-unicast {
                            type boolean;
                            description
                              "Advertise routes with ";
                          }
    
                          leaf prefixes-denied-non-cumulative {
                            type uint32;
                            description
                              "No. of prefixes exactly denied (non cumulative)";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Flag to indicate if label stack is enabled";
                          }
    
                          leaf ot-prov-track-enable {
                            type boolean;
                            description
                              "OT Provider Tracking enabled";
                          }
    
                          leaf ot-prov-track-state {
                            type Bgp-track-state;
                            description
                              "OT Provider Tracking state";
                          }
    
                          leaf ot-prov-track-in-gr-state {
                            type boolean;
                            description
                              "OT Provider Track in GR State";
                          }
    
                          leaf ot-prov-track-eor-tmr-running {
                            type boolean;
                            description
                              "OT Provider Track EOR timer running";
                          }
    
                          leaf slow-peer-flags {
                            type uint8;
                            description
                              "Slow Peer Flags ";
                          }
    
                          leaf slow-peer-static {
                            type boolean;
                            description
                              "Static Slow Peer ";
                          }
    
                          leaf slow-peer-dynamic {
                            type boolean;
                            description
                              "Dynamic Slow Peer";
                          }
    
                          leaf slow-peer-permanent {
                            type boolean;
                            description
                              "Permanent Slow Peer";
                          }
    
                          leaf slow-peer-count {
                            type uint16;
                            description
                              "Slow peer count";
                          }
    
                          list extended-community {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community
    
                          list extended-community-standby {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community-standby
                        }  // list af-data
                      }  // list neighbor
                    }  // container neighbor-missing-eor-table
    
                    container process-info {
                      description
                        "A Process instance table entry";
                      container global {
                        description
                          "Global information";
                        leaf process-instance-node {
                          type string;
                          description
                            "Node the process instance is on";
                        }
    
                        leaf restart-count {
                          type uint32;
                          description
                            "No. of times BGP has started";
                        }
    
                        leaf path-attributes-entry-count {
                          type uint32;
                          description
                            "No. of path attribute entries";
                        }
    
                        leaf path-attribute-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (bytes) used by path attribute entries";
                        }
    
                        leaf as-path-entry-count {
                          type uint32;
                          description
                            "Number of AS-path entries";
                        }
    
                        leaf as-path-entries-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by AS-path entries";
                        }
    
                        leaf community-entry-count {
                          type uint32;
                          description
                            "Number of community entries";
                        }
    
                        leaf community-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by community entries";
                        }
    
                        leaf extended-community-entry-count {
                          type uint32;
                          description
                            "Number of extended community entries";
                        }
    
                        leaf extended-community-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by extended community
    entries";
                        }
    
                        leaf pe-distinguisher-label-entry-count {
                          type uint32;
                          description
                            "Number of PE distinguisher label entries";
                        }
    
                        leaf pe-distinguisher-label-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by PE distinguisher
    labels entries";
                        }
    
                        leaf pta-entry-count {
                          type uint32;
                          description
                            "Number of PTA entries";
                        }
    
                        leaf pta-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by PTA entries";
                        }
    
                        leaf tunnel-encap-entry-count {
                          type uint32;
                          description
                            "Number of Tunnel encap entries";
                        }
    
                        leaf tunnel-encap-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by tunnel encap entries";
                        }
    
                        leaf ribrnh-entry-count {
                          type uint32;
                          description
                            "Number of RIBRNH entries";
                        }
    
                        leaf ribrnh-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by RIBRNH entries";
                        }
    
                        leaf ppmp-entry-count {
                          type uint32;
                          description
                            "Number of PPMP entries";
                        }
    
                        leaf ppmp-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by PPMP entries";
                        }
    
                        leaf route-reflectors {
                          type uint32;
                          description
                            "Number of route reflector info entries";
                        }
    
                        leaf route-reflector-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by route reflector info
    entries";
                        }
    
                        leaf nexthop-count {
                          type uint32;
                          description
                            "Number of nexthop attribute info entries";
                        }
    
                        leaf nexthop-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by nexthop attribute info
    entries";
                        }
    
                        leaf lsattr-entry-count {
                          type uint32;
                          description
                            "Number of LASATTR entries";
                        }
    
                        leaf lsattr-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by LSATTR entries";
                        }
    
                        leaf attr-set-entry-count {
                          type uint32;
                          description
                            "Number of ATTRSET entries";
                        }
    
                        leaf attr-set-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by ATTRSET entries";
                        }
    
                        leaf prefix-sid-label-index-count {
                          type uint32;
                          description
                            "Number of Prefix-SID LabelIndex entries";
                        }
    
                        leaf prefix-sid-label-index-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID LabelIndex
    entries";
                        }
    
                        leaf prefix-sid-orig-srgb-count {
                          type uint32;
                          description
                            "Number of Prefix-SID OrigSRGB entries";
                        }
    
                        leaf prefix-sid-orig-srgb-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID OrigSRGB
    entries";
                        }
    
                        leaf prefix-sid-srv6-layer3-svc-count {
                          type uint32;
                          description
                            "Number of Prefix-SID SRv6L3SVC entries";
                        }
    
                        leaf prefix-sid-srv6-layer3-svc-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID SRv6L3SVC
    entries";
                        }
    
                        leaf prefix-sid-srv6-layer2-svc-count {
                          type uint32;
                          description
                            "Number of Prefix-SID SRv6L2SVC entries";
                        }
    
                        leaf prefix-sid-srv6-layer2-svc-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID SRv6L2SVC
    entries";
                        }
    
                        leaf prefix-sid-unk-tl-vs-count {
                          type uint32;
                          description
                            "Number of Prefix-SID UnkTLVs entries";
                        }
    
                        leaf prefix-sid-unk-tl-vs-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by Prefix-SID UnkTLVs
    entries";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local autonomous system number";
                        }
    
                        leaf total-vrf-count {
                          type uint32;
                          description
                            "Total count of VRFs";
                        }
    
                        leaf neighbors-count-total {
                          type uint32;
                          description
                            "Total number of neighbors";
                        }
    
                        leaf established-neighbors-count-total {
                          type uint32;
                          description
                            "Total number of neighbors in established state";
                        }
    
                        leaf sn-num-non-dflt-vrf-nbrs {
                          type uint32;
                          description
                            "Number of neighbors in all non-default VRFs";
                        }
    
                        leaf sn-num-non-dflt-vrf-nbrs-estab {
                          type uint32;
                          description
                            "Number of established neighbors in all
    non-default VRFs";
                        }
    
                        leaf large-community-entry-count {
                          type uint32;
                          description
                            "Number of large community entries";
                        }
    
                        leaf large-community-memory {
                          type uint32;
                          units "byte";
                          description
                            "Memory (in bytes) used by large community
    entries";
                        }
    
                        list pool-size {
                          max-elements 15;
                          description
                            "BGP process maximum pool size";
                          leaf entry {
                            type uint32;
                            description
                              "BGP process maximum pool size";
                          }
                        }  // list pool-size
    
                        list pool-alloc-count {
                          max-elements 15;
                          description
                            "Number of bytes of memory forpool allocation";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memory forpool allocation";
                          }
                        }  // list pool-alloc-count
    
                        list pool-free-count {
                          max-elements 15;
                          description
                            "Number of bytes of memory freedin pool";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memory freedin pool";
                          }
                        }  // list pool-free-count
    
                        list msg-log-pool-size {
                          max-elements 5;
                          description
                            "Number of messages present in pool";
                          leaf entry {
                            type uint32;
                            description
                              "Number of messages present in pool";
                          }
                        }  // list msg-log-pool-size
    
                        list msg-log-pool-alloc-count {
                          max-elements 5;
                          description
                            "Number of messages poolallocation memory";
                          leaf entry {
                            type uint32;
                            description
                              "Number of messages poolallocation memory";
                          }
                        }  // list msg-log-pool-alloc-count
    
                        list msg-log-pool-free-count {
                          max-elements 5;
                          description
                            "Number of messages log freedfrom pool";
                          leaf entry {
                            type uint32;
                            description
                              "Number of messages log freedfrom pool";
                          }
                        }  // list msg-log-pool-free-count
    
                        list bmp-pool-size {
                          max-elements 20;
                          description
                            "BGP monitoring protocol (BMP) pool size";
                          leaf entry {
                            type uint32;
                            description
                              "BGP monitoring protocol (BMP) pool size";
                          }
                        }  // list bmp-pool-size
    
                        list bmp-pool-alloc-count {
                          max-elements 20;
                          description
                            "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                          }
                        }  // list bmp-pool-alloc-count
    
                        list bmp-pool-free-count {
                          max-elements 20;
                          description
                            "Number of bytes of memory freedfrom pool";
                          leaf entry {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of memory freedfrom pool";
                          }
                        }  // list bmp-pool-free-count
                      }  // container global
    
                      container vrf {
                        description
                          "VRF information";
                        leaf neighbors-count {
                          type uint32;
                          description
                            "Number of neighbors";
                        }
    
                        leaf established-neighbors-count {
                          type uint32;
                          description
                            "Number of established neighbors";
                        }
    
                        leaf update-messages-received {
                          type uint32;
                          description
                            "Count of BGP update messages received";
                        }
    
                        leaf update-messages-sent {
                          type uint32;
                          description
                            "Count of BGP update messages sent";
                        }
    
                        leaf notifications-received {
                          type uint32;
                          description
                            "Number of BGP notifications received";
                        }
    
                        leaf notifications-sent {
                          type uint32;
                          description
                            "Number of BGP notifications sent";
                        }
    
                        leaf network-count {
                          type uint32;
                          description
                            "Number of networks";
                        }
    
                        leaf path-count {
                          type uint32;
                          description
                            "Number of paths";
                        }
                      }  // container vrf
    
                      container performance-statistics {
                        description
                          "BGP process informationperformance statistics";
                        container global {
                          description
                            "Global information";
                          container ipv4rib-server {
                            description
                              "IPv4 RIB server global info";
                            container first-rib-connection-up-timestamp {
                              description
                                "First RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-up-timestamp
    
                            container last-rib-connection-up-timestamp {
                              description
                                "Last RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-up-timestamp
    
                            container first-rib-connection-down-timestamp {
                              description
                                "First RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-down-timestamp
    
                            container last-rib-connection-down-timestamp {
                              description
                                "Last RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-down-timestamp
    
                            leaf is-rib-connection-up {
                              type boolean;
                              description
                                "Is RIB Connection Up?";
                            }
    
                            leaf rib-connection-up-count {
                              type uint32;
                              description
                                "Number of RIB connection Up events";
                            }
    
                            leaf last-rib-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Up event (in
    seconds)";
                            }
    
                            leaf rib-connection-down-count {
                              type uint32;
                              description
                                "Number of RIB connection Down events";
                            }
    
                            leaf last-rib-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Down event (in
    seconds)";
                            }
                          }  // container ipv4rib-server
    
                          container ipv6rib-server {
                            description
                              "IPv6 RIB server global info";
                            container first-rib-connection-up-timestamp {
                              description
                                "First RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-up-timestamp
    
                            container last-rib-connection-up-timestamp {
                              description
                                "Last RIB connection Up event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-up-timestamp
    
                            container first-rib-connection-down-timestamp {
                              description
                                "First RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-connection-down-timestamp
    
                            container last-rib-connection-down-timestamp {
                              description
                                "Last RIB connection Down event timestamp";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-connection-down-timestamp
    
                            leaf is-rib-connection-up {
                              type boolean;
                              description
                                "Is RIB Connection Up?";
                            }
    
                            leaf rib-connection-up-count {
                              type uint32;
                              description
                                "Number of RIB connection Up events";
                            }
    
                            leaf last-rib-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Up event (in
    seconds)";
                            }
    
                            leaf rib-connection-down-count {
                              type uint32;
                              description
                                "Number of RIB connection Down events";
                            }
    
                            leaf last-rib-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last RIB connection Down event (in
    seconds)";
                            }
                          }  // container ipv6rib-server
    
                          container te-connection {
                            description
                              "MPLS TE server connection info";
                            container first-connection-up-timestamp {
                              description
                                "Timestamp for first connection up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-up-timestamp
    
                            container last-connection-up-timestamp {
                              description
                                "Timestamp for last connection Up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-up-timestamp
    
                            container first-connection-down-timestamp {
                              description
                                "Timestamp for first connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-down-timestamp
    
                            container last-connection-down-timestamp {
                              description
                                "Timestamp for last connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-down-timestamp
    
                            leaf is-connection-up {
                              type boolean;
                              description
                                "Is Connection Up?";
                            }
    
                            leaf connection-up-count {
                              type uint32;
                              description
                                "Number of connection Up events";
                            }
    
                            leaf last-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Up event (in seconds)";
                            }
    
                            leaf connection-down-count {
                              type uint32;
                              description
                                "Number of connection down events";
                            }
    
                            leaf last-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Down event (in
    seconds)";
                            }
                          }  // container te-connection
    
                          container lsd-connection {
                            description
                              "MPLS LSD server connection info";
                            container first-connection-up-timestamp {
                              description
                                "Timestamp for first connection up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-up-timestamp
    
                            container last-connection-up-timestamp {
                              description
                                "Timestamp for last connection Up";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-up-timestamp
    
                            container first-connection-down-timestamp {
                              description
                                "Timestamp for first connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-connection-down-timestamp
    
                            container last-connection-down-timestamp {
                              description
                                "Timestamp for last connection down";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-connection-down-timestamp
    
                            leaf is-connection-up {
                              type boolean;
                              description
                                "Is Connection Up?";
                            }
    
                            leaf connection-up-count {
                              type uint32;
                              description
                                "Number of connection Up events";
                            }
    
                            leaf last-connection-up-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Up event (in seconds)";
                            }
    
                            leaf connection-down-count {
                              type uint32;
                              description
                                "Number of connection down events";
                            }
    
                            leaf last-connection-down-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last connection Down event (in
    seconds)";
                            }
                          }  // container lsd-connection
    
                          container ds-npl {
                            description
                              "NSR related DS and NPL information";
                            leaf dir-service-conn-state {
                              type Bgp-ds-conn-state;
                              description
                                "Current Directory Service connectionstate";
                            }
    
                            leaf issu-mgr-conn-state {
                              type Bgp-ism-conn-state;
                              description
                                "Current ISSU Mgr connection state";
                            }
    
                            leaf issu-phase {
                              type string;
                              description
                                "Current ISSU Phase";
                            }
    
                            leaf issu-type-ng {
                              type boolean;
                              description
                                "ISSU type is Next Gen";
                            }
    
                            leaf issuha-option {
                              type string;
                              description
                                "Current ISSU HA option";
                            }
    
                            leaf local-ds-handle {
                              type uint64;
                              description
                                "Local Directory Service handle";
                            }
    
                            leaf service-name {
                              type string;
                              description
                                "Local DS service name";
                            }
    
                            leaf dsissu-status-flag {
                              type uint32;
                              description
                                "DS ISSU status flag";
                            }
    
                            list npl-priority-statistic {
                              max-elements 2;
                              description
                                "Stats for BGP NPL priority";
                              leaf prio-queue-level {
                                type string {
                                  length "0..32";
                                }
                                description
                                  "npl priority queue level";
                              }
    
                              list num-sent {
                                max-elements 5;
                                description
                                  "Total sent";
                                leaf entry {
                                  type uint64;
                                  description
                                    "Total sent";
                                }
                              }  // list num-sent
    
                              list num-recv {
                                max-elements 6;
                                description
                                  "Total recvd";
                                leaf entry {
                                  type uint64;
                                  description
                                    "Total recvd";
                                }
                              }  // list num-recv
    
                              list num-sent-drop {
                                max-elements 5;
                                description
                                  "Sent Error/drops";
                                list nsr-pl-send-drop-array {
                                  max-elements
                                    7;
                                  description
                                    "nsr pl send drop array";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "entry";
                                  }
                                }  // list nsr-pl-send-drop-array
                              }  // list num-sent-drop
    
                              list num-recv-drop {
                                max-elements 6;
                                description
                                  "Recv Errors/drops";
                                list nsr-pl-recv-drop-array {
                                  max-elements
                                    16;
                                  description
                                    "nsr pl recv drop array";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "entry";
                                  }
                                }  // list nsr-pl-recv-drop-array
                              }  // list num-recv-drop
                            }  // list npl-priority-statistic
    
                            list npl-endpoint {
                              description
                                "NPL endpoint information";
                              leaf endpoint-name {
                                type string;
                                description
                                  "BGP NPL endpoint name";
                              }
    
                              leaf sync-group-name {
                                type string;
                                description
                                  "Syncgroup associated with this endpoint";
                              }
    
                              leaf node-id {
                                type xr:Node-id;
                                description
                                  "Node ID";
                              }
    
                              leaf endpoint-handle {
                                type uint64;
                                description
                                  "Handle to end-point for NCD communication";
                              }
    
                              leaf endpoint-stale-flag {
                                type boolean;
                                description
                                  "Flag to indicate if endpoint is stale";
                              }
    
                              leaf endpoint-issu-role {
                                type string;
                                description
                                  "Endpoint's ISSU Role. Values are 'Primary',
    'Secondary' and 'Tertiary'";
                              }
    
                              leaf endpoint-active-flag {
                                type boolean;
                                description
                                  "Flag to indicate if endpoint is active";
                              }
    
                              leaf msg-size {
                                type uint32;
                                description
                                  "Message size for this entity";
                              }
    
                              leaf wheel-id {
                                type uint32;
                                description
                                  "Wheel ID for this endpoint";
                              }
    
                              leaf expected-sequence-num {
                                type uint32;
                                description
                                  "BGP NPL sequence number expected";
                              }
    
                              leaf last-sent-sequence-num {
                                type uint32;
                                description
                                  "Last sent Sequence Num";
                              }
    
                              leaf npl-initial-sequence-num {
                                type uint32;
                                description
                                  "NPL Initial Sequence Num";
                              }
    
                              list endpoint {
                                description
                                  "NCD endpoint bytestream";
                                leaf entry {
                                  type uint8;
                                  units "byte";
                                  description
                                    "NCD endpoint bytestream";
                                }
                              }  // list endpoint
                            }  // list npl-endpoint
                          }  // container ds-npl
    
                          leaf configuration-items-processed {
                            type uint32;
                            description
                              "Number of config items processed";
                          }
    
                          leaf configuration-processing-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing config (milliseconds)";
                          }
    
                          leaf edm-requests-count {
                            type uint32;
                            description
                              "Number of EDM requests processed";
                          }
    
                          leaf edm-processing-time {
                            type uint32;
                            description
                              "Time spent processing EDM requests (ms)";
                          }
    
                          leaf brib-api-output-messages-sent {
                            type uint32;
                            description
                              "bRIB API output messages sent";
                          }
    
                          leaf brib-api-output-bytes-sent {
                            type uint32;
                            units "byte";
                            description
                              "bRIB API output bytes sent";
                          }
    
                          leaf brib-api-output-bytes-generated {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes generated to be sent by the BGP
    RIB API";
                          }
    
                          leaf brib-api-output-prefixes-advertised {
                            type uint32;
                            description
                              "Number of prefix advertise messagesto be sent by
    the bRIB API";
                          }
    
                          leaf brib-api-output-prefixes-withdrawn {
                            type uint32;
                            description
                              "Number of prefix withdraw messagesto be sent by
    the bRIB API";
                          }
    
                          leaf brib-api-output-sending-time {
                            type uint32;
                            description
                              "Time spent sending output to bRIB API (ms)";
                          }
    
                          leaf brib-api-output-generation-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent generating output for bRIB API
    (milliseconds)";
                          }
    
                          leaf brib-api-output-calls {
                            type uint32;
                            description
                              "bRIB API calls to generate output";
                          }
    
                          leaf brib-api-input-messages {
                            type uint32;
                            description
                              "bRIB API input messages";
                          }
    
                          leaf brib-api-input-bytes {
                            type uint32;
                            units "byte";
                            description
                              "bRIB API input bytes";
                          }
    
                          leaf brib-api-input-prefixes-received {
                            type uint32;
                            description
                              "bRIB API input advertised prefixes received";
                          }
    
                          leaf brib-api-input-withdrawn-prefixes {
                            type uint32;
                            description
                              "bRIB API input withdrawn prefixes received";
                          }
    
                          leaf brib-api-input-processing-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing input from bRIB API
    (milliseconds)";
                          }
    
                          leaf instance-node-role {
                            type boolean;
                            description
                              "Node role - active/passive";
                          }
    
                          leaf active-nsrtcp-phase-two-enter-time {
                            type uint32;
                            units "second";
                            description
                              "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                          }
    
                          leaf sec-active-nsrtcp-phase-two-enter-time {
                            type uint32;
                            units "second";
                            description
                              "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                          }
    
                          leaf proc-scoped-sync-state {
                            type Bgp-scoped-sync-state;
                            description
                              "Synchronized state of BGP process";
                          }
    
                          leaf initial-sync-sessions-added {
                            type boolean;
                            description
                              "If true, BGP has at least one established
    session when NSR initial synchronization is
    started";
                          }
    
                          leaf in-event-attach-calls {
                            type uint32;
                            description
                              "event_file_attach  calls for input";
                          }
    
                          leaf out-event-attach-calls {
                            type uint32;
                            description
                              "event_file_attach  calls for output";
                          }
    
                          leaf in-out-event-attach-calls {
                            type uint32;
                            description
                              "event_file_attach calls for input";
                          }
    
                          leaf updgen-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if update generation master
    timer is running";
                          }
    
                          leaf updgen-tree-timer-left {
                            type uint64;
                            description
                              "Time left before the QNX timer would expire";
                          }
    
                          leaf updgen-tree-timer-expiry {
                            type uint64;
                            description
                              "Time as per tree->mtexptime";
                          }
    
                          leaf current-clock-time {
                            type uint64;
                            description
                              "Current time";
                          }
    
                          leaf updgen-handler-tm {
                            type uint64;
                            description
                              "Timestamp when updgen timer handler got called";
                          }
    
                          leaf io-timer-running {
                            type boolean;
                            description
                              "IO master timer Running";
                          }
    
                          leaf io-tree-timer-left {
                            type uint64;
                            description
                              "Time left before the QNX timer would expire";
                          }
    
                          leaf io-tree-timer-expiry {
                            type uint64;
                            description
                              "Time as per tree->mtexptime";
                          }
    
                          leaf io-handler-tm {
                            type uint64;
                            description
                              "Timestamp when IO timer handler got called";
                          }
    
                          leaf qad-messages-sent {
                            type uint32;
                            description
                              "Messages sent on QAD ";
                          }
    
                          leaf qadack-sent {
                            type uint32;
                            description
                              "Acks sent on QAD ";
                          }
    
                          leaf qad-send-failure {
                            type uint32;
                            description
                              "Send failure on QAD ";
                          }
    
                          leaf qad-ac-ks-failure {
                            type uint32;
                            description
                              "Ack failure on QAD ";
                          }
    
                          leaf qad-suspends {
                            type uint32;
                            description
                              "QAD send suspend";
                          }
    
                          leaf qad-resumes {
                            type uint32;
                            description
                              "QAD send resume ";
                          }
    
                          leaf qad-send-drops {
                            type uint32;
                            description
                              "Send packets dropped due to null peer ";
                          }
    
                          leaf qad-messages-received {
                            type uint32;
                            description
                              "Messages received on QAD ";
                          }
    
                          leaf qad-processed {
                            type uint32;
                            description
                              "Messages processed";
                          }
    
                          leaf qad-ac-ks-received {
                            type uint32;
                            description
                              "Acks received on QAD ";
                          }
    
                          leaf qad-timeout-received {
                            type uint32;
                            description
                              "Timeouts received on QAD ";
                          }
    
                          leaf qad-init-drops {
                            type uint32;
                            description
                              "Packets dropped on standby during initialization";
                          }
    
                          leaf qadoos-drops {
                            type uint32;
                            description
                              "Packets dropped due to  out of sequence
    packetreceived";
                          }
    
                          leaf qad-recv-drops {
                            type uint32;
                            description
                              "Received packet dropped due to null peer ";
                          }
    
                          leaf qad-timeout-recvd {
                            type uint32;
                            description
                              "Number of packet send timeouts ";
                          }
    
                          leaf nsr-last-reset-reason {
                            type uint8;
                            description
                              "Reason for last nsr state  machine reset";
                          }
    
                          leaf redcon-nsr-ready {
                            type boolean;
                            description
                              "NSR state conveyed to Redcon  by bgp - nsr
    ready/unready";
                          }
    
                          leaf redcon-state-time {
                            type uint32;
                            description
                              "Time when nsr state wasconveyed to Redcon last";
                          }
    
                          leaf active-nsr-state {
                            type uint32;
                            description
                              "Current Active BGP nsrstate";
                          }
    
                          leaf sec-active-nsr-state {
                            type uint32;
                            description
                              "Current Sec Active BGP nsrstate";
                          }
    
                          leaf total-outstanding-postits {
                            type uint32;
                            description
                              "Total outstanding postits across all neighbors";
                          }
    
                          leaf total-neighbors-with-pending-postits {
                            type uint32;
                            description
                              "Count of neighbors with postits pending";
                          }
    
                          leaf tep2p-auto-tunnel-enabled {
                            type boolean;
                            description
                              "TE support for P2P auto tunnel";
                          }
    
                          list active-nsr-mode-enter-time {
                            max-elements 26;
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            leaf entry {
                              type uint32;
                              units "second";
                              description
                                "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            }
                          }  // list active-nsr-mode-enter-time
    
                          list standby-nsr-mode-enter-time {
                            max-elements 7;
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            leaf entry {
                              type uint32;
                              units "second";
                              description
                                "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                            }
                          }  // list standby-nsr-mode-enter-time
    
                          list active-nsrfo-time {
                            max-elements 10;
                            description
                              "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                            leaf entry {
                              type uint32;
                              units "second";
                              description
                                "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                            }
                          }  // list active-nsrfo-time
    
                          list postit-count-info {
                            description
                              "List of neighbors and their postit counts";
                            container neighbor-address {
                              description
                                "IP address of the neighbor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf postit-count {
                              type uint32;
                              description
                                "Count of the number of postits for this nbr";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list postit-count-info
    
                          list issu-milestone {
                            description
                              "ISSU Milestones";
                            leaf milestone-name {
                              type string;
                              description
                                "Name of the in-service software upgrade (ISSU)
    milestone";
                            }
    
                            leaf milestone-start-timestamp {
                              type uint32;
                              description
                                "Timestamp for the ISSU milestone start";
                            }
    
                            leaf milestone-met-timestamp {
                              type uint32;
                              description
                                "Timestamp when ISSU milestone met";
                            }
                          }  // list issu-milestone
                        }  // container global
    
                        container vrf {
                          description
                            "VRF information";
                          leaf lpts-set-up-time {
                            type uint32;
                            description
                              "Time spent setting up LPTS socket opt (ms)";
                          }
    
                          leaf lpts-calls {
                            type uint32;
                            description
                              "Number of times LPTS socket opt set up";
                          }
    
                          leaf read-throttles-count {
                            type uint32;
                            description
                              "Number of partial read throttles";
                          }
    
                          leaf low-throttled-read-count {
                            type uint32;
                            description
                              "Number of socket reads for nbrs above low
    threshold";
                          }
    
                          leaf high-throttled-read-count {
                            type uint32;
                            description
                              "Number of socket reads for nbrs above high
    threshold";
                          }
    
                          leaf read-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to read inbound data";
                          }
    
                          leaf read-messages-count {
                            type uint32;
                            description
                              "Number of BGP messages read";
                          }
    
                          leaf data-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "No. of bytes of data read";
                          }
    
                          leaf io-read-time {
                            type uint32;
                            description
                              "Time spent reading inbound data (ms)";
                          }
    
                          leaf write-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to write outbound data";
                          }
    
                          leaf data-bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes of data written";
                          }
    
                          leaf io-write-time {
                            type uint32;
                            description
                              "Time spent writing outbound data (ms)";
                          }
    
                          leaf write-subgroup-calls-count {
                            type uint32;
                            description
                              "No. of calls to to funvction to process
    sub-group message list";
                          }
    
                          leaf write-subgroup-messages-count {
                            type uint32;
                            description
                              "Number of sub-group messages processed";
                          }
    
                          leaf subgroup-list-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sub-group message list
    (milliseconds)";
                          }
    
                          leaf write-queue-calls-count {
                            type uint32;
                            description
                              "No. of Calls to function to process write queue";
                          }
    
                          leaf write-queue-messages-count {
                            type uint32;
                            description
                              "Number of write queue messages processed";
                          }
    
                          leaf write-queue-time {
                            type uint32;
                            description
                              "Time spent processing write queue (ms)";
                          }
    
                          leaf inbound-update-messages {
                            type uint32;
                            description
                              "Number of inbound update messages processed";
                          }
    
                          leaf inbound-update-messages-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing imbound update messages
    (milliseconds)";
                          }
                        }  // container vrf
                      }  // container performance-statistics
    
                      leaf process-instance {
                        type uint8;
                        description
                          "ID for the BGP process instance";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf vrf-totals {
                        type boolean;
                        description
                          "per VRF counts aggregated across all VRFs";
                      }
                    }  // container process-info
    
                    container sessions {
                      description
                        "The BGP session table";
                      list session {
                        key "neighbor-address";
                        description
                          "A BGP session table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP neighbor brief description";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf messages-queued-in {
                          type uint32;
                          description
                            "No. of msgs on receive queue";
                        }
    
                        leaf messages-queued-out {
                          type uint32;
                          description
                            "No. of messages on send queue";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        leaf postit-pending {
                          type boolean;
                          description
                            "Nbr has postits pending";
                        }
    
                        leaf connection-established-time {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) that the connection has been
    established";
                        }
                      }  // list session
                    }  // container sessions
    
                    container neighbors {
                      description
                        "The BGP Neighbor table";
                      list neighbor {
                        key "neighbor-address";
                        description
                          "A BGP Neighbor table entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        container send-notification-info {
                          description
                            "Information on the last notification sent";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container send-notification-info
    
                        container received-notification-info {
                          description
                            "Information on the last notification received";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container received-notification-info
    
                        container performance-statistics {
                          description
                            "BGP neighbor performance statistics";
                          leaf read-throttles {
                            type uint32;
                            description
                              "Number of partial read throttles";
                          }
    
                          leaf low-throttled-read {
                            type uint32;
                            description
                              "Num socket reads after nbrs crossed low
    threshold";
                          }
    
                          leaf high-throttled-read {
                            type uint32;
                            description
                              "Num of socket reads after nbr crossed high
    threshold";
                          }
    
                          leaf time-since-last-throttled-read {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read after being
    throttled";
                          }
    
                          leaf read-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to read inbound data";
                          }
    
                          leaf read-messages-count {
                            type uint32;
                            description
                              "Number of BGP messages read";
                          }
    
                          leaf data-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "No. of bytes of data read";
                          }
    
                          leaf io-read-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent reading inbound data (milliseconds)";
                          }
    
                          leaf write-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to write outbound data";
                          }
    
                          leaf data-bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Number of bytes that havesent to peers";
                          }
    
                          leaf io-write-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent writing outbound data (milliseconds)";
                          }
    
                          leaf last-sent-seq-no {
                            type uint32;
                            description
                              "Seq No of the last sent byte";
                          }
    
                          leaf write-subgroup-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process sub-group
    message list";
                          }
    
                          leaf write-subgroup-messages-count {
                            type uint32;
                            description
                              "Number of sub-group msgs processed";
                          }
    
                          leaf subgroup-list-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing sub-group message list
    (milliseconds)";
                          }
    
                          leaf write-queue-calls-count {
                            type uint32;
                            description
                              "No. of calls to function to process write queue";
                          }
    
                          leaf write-queue-messages-count {
                            type uint32;
                            description
                              "Number of write queue messages processed";
                          }
    
                          leaf write-queue-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing write queue (milliseconds)";
                          }
    
                          leaf inbound-update-messages {
                            type uint32;
                            description
                              "Number of inbound update messages processed";
                          }
    
                          leaf inbound-update-messages-time {
                            type uint32;
                            units "millisecond";
                            description
                              "Time spent processing inbound update messages
    (milliseconds)";
                          }
    
                          leaf maximum-read-size {
                            type uint32;
                            units "millisecond";
                            description
                              "Size of largest socket (milliseconds)";
                          }
    
                          leaf actives {
                            type uint32;
                            description
                              "Number of retried Active opens for this neighbor";
                          }
    
                          leaf failed-post-actives {
                            type uint32;
                            description
                              "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                          }
    
                          leaf passives {
                            type uint32;
                            description
                              "Number of retried Passive opens for this
    neighbor";
                          }
    
                          leaf rejected-passives {
                            type uint32;
                            description
                              "Number of rejected Passive opens for this
    neighbor";
                          }
    
                          leaf active-collision {
                            type uint32;
                            description
                              "Number of Closed Active connections for this
    neighbor due to collision ";
                          }
    
                          leaf passive-collision {
                            type uint32;
                            description
                              "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                          }
    
                          leaf control-to-read-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger read
    thread";
                          }
    
                          leaf control-to-write-thread-trigger {
                            type uint32;
                            description
                              "Number of times io-control thread trigger write
    thread";
                          }
    
                          leaf network-status {
                            type uint32;
                            description
                              "Socket status, TRUE if socket closed";
                          }
    
                          leaf reset-flags {
                            type uint32;
                            description
                              "Reset flags, per thread";
                          }
    
                          leaf nbr-flags {
                            type uint32;
                            description
                              "Nbr flags, per thread";
                          }
    
                          leaf nbr-fd {
                            type int32;
                            description
                              "Primary FD, per nbr";
                          }
    
                          leaf reset-retries {
                            type uint8;
                            description
                              "Reset Retries, per nbr";
                          }
    
                          leaf sync-flags {
                            type uint32;
                            description
                              "Sync flags, per nbr";
                          }
    
                          leaf nsr-oper-down-count {
                            type uint32;
                            description
                              "Number of times NSR scoped sync has been done";
                          }
    
                          leaf last-nsr-scoped-sync {
                            type uint32;
                            description
                              "Last time NSR scoped syncwas done for the
    neighbor";
                          }
                        }  // container performance-statistics
    
                        container message-statistics {
                          description
                            "BGP neighbor message statistics";
                          container open {
                            description "Open";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container open
    
                          container notification {
                            description
                              "BGP neighbor messagestatistics notification";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container notification
    
                          container update {
                            description
                              "BGP neighbor message statisticsupdate";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container update
    
                          container keepalive {
                            description
                              "Message sent between BGP neighborsto check the
    link between is operating";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container keepalive
    
                          container route-refresh {
                            description
                              "BGP neighbor message statisticsroute refresh";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container route-refresh
    
                          container total {
                            description "Total";
                            container tx {
                              description
                                "Transmit";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container tx
    
                            container rx {
                              description
                                "Receive";
                              container last-time-spec {
                                description
                                  "BGP neighbor message statisticslast timespec";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-time-spec
    
                              leaf count {
                                type uint32;
                                description
                                  "Count";
                              }
                            }  // container rx
                          }  // container total
                        }  // container message-statistics
    
                        container tcp-init-sync-time-spec {
                          description
                            "Time When neighbor entered TCP Init Sync";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-time-spec
    
                        container tcp-init-sync-phase-two-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Phase
    Two";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-phase-two-time-spec
    
                        container tcp-init-sync-done-time-spec {
                          description
                            "Time when neighbor entered TCP Init Sync Done";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container tcp-init-sync-done-time-spec
    
                        container graceful-maintenance {
                          description
                            "Globally activated BGp neighborfor graceful
    shutdown";
                          leaf gshut-exists {
                            type boolean;
                            description
                              "Graceful Maintenance enabled";
                          }
    
                          leaf gshut-local-active {
                            type boolean;
                            description
                              "Graceful Maintenance locally activated";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "Graceful Maintenance Local Preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "Graceful Maintenance Local Preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "Graceful Maintenance number of AS prepends";
                          }
    
                          leaf gshut-interface-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Interface";
                          }
    
                          leaf gshut-location-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Location";
                          }
                        }  // container graceful-maintenance
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "BGP neighbor description";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf has-internal-link {
                          type boolean;
                          description
                            "Internal link to neighbor";
                        }
    
                        leaf is-external-neighbor-not-directly-connected {
                          type boolean;
                          description
                            "Flag to indicate neighbor is external and not
    directly connected";
                        }
    
                        leaf messages-received {
                          type uint32;
                          description
                            "Number of messages received";
                        }
    
                        leaf messages-sent {
                          type uint32;
                          description
                            "Number of messages sent";
                        }
    
                        leaf update-messages-in {
                          type uint32;
                          description
                            "No. of update msgs received";
                        }
    
                        leaf update-messages-out {
                          type uint32;
                          description
                            "No. of update messages sent";
                        }
    
                        leaf messages-queued-in {
                          type uint32;
                          description
                            "No. of msgs on receive queue";
                        }
    
                        leaf messages-queued-out {
                          type uint32;
                          description
                            "No. of messages on send queue";
                        }
    
                        leaf connection-established-time {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) that the connection has been
    established";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
    
                        leaf previous-connection-state {
                          type uint32;
                          description
                            "Previous state of connection";
                        }
    
                        leaf connection-admin-status {
                          type uint32;
                          description
                            "Administrative status of connection";
                        }
    
                        leaf open-check-error-code {
                          type Bgp-open-check-err;
                          description
                            "Error code for open check failure forBGP
    neighbor";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf connection-local-port {
                          type uint32;
                          description
                            "Local port for the connection";
                        }
    
                        leaf connection-remote-port {
                          type uint32;
                          description
                            "Remote port for the connection";
                        }
    
                        leaf neighbor-interface-handle {
                          type uint32;
                          description
                            "Interface Handle of Neighbor";
                        }
    
                        leaf reset-notification-sent {
                          type boolean;
                          description
                            "Notification was sent during last reset";
                        }
    
                        leaf is-administratively-shut-down {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor is
    administratively shut down";
                        }
    
                        leaf is-neighbor-max-prefix-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down because it exceeded max prfx
    count";
                        }
    
                        leaf is-out-of-memory-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down during a SEVERE low memory
    condition";
                        }
    
                        leaf is-out-of-memory-forced-up {
                          type boolean;
                          description
                            "Neighbor forced up during a low memory condition";
                        }
    
                        leaf is-ebgp-peer-as-league {
                          type boolean;
                          description
                            "EBGP peer belongs to AS League";
                        }
    
                        leaf is-ebgp-peer-common-admin {
                          type boolean;
                          description
                            "EBGP peer with common administation";
                        }
    
                        leaf ttl-security-enabled {
                          type boolean;
                          description
                            "TTL Security enabled";
                        }
    
                        leaf suppress4-byte-as {
                          type boolean;
                          description
                            "Suppress 4byteas capability";
                        }
    
                        leaf bfd-session-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-created-state {
                          type Bgp-bfd-state;
                          description
                            "BFD state for this peer";
                        }
    
                        leaf bfd-session-enable-mode {
                          type Bgp-bfd-enable-mode;
                          description
                            "BFD enable mode for this peer";
                        }
    
                        leaf bfd-minintervalval {
                          type uint32;
                          description
                            "BFD Mininterval for this peer";
                        }
    
                        leaf bfd-multiplierval {
                          type uint32;
                          description
                            "BFD Multiplier for this peer";
                        }
    
                        leaf bfd-state-ts {
                          type uint64;
                          description
                            "Timestamp since when nbr is in this bfd state";
                        }
    
                        leaf router-id {
                          type inet:ipv4-address;
                          description
                            "Router ID for the neighbor";
                        }
    
                        leaf negotiated-protocol-version {
                          type uint16;
                          description
                            "Negotiated protocol version with the BGP
    neighbor";
                        }
    
                        leaf ebgp-time-to-live {
                          type uint32;
                          description
                            "Maximum number of hops for external BGP neighbor";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf tcpmss {
                          type uint32;
                          description
                            "Neighbor TCP Maximum Segment
    size";
                        }
    
                        leaf msg-log-in {
                          type uint32;
                          description
                            "Message in log count";
                        }
    
                        leaf msg-log-out {
                          type uint32;
                          description
                            "Message out log count";
                        }
    
                        leaf neighbor-local-as {
                          type uint32;
                          description
                            "Local AS configured on the neighbor";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Option to not prepend the Local AS to
    announcements";
                        }
    
                        leaf is-capability-negotiation-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                        }
    
                        leaf is-capability-negotiation-performed {
                          type boolean;
                          description
                            "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                        }
    
                        leaf is-route-refresh-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh was received";
                        }
    
                        leaf is-route-refresh-old-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                        }
    
                        leaf is-gr-aware {
                          type boolean;
                          description
                            "GR awareness received";
                        }
    
                        leaf is4-byte-as-capability-received {
                          type boolean;
                          description
                            "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                        }
    
                        leaf is4-byte-as-capability-sent {
                          type boolean;
                          description
                            "4-byte AScapability Snt";
                        }
    
                        leaf multi-protocol-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if multi-protocol capability
    has been received";
                        }
    
                        leaf hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) negotiated for this
    connection";
                        }
    
                        leaf keep-alive-time {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) negotiated for this
    connection";
                        }
    
                        leaf configured-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-keepalive {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-min-acc-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                        }
    
                        leaf min-advertise-interval {
                          type uint32;
                          units "second";
                          description
                            "Minimum advertisement interval, secs part";
                        }
    
                        leaf min-advertise-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement interval, msecs part";
                        }
    
                        leaf min-origination-interval {
                          type uint16;
                          units "second";
                          description
                            "Minimum origination interval (in secs)";
                        }
    
                        leaf connect-retry-interval {
                          type uint16;
                          units "second";
                          description
                            "Time (in secs) for connect retry timer";
                        }
    
                        leaf time-since-last-update {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last update message was
    received";
                        }
    
                        leaf time-since-last-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read";
                        }
    
                        leaf time-since-last-read-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read before last reset";
                        }
    
                        leaf time-last-cb {
                          type uint64;
                          description "CB";
                        }
    
                        leaf time-last-cb-reset {
                          type uint32;
                          description
                            "Last CB before reset";
                        }
    
                        leaf time-last-fb {
                          type uint64;
                          description "FB";
                        }
    
                        leaf count-last-write {
                          type uint32;
                          description "Count";
                        }
    
                        leaf time-since-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write";
                        }
    
                        leaf attempted-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of last write";
                        }
    
                        leaf actual-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of last write";
                        }
    
                        leaf time-since-second-last-write {
                          type uint32;
                          units "second";
                          description
                            "Time (in seconds) elapsed since the second last
    write event";
                        }
    
                        leaf attempted-second-last-write-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write";
                        }
    
                        leaf actual-second-last-write-bytes {
                          type uint32;
                          description
                            "Actual size of second last write";
                        }
    
                        leaf time-since-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of last write before reset";
                        }
    
                        leaf actual-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of last write before reset";
                        }
    
                        leaf time-since-second-last-write-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write before last
    reset";
                        }
    
                        leaf attempted-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Attempted size of second last write before reset";
                        }
    
                        leaf actual-second-last-write-reset-bytes {
                          type uint32;
                          description
                            "Actual size of second last write before reset";
                        }
    
                        leaf last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last write thread event";
                        }
    
                        leaf second-last-write-event {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last write thread
    event";
                        }
    
                        leaf last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last KA timer expiry before
    reset";
                        }
    
                        leaf second-last-k-aexpiry-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since second last KA timer expiry
    before reset";
                        }
    
                        leaf last-k-anotsent-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that KA was
    not sent before reset";
                        }
    
                        leaf last-k-aerror-reset {
                          type uint32;
                          units "second";
                          description
                            "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                        }
    
                        leaf last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the last KA timer start
    before reset";
                        }
    
                        leaf second-last-k-astart-reset {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since the second last KA timer
    start before reset";
                        }
    
                        leaf connection-up-count {
                          type uint32;
                          description
                            "Number of times the connection was established";
                        }
    
                        leaf connection-down-count {
                          type uint32;
                          description
                            "Number of times connection was dropped";
                        }
    
                        leaf time-since-connection-last-dropped {
                          type uint32;
                          units "second";
                          description
                            "Time since the connection last went down
    (seconds)";
                        }
    
                        leaf reset-reason {
                          type Bgp-reset-reason-index;
                          description
                            "Reason for last connection reset";
                        }
    
                        leaf peer-reset-reason {
                          type Bgp-peer-reset-reason-index;
                          description
                            "Reason for last peer close event";
                        }
    
                        leaf peer-error-code {
                          type uint32;
                          description
                            "If peer closed, error received from transport";
                        }
    
                        leaf last-notify-error-code {
                          type uint8;
                          description
                            "Code for the last error notification seen on the
    connection";
                        }
    
                        leaf last-notify-error-subcode {
                          type uint8;
                          description
                            "Error subcode of the last error notification
    seen on the connection";
                        }
    
                        leaf error-notifies-received {
                          type uint32;
                          description
                            "Number of error notifications received on the
    connection";
                        }
    
                        leaf error-notifies-sent {
                          type uint32;
                          description
                            "Number of error notifications sent on the
    connection";
                        }
    
                        leaf remote-as-number {
                          type uint32;
                          description
                            "Remote AS number of BGP neighbor";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Bandwidth of link to single-hop eBGP peer";
                        }
    
                        leaf ebgp-recv-dmz {
                          type boolean;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Ebgp send dmz link bw mode";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf tcp-session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "The TCP mode to be used to set up BGP session
    with the neighbor";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf standby-rp {
                          type boolean;
                          description
                            "Standby RP socket inited for Active Open";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf graceful-restart-enabled-nbr {
                          type boolean;
                          description
                            "Neighbor supports graceful-restart";
                        }
    
                        leaf gr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor restart time (in seconds)";
                        }
    
                        leaf gr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor stale-path time (in seconds)";
                        }
    
                        leaf fssn-offset {
                          type uint32;
                          description
                            "First standby SeqNo offset";
                        }
    
                        leaf fpbsn-offset {
                          type uint32;
                          description
                            "First standby PDU boundary SeqNo offset";
                        }
    
                        leaf last-ackd-seq-no {
                          type uint32;
                          description
                            "SeqNo of the last Ackd byte";
                        }
    
                        leaf bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes written by write thread";
                        }
    
                        leaf bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total bytes read";
                        }
    
                        leaf socket-read-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Total read bytes value insocket-lib";
                        }
    
                        leaf is-read-disabled {
                          type boolean;
                          description
                            "If true, socket read isdisabled";
                        }
    
                        leaf update-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "Total number of bytes readcorresponding to
    update messages";
                        }
    
                        leaf nsr-state {
                          type Bgp-sync-nbr-nsr-state;
                          description
                            "NSR state";
                        }
    
                        leaf is-passive-close {
                          type boolean;
                          description
                            "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                        }
    
                        leaf nbr-enforce-first-as {
                          type boolean;
                          description
                            "Neighbor enforce first AS";
                        }
    
                        leaf active-bmp-servers {
                          type uint8;
                          description
                            "BMP Servers to which the neighbor sends logs";
                        }
    
                        leaf nbr-cluster-id {
                          type uint32;
                          description
                            "Cluster id";
                        }
    
                        leaf nbr-in-cluster {
                          type uint8;
                          description
                            "Type of cluster_id:undefined/number/Ip address";
                        }
    
                        leaf ignore-connected {
                          type boolean;
                          description
                            "If true, the VPN client isan IBGP CE peer";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf io-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for io
    control";
                        }
    
                        leaf read-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for read";
                        }
    
                        leaf write-armed {
                          type boolean;
                          description
                            "If true, socket has beenauto-armed for write";
                        }
    
                        leaf discard-data-bytes {
                          type uint32;
                          units "byte";
                          description
                            "Remaining discard data (bytes) on Standby";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
    
                        leaf local-as-dual-as-mode-native {
                          type boolean;
                          description
                            "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                        }
    
                        leaf egress-peer-engineering-enabled {
                          type boolean;
                          description
                            "Indicates if Egress Peer Engineering is enabled";
                        }
    
                        leaf discard-as4-path {
                          type uint32;
                          description
                            "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                        }
    
                        leaf rpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf dynamic-neighbor {
                          type boolean;
                          description
                            "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                        }
    
                        leaf merge-inbound-safi1and4-updates {
                          type boolean;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf is-capability-enhe-suppressed {
                          type boolean;
                          description
                            "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                        }
    
                        leaf delete-time-remaining {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) remaining for deletion";
                        }
    
                        leaf sn-bfd-discriminator {
                          type uint32;
                          description
                            "Local Discriminator for the associated BFD
    session";
                        }
    
                        list af-data {
                          max-elements 25;
                          description
                            "Address family specific neighbor data";
                          container neighbor-af-performance-statistics {
                            description
                              "Neighbor AF statistics";
                            leaf sub-group-pending-message-count {
                              type uint32;
                              description
                                "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                            }
    
                            leaf processed-messages {
                              type uint32;
                              description
                                "Number of messages processed from the neighbor's
    write queue";
                            }
    
                            leaf sent-messages {
                              type uint32;
                              description
                                "Number of messages sent from the neighbor's
    write queue";
                            }
    
                            leaf split-horizon-update-transmit {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-update-blocked {
                              type uint32;
                              description
                                "No. of update messages with split-horizon flag
    that were blocked";
                            }
    
                            leaf split-horizon-withdraw-transmit {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were sent out";
                            }
    
                            leaf split-horizon-withdraw-blocked {
                              type uint32;
                              description
                                "No. of withdraw messages with split-horizon flag
    that were blocked";
                            }
                          }  // container neighbor-af-performance-statistics
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-neighbor-route-reflector-client {
                            type boolean;
                            description
                              "Nbr is a route reflector client";
                          }
    
                          leaf is-legacy-pe-rt {
                            type boolean;
                            description
                              "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                          }
    
                          leaf is-neighbor-af-capable {
                            type boolean;
                            description
                              "Address family capability received from neighbor";
                          }
    
                          leaf is-soft-reconfiguration-inbound-allowed {
                            type boolean;
                            description
                              "Inbound soft reconfiguration allowed";
                          }
    
                          leaf is-use-soft-reconfiguration-always-on {
                            type boolean;
                            description
                              "Soft reconf overrides route refresh";
                          }
    
                          leaf remove-private-as-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to this
    nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                          }
    
                          leaf remove-private-as-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                          }
    
                          leaf flowspec-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                          }
    
                          leaf flowspec-redirect-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf advertise-afi {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-reorg {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-disable {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf encapsulation-type {
                            type uint32;
                            description
                              "BGP neighbor address-familyencapsulation type";
                          }
    
                          leaf advertise-rt-type {
                            type uint8;
                            description
                              "BGP neighbor address-familyadvertise route
    target type";
                          }
    
                          leaf advertise-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of default VRF import disable";
                          }
    
                          leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 default VRF import disable";
                          }
    
                          leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 default VRF import disable";
                          }
    
                          leaf advertise-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of VRF re-import disable";
                          }
    
                          leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v4 VRF re-import disable";
                          }
    
                          leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                            type boolean;
                            description
                              "Advertise of v6 VRF re-import disable";
                          }
    
                          leaf advertise-afi-eo-r-ready {
                            type boolean;
                            description
                              "EoR Can be sent for Advertise AFI";
                          }
    
                          leaf always-use-next-hop-local {
                            type boolean;
                            description
                              "Local router always used for next-hop";
                          }
    
                          leaf sent-community-to-neighbor {
                            type boolean;
                            description
                              "Community attribute sent to neighbor";
                          }
    
                          leaf sent-gshut-community-to-neighbor {
                            type boolean;
                            description
                              "GSHUT Community attribute sent to neighbor";
                          }
    
                          leaf sent-extended-community-to-neighbor {
                            type boolean;
                            description
                              "Extended community attribute sent to neighbor";
                          }
    
                          leaf default-originate-vpn-index {
                            type uint32;
                            description
                              "Default orig vpn indexto find bitfield for a nbr
    af";
                          }
    
                          leaf neighbor-default-originate {
                            type boolean;
                            description
                              "Neighbor originates default";
                          }
    
                          leaf is-orf-sent {
                            type boolean;
                            description
                              "Outbound route filter sent to neighbor";
                          }
    
                          leaf is-update-deferred {
                            type boolean;
                            description
                              "Update deferred until ORF/route refresh received";
                          }
    
                          leaf is-orf-send-scheduled {
                            type boolean;
                            description
                              "Scheduled to send prefix based ORF";
                          }
    
                          leaf update-group-number {
                            type uint32;
                            description
                              "Update group index";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "BGP neighbor address-familyfilter group index";
                          }
    
                          leaf is-update-throttled {
                            type boolean;
                            description
                              "Updates Throttled becausewrite limit is reached";
                          }
    
                          leaf is-update-leaving {
                            type boolean;
                            description
                              "Nbr leaving update-groupto another";
                          }
    
                          leaf vpn-update-gen-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf vpn-update-gen-trigger-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf is-addpath-send-operational {
                            type boolean;
                            description
                              "Addpath is operational on send-side";
                          }
    
                          leaf is-addpath-receive-operational {
                            type boolean;
                            description
                              "Addpath is operational on receive-side";
                          }
    
                          leaf neighbor-version {
                            type uint32;
                            description
                              "BGP neighbor version for theaddress-family";
                          }
    
                          leaf weight {
                            type uint32;
                            description
                              "Weight for this AF";
                          }
    
                          leaf max-prefix-limit {
                            type uint32;
                            description
                              "Max limit for # of prefixes";
                          }
    
                          leaf use-max-prefix-warning-only {
                            type boolean;
                            description
                              "Warning only when maximum prefix limit reached";
                          }
    
                          leaf max-prefix-discard-extra-paths {
                            type boolean;
                            description
                              "Discard extra paths when prefix limit reached";
                          }
    
                          leaf max-prefix-exceed-discard-paths {
                            type boolean;
                            description
                              "Did we discard extra paths when prefix limit
    reached";
                          }
    
                          leaf max-prefix-threshold-percent {
                            type uint8;
                            units "percentage";
                            description
                              "Percentage of maximum no. of prefixes at which
    to generate warning";
                          }
    
                          leaf max-prefix-discard-paths-count {
                            type uint32;
                            description
                              "Number of discarded paths after prefix limit
    reached";
                          }
    
                          leaf max-prefix-restart-time {
                            type uint16;
                            units "minute";
                            description
                              "Time interval (in minutes) after which peering
    session will be reestablished";
                          }
    
                          leaf prefixes-accepted {
                            type uint32;
                            description
                              "Number of prefixes acceptedfrom this BGP
    neighbor";
                          }
    
                          leaf prefixes-synced {
                            type uint32;
                            description
                              "Number of prefixes synced to standby";
                          }
    
                          leaf prefixes-withdrawn-not-found {
                            type uint32;
                            description
                              "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                          }
    
                          leaf prefixes-denied {
                            type uint32;
                            description
                              "Number of prefixes denied forthis BGP neighbor";
                          }
    
                          leaf prefixes-denied-no-policy {
                            type uint32;
                            description
                              "No. of prefixes denied because there was no
    inbound policy";
                          }
    
                          leaf prefixes-denied-rt-permit {
                            type uint32;
                            description
                              "No. of prefixes denied because RT extended
    community is not imported";
                          }
    
                          leaf prefixes-denied-orf-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by prefix based ORF
    policy";
                          }
    
                          leaf prefixes-denied-policy {
                            type uint32;
                            description
                              "No. of prefixes denied by inbound policy";
                          }
    
                          leaf number-of-bestpaths {
                            type uint32;
                            description
                              "No. of bestpaths from this neighbor";
                          }
    
                          leaf number-of-best-externalpaths {
                            type uint32;
                            description
                              "No. of best-external paths from this neighbor";
                          }
    
                          leaf prefixes-advertised {
                            type uint32;
                            description
                              "Number of prefixes advertisedfor this BGP
    neighbor";
                          }
    
                          leaf prefixes-be-advertised {
                            type uint32;
                            description
                              "Number of BE prefixes advertised";
                          }
    
                          leaf prefixes-suppressed {
                            type uint32;
                            description
                              "Number of prefixes suppressed";
                          }
    
                          leaf prefixes-withdrawn {
                            type uint32;
                            description
                              "Number of prefixes withdrawn";
                          }
    
                          leaf is-peer-orf-capable {
                            type boolean;
                            description
                              "Peer has outbound route filter capability";
                          }
    
                          leaf is-advertised-orf-send {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability advertised";
                          }
    
                          leaf is-received-orf-send-capable {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability received";
                          }
    
                          leaf is-advertised-orf-receive {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    advertised";
                          }
    
                          leaf is-received-orf-receive-capable {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    received";
                          }
    
                          leaf is-advertised-graceful-restart {
                            type boolean;
                            description
                              "Graceful Restart Capability advertised";
                          }
    
                          leaf is-graceful-restart-state-flag {
                            type boolean;
                            description
                              "Restart state flag enabled";
                          }
    
                          leaf is-received-graceful-restart-capable {
                            type boolean;
                            description
                              "Graceful Restart Capability received";
                          }
    
                          leaf is-add-path-send-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                          }
    
                          leaf is-add-path-send-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability
    received from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                          }
    
                          leaf is-add-path-receive-capability-received {
                            type boolean;
                            description
                              "Flag to indicate addpath receive capability
    received from BGPneighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-received {
                            type boolean;
                            description
                              "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                          }
    
                          leaf is-ext-nh-encoding-capability-sent {
                            type boolean;
                            description
                              "Extended nexhop encoding capability Sent";
                          }
    
                          leaf restart-time {
                            type uint32;
                            units "second";
                            description
                              "Restart time advertised (seconds)";
                          }
    
                          leaf local-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Local Restart time (seconds)";
                          }
    
                          leaf stale-path-timeout {
                            type uint32;
                            units "second";
                            description
                              "Stale path timeout time (in seconds)";
                          }
    
                          leaf rib-purge-timeout-value {
                            type uint32;
                            units "second";
                            description
                              "RIB purge timeout time (in seconds)";
                          }
    
                          leaf neighbor-preserved-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate neighbor preserved in
    forwarding state";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-configured {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-sent {
                            type uint32;
                            units "second";
                            description
                              "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-accept {
                            type uint32;
                            units "second";
                            description
                              "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-capability-received {
                            type boolean;
                            description
                              "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-received {
                            type uint32;
                            units "second";
                            description
                              "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                          }
    
                          leaf neighbor-preserved-long-lived-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-capable {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-time-remaining {
                            type uint32;
                            description
                              "Remaining long-lived graceful-restart time";
                          }
    
                          leaf route-refreshes-received {
                            type uint32;
                            description
                              "Number of route refresh requests received";
                          }
    
                          leaf route-refreshes-sent {
                            type uint32;
                            description
                              "Number of route refresh requests sent";
                          }
    
                          leaf refresh-target-version {
                            type uint32;
                            description
                              "Target version for refresh update generation";
                          }
    
                          leaf refresh-version {
                            type uint32;
                            description
                              "Version till which refresh updates have been
    generated";
                          }
    
                          leaf refresh-acked-version {
                            type uint32;
                            description
                              "Version acked by the peer for refresh updates
    sent";
                          }
    
                          leaf is-prefix-orf-present {
                            type boolean;
                            description
                              "Outbound route filter prefix ORF present";
                          }
    
                          leaf orf-entries-received {
                            type uint32;
                            description
                              "Number of outbound route filter entries received";
                          }
    
                          leaf is-default-originate-sent {
                            type boolean;
                            description
                              "Default origination update sent";
                          }
    
                          leaf route-policy-prefix-orf {
                            type string;
                            description
                              "Prefix based ORF for incoming updates";
                          }
    
                          leaf route-policy-in {
                            type string;
                            description
                              "Incoming route policy name";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outgoing route policy name";
                          }
    
                          leaf route-policy-default-originate {
                            type string;
                            description
                              "Default-originate route policy name";
                          }
    
                          leaf is-neighbor-ebgp-without-inbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured inbound policy";
                          }
    
                          leaf is-neighbor-ebgp-without-outbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured outbound policy";
                          }
    
                          leaf is-upd-orig-loopchk-disable-set {
                            type boolean;
                            description
                              "Flag to indicate if update out originator
    loopcheck is disabled";
                          }
    
                          leaf is-as-override-set {
                            type boolean;
                            description
                              "Flag to indicate as override set for BGP
    neighbor";
                          }
    
                          leaf is-allow-as-in-set {
                            type boolean;
                            description
                              "Allowas-in set ";
                          }
    
                          leaf allow-as-in-count {
                            type uint32;
                            description
                              "Allowas-in count config";
                          }
    
                          leaf address-family-long-lived-time {
                            type uint32;
                            description
                              "AF specific Long-lived-time config";
                          }
    
                          leaf eo-r-received-in-read-only {
                            type boolean;
                            description
                              "An EoR was received while in read-only mode";
                          }
    
                          leaf acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo";
                          }
    
                          leaf synced-acked-version {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf outstanding-version {
                            type uint32;
                            description
                              "No. of all outstanding version objects waiting
    for ack from the peer";
                          }
    
                          leaf outstanding-refresh-version {
                            type uint32;
                            description
                              "No. of only refresh version objects waiting for
    ack from the peer";
                          }
    
                          leaf outstanding-version-max {
                            type uint32;
                            description
                              "Version mapped from acked seqNo that was synced
    last";
                          }
    
                          leaf is-aigp-set {
                            type boolean;
                            description
                              "AIGP set ";
                          }
    
                          leaf is-rt-present {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf is-rt-present-standby {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf accept-own-enabled {
                            type boolean;
                            description
                              "Flag to indicate if Accept-Own is enabled";
                          }
    
                          leaf selective-multipath-eligible {
                            type boolean;
                            description
                              "Flag to indicate if selective multipath is
    eligible";
                          }
    
                          leaf afrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf afrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf afrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf afrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf is-advertise-permanent-network {
                            type boolean;
                            description
                              "Flag to indicate if advertise is permanent
    network";
                          }
    
                          leaf is-send-mcast-attr {
                            type boolean;
                            description
                              "Send Mcast Attr";
                          }
    
                          leaf import-stitching {
                            type boolean;
                            description
                              "Import Stitching enabled";
                          }
    
                          leaf import-reoriginate {
                            type boolean;
                            description
                              "Import Reoriginate enabled";
                          }
    
                          leaf import-reoriginate-stitching {
                            type boolean;
                            description
                              "Import Reoriginate Stitching enabled";
                          }
    
                          leaf advertise-v4-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV4";
                          }
    
                          leaf advertise-v6-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV6";
                          }
    
                          leaf advertise-local-labeled-route-unicast {
                            type boolean;
                            description
                              "Advertise routes with ";
                          }
    
                          leaf prefixes-denied-non-cumulative {
                            type uint32;
                            description
                              "No. of prefixes exactly denied (non cumulative)";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Flag to indicate if label stack is enabled";
                          }
    
                          leaf ot-prov-track-enable {
                            type boolean;
                            description
                              "OT Provider Tracking enabled";
                          }
    
                          leaf ot-prov-track-state {
                            type Bgp-track-state;
                            description
                              "OT Provider Tracking state";
                          }
    
                          leaf ot-prov-track-in-gr-state {
                            type boolean;
                            description
                              "OT Provider Track in GR State";
                          }
    
                          leaf ot-prov-track-eor-tmr-running {
                            type boolean;
                            description
                              "OT Provider Track EOR timer running";
                          }
    
                          leaf slow-peer-flags {
                            type uint8;
                            description
                              "Slow Peer Flags ";
                          }
    
                          leaf slow-peer-static {
                            type boolean;
                            description
                              "Static Slow Peer ";
                          }
    
                          leaf slow-peer-dynamic {
                            type boolean;
                            description
                              "Dynamic Slow Peer";
                          }
    
                          leaf slow-peer-permanent {
                            type boolean;
                            description
                              "Permanent Slow Peer";
                          }
    
                          leaf slow-peer-count {
                            type uint16;
                            description
                              "Slow peer count";
                          }
    
                          list extended-community {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community
    
                          list extended-community-standby {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community-standby
                        }  // list af-data
                      }  // list neighbor
                    }  // container neighbors
    
                    container next-hop-vrf {
                      description
                        "A BGP Next-hop VRF table entry";
                      leaf total-processing-time {
                        type uint32;
                        description
                          "Total time spent in processing";
                      }
    
                      leaf max-proc-notification-time {
                        type uint32;
                        description
                          "How long since the maximum processing time
    notifcation was received";
                      }
    
                      leaf max-notification-bestpath-deletes {
                        type uint32;
                        description
                          "Number of bestpath deletes caused by
    notification which resulted in maximum
    processing";
                      }
    
                      leaf max-notification-bestpath-changes {
                        type uint32;
                        description
                          "Number of bestpath changes caused by
    notification which resulted in maximum
    processing";
                      }
    
                      leaf maximum-processing-time {
                        type uint32;
                        description
                          "Maximum time spent procesing a single batch
    notification";
                      }
    
                      leaf last-notificationication-time {
                        type uint32;
                        description
                          "Time since the last notification was received";
                      }
    
                      leaf last-notification-processing-time {
                        type uint32;
                        description
                          "Processing time for the last notification";
                      }
                    }  // container next-hop-vrf
    
                    container neighbor-ranges {
                      description
                        "The BGP Dynamic Neighbor Range table";
                      list neighbor-range {
                        key "neighbor-range-address";
                        description
                          "A BGP Neighbor Range table entry";
                        leaf neighbor-range-address {
                          type inet:ip-prefix;
                          description
                            "Neighbor Range prefix";
                        }
    
                        container connection-local-address {
                          description
                            "Local address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-local-address
    
                        container connection-remote-address {
                          description
                            "Remote address for the connection";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container connection-remote-address
    
                        container graceful-maintenance {
                          description
                            "BGP connection of graceful shutdown";
                          leaf gshut-exists {
                            type boolean;
                            description
                              "Graceful Maintenance enabled";
                          }
    
                          leaf gshut-local-active {
                            type boolean;
                            description
                              "Graceful Maintenance locally activated";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "Graceful Maintenance Local Preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "Graceful Maintenance Local Preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "Graceful Maintenance number of AS prepends";
                          }
    
                          leaf gshut-interface-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Interface";
                          }
    
                          leaf gshut-location-active {
                            type boolean;
                            description
                              "Graceful Maintenance activated at Location";
                          }
                        }  // container graceful-maintenance
    
                        container cfg-local-address {
                          description
                            "Configured local address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container cfg-local-address
    
                        container local-address-subnet {
                          description
                            "Subnet for the BGP local address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container local-address-subnet
    
                        leaf speaker-id {
                          type uint8;
                          description
                            "Speaker this neighbor is allocated to";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Description of the BGP neighbor";
                        }
    
                        leaf local-as {
                          type uint32;
                          description
                            "Local AS number";
                        }
    
                        leaf remote-as {
                          type uint32;
                          description
                            "Remote AS number";
                        }
    
                        leaf has-internal-link {
                          type boolean;
                          description
                            "Internal link to neighbor";
                        }
    
                        leaf is-local-address-configured {
                          type boolean;
                          description
                            "Local address configured for the neighbor
    connection";
                        }
    
                        leaf neighbor-range-prefix-length {
                          type uint8;
                          description
                            "Length of the BGP neighbor prefix";
                        }
    
                        leaf is-administratively-shut-down {
                          type boolean;
                          description
                            "Flag to indicate if neighbor is administratively
    shutdown";
                        }
    
                        leaf is-neighbor-max-prefix-shutdown {
                          type boolean;
                          description
                            "Neighbor shut down because it exceeded max prfx
    count";
                        }
    
                        leaf is-out-of-memory-forced-up {
                          type boolean;
                          description
                            "Neighbor forced up during a low memory condition";
                        }
    
                        leaf ttl-security-enabled {
                          type boolean;
                          description
                            "TTL Security enabled";
                        }
    
                        leaf suppress4-byte-as {
                          type boolean;
                          description
                            "Suppress 4byteas capability";
                        }
    
                        leaf bfd-session-enable-mode {
                          type Bgp-bfd-enable-mode;
                          description
                            "BFD enable mode for this peer";
                        }
    
                        leaf bfd-minintervalval {
                          type uint32;
                          description
                            "BFD Mininterval for this peer";
                        }
    
                        leaf bfd-multiplierval {
                          type uint32;
                          description
                            "BFD Multiplier for this peer";
                        }
    
                        leaf ebgp-time-to-live {
                          type uint32;
                          description
                            "Maximum number of hops for external BGP neighbor";
                        }
    
                        leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                          type boolean;
                          description
                            "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                        }
    
                        leaf tcpmss {
                          type uint32;
                          description
                            "Neighbor TCP Maximum Segment
    size";
                        }
    
                        leaf msg-log-in {
                          type uint32;
                          description
                            "Message in log count";
                        }
    
                        leaf msg-log-out {
                          type uint32;
                          description
                            "Message out log count";
                        }
    
                        leaf neighbor-local-as {
                          type uint32;
                          description
                            "Local AS configured on the neighbor";
                        }
    
                        leaf local-as-no-prepend {
                          type boolean;
                          description
                            "Option to not prepend the Local AS to
    announcements";
                        }
    
                        leaf merge-inbound-safi1and4-updates {
                          type boolean;
                          description
                            "Merge SAFI-1 and SAFI-4 updates from neighbor";
                        }
    
                        leaf is-capability-negotiation-performed {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor capability
    negotiation is performed";
                        }
    
                        leaf configured-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Hold time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-keepalive {
                          type uint16;
                          units "second";
                          description
                            "Keepalive time (in secs) configured for this
    connection";
                        }
    
                        leaf configured-min-acc-hold-time {
                          type uint16;
                          units "second";
                          description
                            "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                        }
    
                        leaf min-advertise-interval {
                          type uint32;
                          units "second";
                          description
                            "Minimum advertisement interval, secs part";
                        }
    
                        leaf min-advertise-interval-msecs {
                          type uint32;
                          units "millisecond";
                          description
                            "Minimum advertisement interval, msecs part";
                        }
    
                        leaf min-origination-interval {
                          type uint16;
                          units "second";
                          description
                            "Minimum origination interval (in secs)";
                        }
    
                        leaf remote-as-number {
                          type uint32;
                          description
                            "AS number of the neighbor";
                        }
    
                        leaf dmz-link-bandwidth {
                          type uint32;
                          description
                            "Bandwidth of link to single-hop eBGP peer";
                        }
    
                        leaf ebgp-recv-dmz {
                          type boolean;
                          description
                            "Receive Bandwidth of link to single-hop eBGP
    peer";
                        }
    
                        leaf ebgp-send-dmz-mode {
                          type Bgp-ebgp-send-dmz-enable-mode;
                          description
                            "Ebgp send dmz link bw mode";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence or DSCP type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf tcp-session-open-mode {
                          type Bgp-tcp-mode;
                          description
                            "The TCP mode to be used to set up BGP session
    with the neighbor";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf standby-rp {
                          type boolean;
                          description
                            "Standby RP socket inited for Active Open";
                        }
    
                        leaf nsr-enabled {
                          type boolean;
                          description
                            "Neighbor supports NSR";
                        }
    
                        leaf graceful-restart-enabled-nbr {
                          type boolean;
                          description
                            "Neighbor supports graceful-restart";
                        }
    
                        leaf gr-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor restart time (in seconds)";
                        }
    
                        leaf gr-stale-path-time {
                          type uint32;
                          units "second";
                          description
                            "Neighbor stale-path time (in seconds)";
                        }
    
                        leaf is-passive-close {
                          type boolean;
                          description
                            "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                        }
    
                        leaf nbr-enforce-first-as {
                          type boolean;
                          description
                            "Neighbor enforce first AS";
                        }
    
                        leaf active-bmp-servers {
                          type uint8;
                          description
                            "BMP Servers to which the neighbor sends logs";
                        }
    
                        leaf nbr-cluster-id {
                          type uint32;
                          description
                            "Cluster id";
                        }
    
                        leaf nbr-in-cluster {
                          type uint8;
                          description
                            "Type of cluster_id:undefined/number/Ip address";
                        }
    
                        leaf ignore-connected {
                          type boolean;
                          description
                            "If true, the VPN client isan IBGP CE peer";
                        }
    
                        leaf internal-vpn-client {
                          type boolean;
                          description
                            "If true, don't do NHconnected check for nbr";
                        }
    
                        leaf local-as-replace-as {
                          type boolean;
                          description
                            "Local AS Replace-AS option";
                        }
    
                        leaf local-as-dual-as {
                          type boolean;
                          description
                            "Local AS Dual-AS option";
                        }
    
                        leaf local-as-dual-as-mode-native {
                          type boolean;
                          description
                            "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                        }
    
                        leaf egress-peer-engineering-enabled {
                          type boolean;
                          description
                            "Indicates if Egress Peer Engineering is enabled";
                        }
    
                        leaf discard-as4-path {
                          type uint32;
                          description
                            "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                        }
    
                        leaf rpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf rpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf rpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf rpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf remote-as-list-name {
                          type string;
                          description
                            "Remote AS List Name";
                        }
    
                        leaf nbr-rcv-size {
                          type uint32;
                          description
                            "Nbr Receive Size";
                        }
    
                        leaf nbr-send-size {
                          type uint32;
                          description
                            "Nbr Send Size";
                        }
    
                        leaf islocal-address-cfg {
                          type boolean;
                          description
                            "Local address configured";
                        }
    
                        leaf update-source {
                          type string;
                          description
                            "Interface to get the local IP address for the
    BGP session";
                        }
    
                        leaf is-local-addr-subnet-cfg {
                          type boolean;
                          description
                            "Flag to indicate if local-address-subnet is
    configured";
                        }
    
                        leaf local-address-subnet-len {
                          type uint32;
                          description
                            "Length of subnet for BGP local address";
                        }
    
                        leaf addpath-send-enable {
                          type boolean;
                          description
                            "Flag to indicate if addpath send functionality
    is enabled";
                        }
    
                        leaf addpath-receive-enable {
                          type boolean;
                          description
                            "Flag to indicate if addpath receive
    functionality is enabled";
                        }
    
                        leaf addpath-send-disable {
                          type boolean;
                          description
                            "Flag to indicate addpath send functionality is
    disabled";
                        }
    
                        leaf addpath-receive-disable {
                          type boolean;
                          description
                            "Flag indicates if addpath receive functionality
    is disabled";
                        }
    
                        leaf upd-errh-noreset {
                          type boolean;
                          description
                            "Update error handling configuration for C1
    category errors";
                        }
    
                        leaf msg-buf-count {
                          type uint32;
                          description
                            "Message Buf Count";
                        }
    
                        leaf msg-bug-circular {
                          type boolean;
                          description
                            "Message Buf Circular";
                        }
    
                        leaf syslog-enable {
                          type boolean;
                          description
                            "Flag to indicate if syslog should be output when
    an attribute filter is executed";
                        }
    
                        leaf oper-attrf-enable {
                          type boolean;
                          description
                            "Flag to indicate if operational attribute filter
    is enabled";
                        }
    
                        leaf attrf-group-name {
                          type string;
                          description
                            "Name of the attribute filter group Name";
                        }
    
                        leaf max-peers {
                          type uint32;
                          description
                            "Max Dynamic nbrs in range";
                        }
    
                        leaf idle-watch-time {
                          type uint32;
                          units "second";
                          description
                            "Dynamic Neighbor idle-watch time (in seconds)";
                        }
    
                        leaf current-peers {
                          type uint32;
                          description
                            "Current Dynamic nbrs in range";
                        }
    
                        leaf range-open-match {
                          type uint32;
                          description
                            "Passive open matching range";
                        }
    
                        leaf range-open-accepted {
                          type uint32;
                          description
                            "BGP neighbor passive session accepted";
                        }
    
                        leaf range-max-drop {
                          type uint32;
                          description
                            "open drop due to max peers";
                        }
    
                        leaf range-inst-error {
                          type uint32;
                          description
                            "Error during instance creation";
                        }
    
                        list af-data {
                          max-elements 25;
                          description
                            "Address family specific neighbor data";
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-neighbor-route-reflector-client {
                            type boolean;
                            description
                              "Nbr is a route reflector client";
                          }
    
                          leaf is-legacy-pe-rt {
                            type boolean;
                            description
                              "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                          }
    
                          leaf is-neighbor-af-capable {
                            type boolean;
                            description
                              "Address family capability received from neighbor";
                          }
    
                          leaf is-soft-reconfiguration-inbound-allowed {
                            type boolean;
                            description
                              "Inbound soft reconfiguration allowed";
                          }
    
                          leaf is-use-soft-reconfiguration-always-on {
                            type boolean;
                            description
                              "Soft reconf overrides route refresh";
                          }
    
                          leaf remove-private-as-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to this
    nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                          }
    
                          leaf remove-private-as-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr";
                          }
    
                          leaf remove-private-as-entire-aspath-from-inbound-updates {
                            type boolean;
                            description
                              "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                          }
    
                          leaf flowspec-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec validation is
    disabled";
                          }
    
                          leaf flowspec-redirect-validation-d-isable {
                            type boolean;
                            description
                              "Flag to indicate if flowspec redirect validation
    is disabled";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf advertise-afi {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-reorg {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-local {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf advertise-afi-disable {
                            type boolean;
                            description
                              "Encode in Advertise AFI";
                          }
    
                          leaf always-use-next-hop-local {
                            type boolean;
                            description
                              "Local router always used for next-hop";
                          }
    
                          leaf next-hop-unchanged {
                            type boolean;
                            description
                              "router does not change next-hop";
                          }
    
                          leaf sent-community-to-neighbor {
                            type boolean;
                            description
                              "Community attribute sent to neighbor";
                          }
    
                          leaf sent-gshut-community-to-neighbor {
                            type boolean;
                            description
                              "GSHUT Community attribute sent to neighbor";
                          }
    
                          leaf sent-extended-community-to-neighbor {
                            type boolean;
                            description
                              "Extended community attribute sent to neighbor";
                          }
    
                          leaf neighbor-default-originate {
                            type boolean;
                            description
                              "Neighbor originates default";
                          }
    
                          leaf is-orf-sent {
                            type boolean;
                            description
                              "Outbound route filter sent to neighbor";
                          }
    
                          leaf is-update-deferred {
                            type boolean;
                            description
                              "Update deferred until ORF/route refresh received";
                          }
    
                          leaf is-orf-send-scheduled {
                            type boolean;
                            description
                              "Scheduled to send prefix based ORF";
                          }
    
                          leaf vpn-update-gen-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf vpn-update-gen-trigger-enabled {
                            type boolean;
                            description
                              "RT Nbr enabled for updategento another";
                          }
    
                          leaf is-addpath-send-operational {
                            type boolean;
                            description
                              "Addpath is operational on send-side";
                          }
    
                          leaf is-addpath-receive-operational {
                            type boolean;
                            description
                              "Addpath is operational on receive-side";
                          }
    
                          leaf weight {
                            type uint32;
                            description
                              "Weight for this AF";
                          }
    
                          leaf max-prefix-limit {
                            type uint32;
                            description
                              "Max limit for # of prefixes";
                          }
    
                          leaf use-max-prefix-warning-only {
                            type boolean;
                            description
                              "Warning only when maximum prefix limit reached";
                          }
    
                          leaf max-prefix-discard-extra-paths {
                            type boolean;
                            description
                              "Discard extra paths when prefix limit reached";
                          }
    
                          leaf max-prefix-exceed-discard-paths {
                            type boolean;
                            description
                              "Did we discard extra paths when prefix limit
    reached";
                          }
    
                          leaf max-prefix-threshold-percent {
                            type uint8;
                            units "percentage";
                            description
                              "Percentage of maximum no. of prefixes at which
    to generate warning";
                          }
    
                          leaf max-prefix-discard-paths-count {
                            type uint32;
                            description
                              "Number of discarded paths after prefix limit
    reached";
                          }
    
                          leaf max-prefix-restart-time {
                            type uint16;
                            units "minute";
                            description
                              "Time interval (in minutes) after which peering
    session will be reestablished";
                          }
    
                          leaf is-peer-orf-capable {
                            type boolean;
                            description
                              "Peer has outbound route filter capability";
                          }
    
                          leaf is-advertised-orf-send {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability advertised";
                          }
    
                          leaf is-received-orf-send-capable {
                            type boolean;
                            description
                              "Prefix based ORF send mode capability received";
                          }
    
                          leaf is-advertised-orf-receive {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    advertised";
                          }
    
                          leaf is-received-orf-receive-capable {
                            type boolean;
                            description
                              "Prefix based ORF receive mode capability
    received";
                          }
    
                          leaf is-advertised-graceful-restart {
                            type boolean;
                            description
                              "Graceful Restart Capability advertised";
                          }
    
                          leaf is-graceful-restart-state-flag {
                            type boolean;
                            description
                              "Restart state flag enabled";
                          }
    
                          leaf is-received-graceful-restart-capable {
                            type boolean;
                            description
                              "Graceful Restart Capability received";
                          }
    
                          leaf is-add-path-send-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability is
    advertised";
                          }
    
                          leaf is-add-path-send-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if addpath send capability is
    received";
                          }
    
                          leaf is-add-path-receive-capability-advertised {
                            type boolean;
                            description
                              "Flag to indicate whetheraddpath receive
    capabilityadvertised";
                          }
    
                          leaf is-add-path-receive-capability-received {
                            type boolean;
                            description
                              "Flag to indicate whether addpathreceive
    capability received";
                          }
    
                          leaf restart-time {
                            type uint32;
                            units "second";
                            description
                              "Restart time advertised (seconds)";
                          }
    
                          leaf local-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Local Restart time (seconds)";
                          }
    
                          leaf stale-path-timeout {
                            type uint32;
                            units "second";
                            description
                              "Stale path timeout time (in seconds)";
                          }
    
                          leaf rib-purge-timeout-value {
                            type uint32;
                            units "second";
                            description
                              "RIB purge timeout time (in seconds)";
                          }
    
                          leaf neighbor-preserved-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor is preserved in
    forwarding state";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-configured {
                            type boolean;
                            description
                              "Flag to indicate whether long-lived
    graceful-restart stale time is configured";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-sent {
                            type uint32;
                            units "second";
                            description
                              "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-accept {
                            type uint32;
                            units "second";
                            description
                              "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                          }
    
                          leaf long-lived-graceful-restart-capability-received {
                            type boolean;
                            description
                              "Flag to indicate whether long-livedgraceful
    restart capability received from the neighbor";
                          }
    
                          leaf long-lived-graceful-restart-stale-time-received {
                            type uint32;
                            units "second";
                            description
                              "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                          }
    
                          leaf neighbor-preserved-long-lived-forwarding-state {
                            type boolean;
                            description
                              "Flag to indicate whether neighbor preserved
    long-lived forwarding state";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-capable {
                            type boolean;
                            description
                              "Flag to indicate whether treat neighbor as
    long-lived graceful-restart capable";
                          }
    
                          leaf neighbor-long-lived-graceful-restart-time-remaining {
                            type uint32;
                            description
                              "Remaining long-lived graceful-restart time";
                          }
    
                          leaf is-prefix-orf-present {
                            type boolean;
                            description
                              "Outbound route filter prefix ORF present";
                          }
    
                          leaf orf-entries-received {
                            type uint32;
                            description
                              "Number of outbound route filter entries received";
                          }
    
                          leaf route-policy-prefix-orf {
                            type string;
                            description
                              "Prefix based ORF for incoming updates";
                          }
    
                          leaf route-policy-in {
                            type string;
                            description
                              "Incoming route policy name";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outgoing route policy name";
                          }
    
                          leaf route-policy-default-originate {
                            type string;
                            description
                              "Default-originate route policy name";
                          }
    
                          leaf is-neighbor-ebgp-without-inbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured inbound policy";
                          }
    
                          leaf is-neighbor-ebgp-without-outbound-policy {
                            type boolean;
                            description
                              "eBGP neighbor with no configured outbound policy";
                          }
    
                          leaf is-upd-orig-loopchk-disable-set {
                            type boolean;
                            description
                              "Flag to indicate for update out originator
    loopcheck disable is set";
                          }
    
                          leaf is-as-override-set {
                            type boolean;
                            description
                              "Flag to indicate if As-override is set";
                          }
    
                          leaf is-allow-as-in-set {
                            type boolean;
                            description
                              "Allowas-in set ";
                          }
    
                          leaf allow-as-in-count {
                            type uint32;
                            description
                              "Allowas-in count config";
                          }
    
                          leaf address-family-long-lived-time {
                            type uint32;
                            description
                              "AF specific Long-lived-time config";
                          }
    
                          leaf is-aigp-set {
                            type boolean;
                            description
                              "AIGP set ";
                          }
    
                          leaf is-rt-present {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf is-rt-present-standby {
                            type boolean;
                            description
                              "RT attribute list present";
                          }
    
                          leaf accept-own-enabled {
                            type boolean;
                            description
                              "Flag to indicate if accept-Own is enabled";
                          }
    
                          leaf selective-multipath-eligible {
                            type boolean;
                            description
                              "Flag to indicate if selective multipath is
    eligible";
                          }
    
                          leaf afrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf afrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf afrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf afrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf is-advertise-permanent-network {
                            type boolean;
                            description
                              "Flag to indicate if advertise permanent network
    is enabled";
                          }
    
                          leaf is-send-mcast-attr {
                            type boolean;
                            description
                              "Send Mcast Attr";
                          }
    
                          leaf import-stitching {
                            type boolean;
                            description
                              "Import Stitching enabled";
                          }
    
                          leaf import-reoriginate {
                            type boolean;
                            description
                              "Import Reoriginate enabled";
                          }
    
                          leaf import-reoriginate-stitching {
                            type boolean;
                            description
                              "Import Reoriginate Stitching enabled";
                          }
    
                          leaf advertise-v4-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV4";
                          }
    
                          leaf advertise-v6-flags {
                            type uint32;
                            description
                              "Advertise options for VPNV6";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Flag to indicate if label stack is enabled";
                          }
    
                          list extended-community {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community
    
                          list extended-community-standby {
                            description
                              "Extended community attribute";
                            leaf entry {
                              type uint8;
                              description
                                "Extended community attribute";
                            }
                          }  // list extended-community-standby
                        }  // list af-data
    
                        list instance {
                          description
                            "Dynamic Neighbor Instance List";
                          container neighbor-address {
                            description
                              "Dynamic Neighbor address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          container neighbor-age {
                            description
                              "Age of the BGP neighbor";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container neighbor-age
    
                          container idle-watch-timer-remaining-value {
                            description
                              "Remaining time in idle watch timer";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container idle-watch-timer-remaining-value
    
                          leaf is-idle-watch-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if idle watch timer is running";
                          }
    
                          leaf connection-state {
                            type Bgp-conn-state;
                            description
                              "State of connection";
                          }
                        }  // list instance
                      }  // list neighbor-range
                    }  // container neighbor-ranges
    
                    container message-logs {
                      description
                        "The BGP Neighbor Message table";
                      list message-log {
                        description
                          "A BGP Message log entry";
                        leaf neighbor-address {
                          type inet:ip-address-no-zone;
                          description
                            "IPv4 or IPv6 Address of the BGP Neighbor";
                        }
    
                        leaf direction {
                          type uint32 {
                            range "0..1";
                          }
                          description
                            "Message log Direction";
                        }
    
                        list neighbor-message {
                          description
                            "Array of Neighbor Messages in one direction";
                          container message-timestamp {
                            description
                              "message received time: time elapsed since 00:00
    :00 UTC, January 1, 1970";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container message-timestamp
    
                          leaf message-type-received {
                            type uint8;
                            description
                              "Type of messages Received";
                          }
    
                          leaf total-logged-message-count {
                            type uint32;
                            description
                              "Number of total logged messages";
                          }
    
                          leaf message-data-length {
                            type uint16;
                            description
                              "Length of the BGP message";
                          }
    
                          list logged-message-data {
                            description
                              "Raw Message data in binary format";
                            leaf entry {
                              type uint8;
                              description
                                "Raw Message data in binary format";
                            }
                          }  // list logged-message-data
                        }  // list neighbor-message
                      }  // list message-log
                    }  // container message-logs
                  }  // list vrf
                }  // container vrfs
    
                container default-vrf {
                  description
                    "Default VRF related operational data";
                  container update-inbound-error-vrf {
                    description
                      "Update inbound error information for the VRF";
                    container last-update-malformed-timestamp {
                      description
                        "Last malformed messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-malformed-timestamp
    
                    leaf update-vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf update-malformed-message-count {
                      type uint32;
                      description
                        "BGP virtual routing & forwarding  malformed
    messages count";
                    }
    
                    leaf update-malformed-neighbor-count {
                      type uint32;
                      description
                        "Count of neighbors that received malformed
    messages";
                    }
    
                    leaf last-update-malformed-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last malformed messages received
    event (in seconds)";
                    }
                  }  // container update-inbound-error-vrf
    
                  container afs {
                    description
                      "BGP address family table";
                    list af {
                      key "af-name";
                      description
                        "A particular address family";
                      container rpki-refresh-af-table {
                        description
                          "RPKI Refresh Table (per AF)";
                        container rpki-refresh-af {
                          description
                            "RPKI Refresh List";
                          list refresh-entry {
                            description
                              "Array of refresh entries";
                            leaf af-name {
                              type Bgp-rpki-af;
                              description
                                "Address Family";
                            }
    
                            leaf neighbor {
                              type string;
                              description
                                "BGP neighbor";
                            }
    
                            leaf policy {
                              type string;
                              description
                                "Route Policy";
                            }
    
                            leaf paths {
                              type uint32;
                              description
                                "Number of BGP paths modified or dropped";
                            }
    
                            leaf drop {
                              type boolean;
                              description
                                "BGP paths were dropped";
                            }
                          }  // list refresh-entry
                        }  // container rpki-refresh-af
                      }  // container rpki-refresh-af-table
    
                      container remote-nh-table {
                        description
                          "A BGP Remote Nexthop table entry";
                        leaf lrnh-table {
                          type uint32;
                          description
                            "RNH Table ID";
                        }
    
                        list local-rnh-entry {
                          max-elements 2;
                          description
                            "Local RNH Entries";
                          container local-rnhesi {
                            description
                              "Local RNH ESI";
                            leaf esi {
                              type yang:hex-string;
                              description "esi";
                            }
                          }  // container local-rnhesi
    
                          leaf lrnh-present {
                            type boolean;
                            description
                              "RNH present boolean";
                          }
    
                          leaf lrnh-type {
                            type uint16;
                            description
                              "RNH Type";
                          }
    
                          leaf lrnhvni {
                            type uint32;
                            description
                              "RNH VNI";
                          }
    
                          leaf lrnh-addr {
                            type inet:ipv4-address;
                            description
                              "RNH Address";
                          }
    
                          leaf lrnhv6-addr {
                            type inet:ipv6-address;
                            description
                              "RNH IPv6 Address";
                          }
    
                          leaf lrnh-mac {
                            type Mac-address;
                            description
                              "RNH MAC Address";
                          }
                        }  // list local-rnh-entry
    
                        list rnh-entry-info {
                          description
                            "List of Dependency Tables ";
                          leaf lrnh-type {
                            type uint16;
                            description
                              "RNH Type";
                          }
    
                          leaf lrnh-table {
                            type uint32;
                            description
                              "RNH Table ID";
                          }
    
                          leaf lrnhvni {
                            type uint32;
                            description
                              "RNH VNI";
                          }
    
                          leaf lrnh-addr {
                            type inet:ipv4-address;
                            description
                              "RNH Address";
                          }
    
                          leaf lrnh-mac {
                            type Mac-address;
                            description
                              "RNH MAC Address";
                          }
    
                          leaf frnh-as {
                            type uint8;
                            description
                              "RNH Flags";
                          }
    
                          leaf rrnh-as {
                            type uint32;
                            description
                              "RNH Refcount";
                          }
                        }  // list rnh-entry-info
                      }  // container remote-nh-table
    
                      container policies {
                        description
                          "The BGP Policy Table";
                        list policy {
                          description
                            "A BGP Policy table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container neighbor-address-xr {
                            description
                              "Neighbor Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address-xr
    
                          container path-info-after-policy-in {
                            description
                              "Path information after inbound policy";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-info-after-policy-in
    
                          container path-info-after-policy-out {
                            description
                              "Path information after outbound policy";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-info-after-policy-out
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          container attributes-after-policy-out {
                            description
                              "Attributes after outbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-out
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path with advertised Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path advertised Source Route Distinguisher";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
                        }  // list policy
                      }  // container policies
    
                      container convergence {
                        description
                          "A BGP Convergence table entry";
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf has-converged {
                          type boolean;
                          description
                            "Convergence has been reached";
                        }
    
                        leaf are-write-queues-empty {
                          type boolean;
                          description
                            "All neighbor write queues are empty";
                        }
                      }  // container convergence
    
                      container af-process-info {
                        description
                          "A BGP Process address family table entry";
                        container global {
                          description
                            "Global information";
                          container version-wrap-time-spec {
                            description
                              "Version Wrap timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-wrap-time-spec
    
                          container version-wrap-start-time-spec {
                            description
                              "Version Wrap handle start timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-wrap-start-time-spec
    
                          container version-wrap-done-time-spec {
                            description
                              "Version Wrap handle Done timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-wrap-done-time-spec
    
                          container trigger-rib {
                            description
                              "Trigger RIB";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-rib
    
                          container trigger-import {
                            description
                              "Flag to keep track of import triggers to each of
    the threads";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-import
    
                          container trigger-update {
                            description
                              "Flag to keep track of update triggers for each
    thread";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-update
    
                          container trigger-label {
                            description
                              "Label to keep track of trigger for each thread";
                            leaf triggers {
                              type uint32;
                              description
                                "Number of times the threadwas triggered";
                            }
    
                            list statistic {
                              description
                                "stats recorded per trigger";
                              container trigger-time-spec {
                                description
                                  "Timestamp when the thread was triggered ";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container trigger-time-spec
    
                              leaf trigger-version {
                                type uint32;
                                description
                                  "The thread version last timethe thread is run";
                              }
    
                              leaf trigger-table-version {
                                type uint32;
                                description
                                  "TriggerTableVersion";
                              }
                            }  // list statistic
                          }  // container trigger-label
    
                          container rib-install {
                            description
                              "RIB install info";
                            container update-time {
                              description
                                "The time taken for routing information base
    download ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container update-time
    
                            container install-time {
                              description
                                "The time taken for the route installation ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container install-time
    
                            leaf installed-count {
                              type uint32;
                              description
                                "Count of installed routes";
                            }
    
                            leaf modified-count {
                              type uint32;
                              description
                                "Count of modified routes";
                            }
    
                            leaf skipped-count {
                              type uint32;
                              description
                                "Count of skipped routes";
                            }
    
                            leaf withdrawn-count {
                              type uint32;
                              description
                                "Count of withdrawn routes";
                            }
    
                            leaf start-version {
                              type uint32;
                              description
                                "Start version of the BGP routing information
    base ";
                            }
    
                            leaf target-version {
                              type uint32;
                              description
                                "Target version of BGProuting information
    baseupdate ";
                            }
                          }  // container rib-install
    
                          leaf router-state {
                            type Bgp-rtr-state;
                            description
                              "BGP router state for the address family ";
                          }
    
                          leaf table-version {
                            type uint32;
                            description
                              "BGP main routing table version";
                          }
    
                          leaf version-wrapped {
                            type uint32;
                            description
                              "Number of times Version Wrap happened";
                          }
    
                          leaf version-wrapped-tid {
                            type uint32;
                            description
                              "Version Wrapped trigger tid";
                          }
    
                          leaf max-active-pelem-version {
                            type uint32;
                            description
                              "Maximum Active Pelem Version";
                          }
    
                          leaf merged-table-version {
                            type uint32;
                            description
                              "The merged Bgp table version after RPFO";
                          }
    
                          leaf route-download-go-active-done-pending {
                            type uint32;
                            description
                              "To indicate whether routedownload go-active-done
    pulse is sent or not";
                          }
    
                          leaf rib-brib-received-version {
                            type uint32;
                            description
                              "Version received from ";
                          }
    
                          leaf table-brib-version {
                            type uint32;
                            description
                              "Version sent to RIB/bRIB";
                          }
    
                          leaf label-version {
                            type uint32;
                            description
                              "Version updated by label thread";
                          }
    
                          leaf import-version {
                            type uint32;
                            description
                              "Version updated by import thread";
                          }
    
                          leaf standby-version {
                            type uint32;
                            description
                              "Version updated by sync thread";
                          }
    
                          leaf send-version {
                            type uint32;
                            description
                              "Version for sending updates to peers";
                          }
    
                          leaf num-init-sync-pfx {
                            type uint32;
                            description
                              "Num of prefix synced during Initsync";
                          }
    
                          leaf max-label-stack-depth-v4-next-hop {
                            type uint32;
                            description
                              "Max supported label stack depth  for IPv4
    Nexthop";
                          }
    
                          leaf max-label-stack-depth-v6-next-hop {
                            type uint32;
                            description
                              "Max supported label stack depth  for IPv6
    Nexthop";
                          }
    
                          leaf local-networks-num {
                            type uint32;
                            description
                              "Total local networks";
                          }
    
                          leaf local-networks-memory {
                            type uint32;
                            description
                              "Total number of networks memory in global BGP
    address-family ";
                          }
    
                          leaf local-networks-malloced-num {
                            type uint32;
                            description
                              "Total number of networks for which memory is
    allocated";
                          }
    
                          leaf local-networks-freed-num {
                            type uint32;
                            description
                              "Total local networks freed";
                          }
    
                          leaf local-paths-num {
                            type uint32;
                            description
                              "Total local paths";
                          }
    
                          leaf local-paths-memory {
                            type uint32;
                            description
                              "Total memory allocated for local paths in BGP
    process";
                          }
    
                          leaf local-paths-malloced-num {
                            type uint32;
                            description
                              "Total local paths for which memory allocated";
                          }
    
                          leaf local-paths-freed-num {
                            type uint32;
                            description
                              "Total local paths freed";
                          }
    
                          leaf imported-paths-num {
                            type uint32;
                            description
                              "Total imported paths";
                          }
    
                          leaf imported-paths-memory {
                            type uint32;
                            description
                              "Total memory allocated for imported paths in BGP
    process";
                          }
    
                          leaf networks-num {
                            type uint32;
                            description
                              "Total Num of networks";
                          }
    
                          leaf networks-memory {
                            type uint32;
                            description
                              "Total memory allocated for networks in BGP
    process";
                          }
    
                          leaf networks-malloced-num {
                            type uint32;
                            description
                              "Total networks for which memory allocated";
                          }
    
                          leaf networks-freed-num {
                            type uint32;
                            description
                              "Total networks freed";
                          }
    
                          leaf paths-num {
                            type uint32;
                            description
                              "Total Num of paths";
                          }
    
                          leaf paths-memory {
                            type uint32;
                            description
                              "Total paths memory";
                          }
    
                          leaf paths-malloced-num {
                            type uint32;
                            description
                              "Total paths for which memory allocated";
                          }
    
                          leaf paths-freed-num {
                            type uint32;
                            description
                              "Total paths freed";
                          }
    
                          leaf path-elems-num {
                            type uint32;
                            description
                              "Total Num of path-elems";
                          }
    
                          leaf path-elems-memory {
                            type uint32;
                            description
                              "Total memory allocated for path-elements in BGP
    process";
                          }
    
                          leaf path-elems-malloced-num {
                            type uint32;
                            description
                              "Total memory allocated for path-element number";
                          }
    
                          leaf path-elems-freed-num {
                            type uint32;
                            description
                              "Total path-elems freed";
                          }
    
                          leaf label-last-trigger {
                            type uint64;
                            description
                              "Timestamp when Label thread is last triggered";
                          }
    
                          leaf last-label-version {
                            type uint32;
                            description
                              "Label thread version when last triggered";
                          }
    
                          leaf label-bgp-version {
                            type uint32;
                            description
                              "BGP version when label thread is last triggered";
                          }
    
                          leaf label-triggers {
                            type uint32;
                            description
                              "Label thread triggers";
                          }
    
                          leaf rib-last-trigger {
                            type uint64;
                            description
                              "Timestamp when RIB thread is last triggered";
                          }
    
                          leaf last-rib-version {
                            type uint32;
                            description
                              "RIB thread version when last triggered";
                          }
    
                          leaf rib-bgp-version {
                            type uint32;
                            description
                              "BGP version when RIB thread is last triggered";
                          }
    
                          leaf rib-triggers {
                            type uint32;
                            description
                              "RIB thread triggers";
                          }
    
                          leaf import-last-trigger {
                            type uint64;
                            description
                              "Timestamp when Import thread is last triggered";
                          }
    
                          leaf last-import-version {
                            type uint32;
                            description
                              "Import thread version when last triggered";
                          }
    
                          leaf import-bgp-version {
                            type uint32;
                            description
                              "BGP version when Import thread is last triggered";
                          }
    
                          leaf import-triggers {
                            type uint32;
                            description
                              "Import thread triggers";
                          }
    
                          leaf update-gen-last-trigger {
                            type uint64;
                            description
                              "Timestamp when Update generation thread is last
    triggered";
                          }
    
                          leaf update-gen-bgp-version {
                            type uint32;
                            description
                              "BGP version when Update generation thread is
    last triggered";
                          }
    
                          leaf update-triggers {
                            type uint32;
                            description
                              "Update thread triggers";
                          }
    
                          leaf total-r-ds-num {
                            type uint32;
                            description
                              "Total Num of RDs";
                          }
    
                          leaf total-remote-r-ds-num {
                            type uint32;
                            description
                              "Total Num of remote RDs";
                          }
    
                          leaf total-same-r-ds-num {
                            type uint32;
                            description
                              "Total Num of same RDs";
                          }
    
                          leaf malloced-rd-count {
                            type uint32;
                            description
                              "Activity: Number of RDs malloced";
                          }
    
                          leaf freed-rd-count {
                            type uint32;
                            description
                              "Activity: Number of RDs freed";
                          }
    
                          leaf rd-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by RD data";
                          }
    
                          leaf multipath-network-entry-count {
                            type uint32;
                            description
                              "Number of multipath network entries";
                          }
    
                          leaf multipath-network-entry-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used bymultipath network
    entries";
                          }
    
                          leaf multipath-paths-count {
                            type uint32;
                            description
                              "Number of multipath paths";
                          }
    
                          leaf multipath-paths-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used bymultimpath paths";
                          }
    
                          leaf update-wait-install-enabled {
                            type uint32;
                            description
                              "BGP process update wait until install is
    configured";
                          }
    
                          leaf rib-acked-table-version {
                            type uint32;
                            description
                              "Table version acked by routing information base";
                          }
    
                          leaf rib-ack-requests {
                            type uint32;
                            description
                              "Count for RIB ack requests";
                          }
    
                          leaf rib-acks-received {
                            type uint32;
                            description
                              "Count for RIB ack received";
                          }
    
                          leaf rib-slow-acks {
                            type uint32;
                            description
                              "Count for slow RIB acks";
                          }
                        }  // container global
    
                        container vrf {
                          description
                            "VRF information";
                          leaf network-entry-count {
                            type uint32;
                            description
                              "Number of network entries";
                          }
    
                          leaf paths-count {
                            type uint32;
                            description
                              "Number of paths";
                          }
    
                          leaf imported-paths {
                            type uint32;
                            description
                              "Number of imported paths";
                          }
    
                          leaf local-paths {
                            type uint32;
                            description
                              "Number of local paths";
                          }
    
                          leaf path-elems-count {
                            type uint32;
                            description
                              "Number of path elems";
                          }
    
                          leaf path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by path data";
                          }
    
                          leaf imported-path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by imported paths";
                          }
    
                          leaf local-path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by local paths";
                          }
    
                          leaf prefix-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by prefix data";
                          }
    
                          leaf path-elem-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by pathelem data";
                          }
    
                          leaf received-path-count {
                            type uint32;
                            description
                              "Number of (unused) received paths for inbound
    soft reconfiguration";
                          }
    
                          leaf history-path-count {
                            type uint32;
                            description
                              "Number of history paths (for dampening)";
                          }
    
                          leaf damped-path-count {
                            type uint32;
                            description
                              "Number of dampened paths";
                          }
    
                          leaf malloced-prefix-count {
                            type uint32;
                            description
                              "Activity: Number of prefixes malloced";
                          }
    
                          leaf freed-prefix-count {
                            type uint32;
                            description
                              "Activity: Number of prefixes freed";
                          }
    
                          leaf malloced-path-count {
                            type uint32;
                            description
                              "Activity: Number of paths malloced";
                          }
    
                          leaf freed-path-count {
                            type uint32;
                            description
                              "Activity: Number of paths freed";
                          }
    
                          leaf malloced-path-elem-count {
                            type uint32;
                            description
                              "Activity: Number of path elems malloced";
                          }
    
                          leaf freed-path-elem-count {
                            type uint32;
                            description
                              "Activity: Number of pathelems freed";
                          }
    
                          leaf any-ebgp-neighbor-missing-policy {
                            type boolean;
                            description
                              "Is there any neighbor which is missing either
    inbound or outbound or both routing policy for
    this address family?";
                          }
    
                          leaf attribute-download {
                            type boolean;
                            description
                              "BGP virtual routing and forwarding attribute
    download ";
                          }
    
                          leaf route-target-download {
                            type boolean;
                            description
                              "Route Target download is enabled";
                          }
    
                          leaf srms-prefix-sid {
                            type boolean;
                            description
                              "SRMS Prefix SID is ";
                          }
    
                          leaf add-path-install-enable {
                            type boolean;
                            description
                              "Additional paths installation is enabled";
                          }
    
                          leaf add-path-install-disable {
                            type boolean;
                            description
                              "Additional paths installation is disabled";
                          }
    
                          leaf best-external {
                            type boolean;
                            description
                              "Best External is enabled";
                          }
    
                          leaf best-external-disable {
                            type boolean;
                            description
                              "Best External is enabled";
                          }
    
                          leaf best-external-labeled-unicast {
                            type boolean;
                            description
                              "Best External is limited toLabeled-Unicast";
                          }
    
                          leaf label-retain {
                            type boolean;
                            description
                              "Label retention is enabled";
                          }
    
                          leaf label-retainvalue {
                            type uint32;
                            description
                              "Label retention value enabled";
                          }
    
                          leaf tbl-bitf-size {
                            type uint16;
                            description
                              "Bitfield size on table";
                          }
    
                          leaf tbl-chunk-bitf-size {
                            type uint16;
                            description
                              "Chunk Bitfield size on table";
                          }
    
                          leaf tbl-filter-group-bitf-resize-pending {
                            type boolean;
                            description
                              "Filter Group bitfield resize is pending for this
    table";
                          }
    
                          leaf is-route-reflector {
                            type boolean;
                            description
                              "Router is an RR for this AF";
                          }
    
                          leaf asbr {
                            type boolean;
                            description
                              "Router is an ASBR for this AF";
                          }
    
                          leaf retain-rt-all {
                            type boolean;
                            description
                              "Retain-RT-All enabled";
                          }
    
                          leaf ibgp-nexthop-self-count {
                            type uint32;
                            description
                              "Number of iBGP sessions configured with nh-self";
                          }
    
                          leaf use-igpsr-label {
                            type boolean;
                            description
                              "Use IGP SR label for resolution";
                          }
    
                          leaf bmp-network-entry-count {
                            type uint32;
                            description
                              "Number of BMP net entries";
                          }
    
                          leaf bmp-paths-count {
                            type uint32;
                            description
                              "Total Number of BMP paths";
                          }
    
                          leaf bmp-prefix-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by prefix data";
                          }
    
                          leaf bmp-path-memory {
                            type uint32;
                            units "byte";
                            description
                              "Memory (in bytes) used by path data";
                          }
                        }  // container vrf
    
                        container performance-statistics {
                          description
                            "BGP process address familyperformance statistics
    info";
                          container global {
                            description
                              "Global information";
                            leaf has-converged {
                              type boolean;
                              description
                                "TRUE if process has converged";
                            }
    
                            leaf first-nbr-up-time {
                              type uint32;
                              units "second";
                              description
                                "Time when first peer came up (seconds since Jan
    1 1970)";
                            }
    
                            leaf total-pim-install {
                              type uint32;
                              description
                                "Total number of install to PIM";
                            }
    
                            leaf total-pim-callbacks {
                              type uint32;
                              description
                                "Total number of PIM callbacks";
                            }
    
                            leaf total-pim-callback-batch {
                              type uint32;
                              description
                                "Total number of Pim callback batches";
                            }
    
                            list mode-enter-time {
                              max-elements 7;
                              description
                                "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                              leaf entry {
                                type uint32;
                                units "second";
                                description
                                  "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                              }
                            }  // list mode-enter-time
    
                            list total-pim-install-add {
                              max-elements 7;
                              description
                                "Total number of install to PIM for add";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of install to PIM for add";
                              }
                            }  // list total-pim-install-add
    
                            list total-pim-install-del {
                              max-elements 7;
                              description
                                "Total number of install to PIM for del";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of install to PIM for del";
                              }
                            }  // list total-pim-install-del
    
                            list total-pim-callback-add {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for add";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for add";
                              }
                            }  // list total-pim-callback-add
    
                            list total-pim-callback-del {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for del";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for del";
                              }
                            }  // list total-pim-callback-del
    
                            list total-pim-callback-add-local {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for local add";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for local add";
                              }
                            }  // list total-pim-callback-add-local
    
                            list total-pim-callback-del-local {
                              max-elements 7;
                              description
                                "Total number of Pim callbacks for Local del";
                              leaf entry {
                                type uint32;
                                description
                                  "Total number of Pim callbacks for Local del";
                              }
                            }  // list total-pim-callback-del-local
                          }  // container global
    
                          container vrf {
                            description
                              "VRF information";
                            container time-rib-coverged {
                              description
                                "Time last RIB ack was sent ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container time-rib-coverged
    
                            container time-rib-down {
                              description
                                "Time last RIB down wassent. This field is
    deprecated";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container time-rib-down
    
                            container first-rib-table-full-timestamp {
                              description
                                "Timestamp when RIB table was full for the first
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-table-full-timestamp
    
                            container last-rib-table-full-timestamp {
                              description
                                "Timestamp when RIB table was full for the last
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-table-full-timestamp
    
                            container first-rib-table-has-space-timestamp {
                              description
                                "Timestamp when RIB table had space for the first
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container first-rib-table-has-space-timestamp
    
                            container last-rib-table-has-space-timestamp {
                              description
                                "Timestamp when RIB table had space for the last
    time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-rib-table-has-space-timestamp
    
                            container time-label-retain {
                              description
                                "Time last label retentiontriggered ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container time-label-retain
    
                            leaf update-generation-calls {
                              type uint32;
                              description
                                "No. of calls to update generation function";
                            }
    
                            leaf update-generation-prefixes-count {
                              type uint32;
                              description
                                "No. of prefixes updates generated for";
                            }
    
                            leaf update-generation-be-prefixes-count {
                              type uint32;
                              description
                                "No. of be prefixes updates generated for";
                            }
    
                            leaf update-generation-messages-count {
                              type uint32;
                              description
                                "No. of update messages generated";
                            }
    
                            leaf update-generation-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent generating updates (milliseconds)";
                            }
    
                            leaf rib-update-calls {
                              type uint32;
                              description
                                "No. of calls to RIB update function";
                            }
    
                            leaf rib-update-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent sending RIB updates (milliseconds)";
                            }
    
                            leaf prefixes-sent-to-rib {
                              type uint32;
                              description
                                "No. of prefixes sent to RIB";
                            }
    
                            leaf prefixes-resent-to-rib {
                              type uint32;
                              description
                                "No. of prefixes re-sent to RIB";
                            }
    
                            leaf prefixes-not-sent-to-rib {
                              type uint32;
                              description
                                "No. of prefixes not sent to RIB due to
    unsupported label stack size";
                            }
    
                            leaf prefixes-removed-from-rib {
                              type uint32;
                              description
                                "No. of prefixes withdrawn from RIB";
                            }
    
                            leaf attributes-sent-to-rib {
                              type uint32;
                              description
                                "No. of attributes sent to RIB";
                            }
    
                            leaf attributes-removed-from-rib {
                              type uint32;
                              description
                                "No. of attributes withdrawn from RIB";
                            }
    
                            leaf attributes-recover-from-rib {
                              type uint32;
                              description
                                "No. of attributes recovered from RIB";
                            }
    
                            leaf scanner-runs {
                              type uint32;
                              description
                                "# of times scanner has run";
                            }
    
                            leaf scanner-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent running scanner (milliseconds)";
                            }
    
                            leaf rib-tbl-del-calls {
                              type uint32;
                              description
                                "No. of rib update skipped on account of table
    delete";
                            }
    
                            leaf rib-tbl-invalid-calls {
                              type uint32;
                              description
                                "No. of  rib update skipped due to table invalid";
                            }
    
                            leaf rib-tbl-skip-calls {
                              type uint32;
                              description
                                "No. of rib update skipped";
                            }
    
                            leaf rib-tbl-local-label {
                              type uint32;
                              description
                                "No. of rib update skipped. due to no local label";
                            }
    
                            leaf rib-tbl-retry {
                              type uint32;
                              description
                                "No. of table rib retires.";
                            }
    
                            leaf time-last-update-sent {
                              type uint32;
                              units "second";
                              description
                                "Time last update was sent (seconds since Jan 1
    1970)";
                            }
    
                            leaf is-rib-table-full {
                              type boolean;
                              description
                                "Indicates if RIB table is in prefix-limit state";
                            }
    
                            leaf rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table became full (from
    non-full)";
                            }
    
                            leaf first-rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table was full for the first
    time";
                            }
    
                            leaf last-rib-table-full-version {
                              type uint32;
                              description
                                "Version when RIB table was full for the last
    time";
                            }
    
                            leaf last-rib-table-full-age {
                              type uint32;
                              units "second";
                              description
                                "Time since RIB table was full for the last time
    (in seconds)";
                            }
    
                            leaf first-rib-table-has-space-version {
                              type uint32;
                              description
                                "Version when RIB table had space for the first
    time";
                            }
    
                            leaf last-rib-table-has-space-version {
                              type uint32;
                              description
                                "Version when RIB table had space for the last
    time";
                            }
    
                            leaf last-rib-table-has-space-age {
                              type uint32;
                              units "second";
                              description
                                "Times since RIB table had space for the last
    time (in seconds)";
                            }
    
                            leaf rib-trigger {
                              type boolean;
                              description
                                "Rib trigger enabled";
                            }
    
                            leaf vrf-flags {
                              type uint32;
                              description
                                "VRF flags for debug display";
                            }
    
                            leaf label-calls {
                              type uint32;
                              description
                                "No. of calls to label allocation processing
    function";
                            }
    
                            leaf label-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent running label processing
    (milliseconds)";
                            }
    
                            leaf label-rewrite-count {
                              type uint32;
                              description
                                "Number of label rewrites created";
                            }
    
                            leaf label-release-count {
                              type uint32;
                              description
                                "Number of labels released";
                            }
    
                            leaf label-added-count {
                              type uint32;
                              description
                                "Number of labels requested";
                            }
    
                            leaf import-calls {
                              type uint32;
                              description
                                "Number of calls to import processing function";
                            }
    
                            leaf import-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent in import processing (milliseconds)
    Note time accounted against source nets.";
                            }
    
                            leaf import-src-net-processed-count {
                              type uint32;
                              description
                                "Number of source nets processed";
                            }
    
                            leaf import-dest-net-processed-count {
                              type uint32;
                              description
                                "Number of destination nets processed";
                            }
    
                            leaf import-added-path-count {
                              type uint32;
                              description
                                "Number of imported paths added";
                            }
    
                            leaf import-removed-path-count {
                              type uint32;
                              description
                                "Number of imported paths removed";
                            }
    
                            leaf import-replaced-path-count {
                              type uint32;
                              description
                                "Number of imported paths ";
                            }
    
                            leaf update-group-count {
                              type uint32;
                              description
                                "No. of update group";
                            }
    
                            leaf subgroup-count {
                              type uint32;
                              description
                                "No. of update subgroup";
                            }
                          }  // container vrf
                        }  // container performance-statistics
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family id";
                        }
    
                        leaf process-instance {
                          type uint8;
                          description
                            "ID for the BGP process instance";
                        }
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf vrf-totals {
                          type boolean;
                          description
                            "per VRF information aggregated across all VRFs";
                        }
                      }  // container af-process-info
    
                      container path-used-table {
                        description
                          "The BGP Path Used Table";
                        list path {
                          description
                            "A BGP path table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address for the BGP neighbor";
                          }
    
                          leaf route-type {
                            type Bgp-route;
                            description
                              "Route Type";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list path
                      }  // container path-used-table
    
                      container bmp-path-table-generic {
                        description
                          "Summary Info about BMP Table";
                        container bmp-version-wrap-time-spec {
                          description
                            "Version Wrap timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-version-wrap-time-spec
    
                        container bmp-version-wrap-start-time-spec {
                          description
                            "Version Wrap handle start timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-version-wrap-start-time-spec
    
                        container bmp-version-wrap-done-time-spec {
                          description
                            "Version Wrap handle Done timestamp";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-version-wrap-done-time-spec
    
                        leaf bmp-route-monitoringe-enabled {
                          type boolean;
                          description
                            "Is Route Monitoring mode enabled";
                        }
    
                        leaf bmp-table-version {
                          type uint32;
                          description
                            "Table version";
                        }
    
                        leaf network-count {
                          type uint32;
                          description
                            "Number of nets in the table";
                        }
    
                        leaf path-count {
                          type uint32;
                          description
                            "Number of paths in the table";
                        }
    
                        leaf bmp-version-wrapped {
                          type uint32;
                          description
                            "Number of times Table Version Wrapped";
                        }
    
                        leaf bmp-version-wrapped-tid {
                          type uint32;
                          description
                            "Version Wrapped trigger thread id";
                        }
    
                        leaf bmp-version-inprogress {
                          type boolean;
                          description
                            "Is Version wrap in progress";
                        }
    
                        leaf bmp-version-incremented {
                          type boolean;
                          description
                            "Is Version being incremented";
                        }
                      }  // container bmp-path-table-generic
    
                      container rpc-sets {
                        description
                          "BGP next-hop set table";
                        list rpc-set {
                          key "rpc-set-index";
                          description
                            "A BGP next-hop set";
                          leaf rpc-set-index {
                            type uint32;
                            description
                              "Nexthop set index";
                          }
    
                          leaf next-hop-xr {
                            type uint32;
                            description
                              "Number of multipath next-hops";
                          }
    
                          leaf label {
                            type uint32;
                            description
                              "Label assigned to the RPCnext-hop set";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference for the count";
                          }
    
                          leaf srv6-sid-address {
                            type Ipv6-address;
                            description
                              "SRv6 SID address value";
                          }
    
                          leaf srv6-sid-address-len {
                            type uint32;
                            description
                              "SRv6 SID address Length";
                          }
    
                          leaf locator-format {
                            type uint32;
                            description
                              "Locator Format";
                          }
    
                          list next-hop {
                            description
                              "List of multipath next-hops";
                            container nexthop-addr {
                              description
                                "List of multipath next-hops";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container nexthop-addr
    
                            leaf received-label {
                              type uint32;
                              description
                                "Received labl for the path";
                            }
                          }  // list next-hop
                        }  // list rpc-set
                      }  // container rpc-sets
    
                      container global-af-process-info {
                        description
                          "The Global Address Family Process information
    table";
                        container global {
                          description
                            "Global information";
                          container rib-install {
                            description
                              "RIB install info";
                            container update-time {
                              description
                                "The time taken for routing information base
    download ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container update-time
    
                            container install-time {
                              description
                                "The time taken for the route installation ";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container install-time
    
                            leaf installed-count {
                              type uint32;
                              description
                                "Count of installed routes";
                            }
    
                            leaf modified-count {
                              type uint32;
                              description
                                "Count of modified routes";
                            }
    
                            leaf skipped-count {
                              type uint32;
                              description
                                "Count of skipped routes";
                            }
    
                            leaf withdrawn-count {
                              type uint32;
                              description
                                "Count of withdrawn routes";
                            }
    
                            leaf start-version {
                              type uint32;
                              description
                                "Start version of the BGP routing information
    base ";
                            }
    
                            leaf target-version {
                              type uint32;
                              description
                                "Target version of BGProuting information
    baseupdate ";
                            }
                          }  // container rib-install
    
                          leaf scanner-period {
                            type uint16;
                            units "second";
                            description
                              "Period (in seconds) of address-family scanner
    runs";
                          }
    
                          leaf nh-tunnel-version {
                            type uint32;
                            description
                              "NH Tunnel Version";
                          }
    
                          leaf scan-prefixes {
                            type uint32;
                            description
                              "Total prefixes of address-family scanned";
                          }
    
                          leaf scan-segment-prefixes {
                            type uint32;
                            description
                              "Number of prefixes scanned in a segment of
    address-family";
                          }
    
                          leaf scan-segments {
                            type uint8;
                            description
                              "Number of segments to scan all prefixes of
    address-family";
                          }
    
                          leaf inter-as-install-enabled {
                            type boolean;
                            description
                              "Is inter-AS install to pim on ASBR enabled";
                          }
    
                          leaf global-mcast-enabled {
                            type boolean;
                            description
                              "Flag to indicate if global routing table
    multicast is enabled";
                          }
    
                          leaf segmented-mcast-enabled {
                            type boolean;
                            description
                              "Flag to indicate if BGP segmented multicast is
    enabled";
                          }
    
                          leaf gblafrpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf gblafrpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf gblafrpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf gblafrpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf update-wait-install-enabled {
                            type boolean;
                            description
                              "Flag to wait for installation update";
                          }
    
                          leaf rib-ack-requests {
                            type uint32;
                            description
                              "Counter for RIB ack requests";
                          }
    
                          leaf rib-acks-received {
                            type uint32;
                            description
                              "Counter for RIB ack received";
                          }
    
                          leaf rib-slow-acks {
                            type uint32;
                            description
                              "Counter for slow RIB acks";
                          }
    
                          leaf is-perm-net-cfg {
                            type boolean;
                            description
                              "Permanent Network Enabled";
                          }
    
                          leaf perm-net-del-count {
                            type uint16;
                            description
                              "Count of removed perm paths";
                          }
    
                          leaf perm-net-stale-del-count {
                            type uint16;
                            description
                              "Count of stale perm paths";
                          }
    
                          leaf perm-net-stale-mark-count {
                            type uint16;
                            description
                              "Count of stale marked perm paths";
                          }
    
                          leaf perm-net-insert-count {
                            type uint16;
                            description
                              "Count of inserted perm paths";
                          }
    
                          leaf perm-net-existing-count {
                            type uint16;
                            description
                              "Count of existing perm paths";
                          }
    
                          leaf perm-net-rpl-query-count {
                            type uint16;
                            description
                              "Count of perm nets given by RPL";
                          }
    
                          leaf perm-net-rpl-process-count {
                            type uint16;
                            description
                              "Count of perm nets processed in RPL";
                          }
    
                          leaf perm-nbr-count {
                            type uint16;
                            description
                              "Count of neighbors configured with perm net";
                          }
    
                          leaf rib-perm-pelem-not-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-perm-path-not-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-perm-pelem-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-reg-path-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf rib-perm-path-found-count {
                            type uint16;
                            description "";
                          }
    
                          leaf perm-pelem-free-count {
                            type uint16;
                            description
                              "Count of freed perm pelems";
                          }
    
                          leaf perm-path-refresh-count {
                            type uint16;
                            description
                              "Count of perm paths refreshed";
                          }
    
                          leaf perm-pelem-bump-count {
                            type uint16;
                            description
                              "Count of bumped perm pelems";
                          }
    
                          leaf perm-pelem-all-bump-count {
                            type uint16;
                            description
                              "Count of bumped perm pelems";
                          }
    
                          leaf af-srv6-sid-alloc-mode {
                            type uint32;
                            description
                              "SID alloc mode of SRv6 under AF";
                          }
    
                          leaf af-srv6-locator {
                            type string;
                            description
                              "SRv6 Locator Name under AF";
                          }
    
                          list syncgrp-version {
                            max-elements 2;
                            description
                              "Sync-group Version";
                            leaf entry {
                              type uint32;
                              description
                                "Sync-group Version";
                            }
                          }  // list syncgrp-version
                        }  // container global
    
                        container vrf {
                          description
                            "VRF information";
                          leaf table-is-active {
                            type boolean;
                            description
                              "Table state is active";
                          }
    
                          leaf table-id {
                            type uint32;
                            description
                              "Table ID";
                          }
    
                          leaf def-orig-enabled {
                            type boolean;
                            description
                              "Default Orig enabled for a vrf afi";
                          }
    
                          leaf table-version {
                            type uint32;
                            description
                              "BGP global process table version info";
                          }
    
                          leaf rd-version {
                            type uint32;
                            description
                              "RD version";
                          }
    
                          leaf rib-version {
                            type uint32;
                            description
                              "Table version synced to RIB";
                          }
    
                          leaf nsr-conv-version {
                            type uint32;
                            description
                              "Cache for non stop routingcurrent table version";
                          }
    
                          leaf nsr-is-conv {
                            type boolean;
                            description
                              "NSR is converged";
                          }
    
                          leaf client-reflection-enabled {
                            type boolean;
                            description
                              "Flag to indicate if client-to-client reflection
    is enabled";
                          }
    
                          leaf dampening-enabled {
                            type boolean;
                            description
                              "Flag to enable BGP address-family dampening";
                          }
    
                          leaf ebgp-distance {
                            type uint16;
                            description
                              "Distance for eBGP routes (external)";
                          }
    
                          leaf ibgp-distance {
                            type uint16;
                            description
                              "Distance for iBGP routes (internal)";
                          }
    
                          leaf aggregates-distance {
                            type uint16;
                            description
                              "Dist for aggregate routes (local)";
                          }
    
                          leaf dynamic-med-enabled {
                            type boolean;
                            description
                              "Update generation enabled for MED change";
                          }
    
                          leaf dynamic-med-interval {
                            type uint16;
                            units "minute";
                            description
                              "Delay in update generation after a MED change
    (in minutes)";
                          }
    
                          leaf dynamic-med-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if dynamic multi exit
    discriminator (MED) timer is running";
                          }
    
                          leaf dynamic-med-timer-value {
                            type uint16;
                            units "second";
                            description
                              "Dynamic MED timer value (in seconds) left on the
    timer";
                          }
    
                          leaf dynamic-med-periodic-timer-running {
                            type boolean;
                            description
                              "Dynamic multi exit discriminatorperiodic timer
    running";
                          }
    
                          leaf dynamic-med-periodic-timer-value {
                            type uint16;
                            units "second";
                            description
                              "Dynamic MED periodic timer value (in seconds)
    left on the timer";
                          }
    
                          leaf rib-has-converged {
                            type boolean;
                            description
                              "Received convergence notification from RIB";
                          }
    
                          leaf rib-convergence-version {
                            type uint32;
                            description
                              "Last convergence version received from RIB";
                          }
    
                          leaf is-rib-table-full {
                            type boolean;
                            description
                              "Indicates if RIB table is in prefix-limit state";
                          }
    
                          leaf rib-table-full-version {
                            type uint32;
                            description
                              "Version when RIB table became full (from
    non-full)";
                          }
    
                          leaf nexthop-resolution-minimum-prefix-length-configured {
                            type boolean;
                            description
                              "Flag to indicate if nexthop resolution minimum
    prefix-length is configured";
                          }
    
                          leaf nexthop-resolution-minimum-prefix-length {
                            type uint32;
                            description
                              "Used to validate prefix-length of resolving
    route of nexthopsin BGP";
                          }
    
                          leaf ipv6-nexthop-resolution-minimum-prefix-length-configured {
                            type boolean;
                            description
                              "Flag to indicate if ipv6 nexthop resolution
    minimum prefix-length is configured";
                          }
    
                          leaf ipv6-nexthop-resolution-minimum-prefix-length {
                            type uint32;
                            description
                              "Used to validate prefix-length of resolving
    route of ipv6 nexthopsin BGP";
                          }
    
                          leaf selective-ebgp-multipath-enabled {
                            type boolean;
                            description
                              "Flag to indicate if the Selective option is
    configured with multipath external bgp";
                          }
    
                          leaf selective-ibgp-multipath-enabled {
                            type boolean;
                            description
                              "Flag to indicate if the Selective option is
    configured with multipath internal bgp";
                          }
    
                          leaf selective-eibgp-multipath-enabled {
                            type boolean;
                            description
                              "Flag to indicate if the Selective option is
    configured with multipath external internal bgp";
                          }
    
                          leaf rib-acked-table-version {
                            type uint32;
                            description
                              "Table version acked by RIB";
                          }
    
                          leaf vrf-srv6-sid-alloc-mode {
                            type uint32;
                            description
                              "SID alloc mode of SRv6 under Vrf";
                          }
    
                          leaf isvrf-srv6-enabled {
                            type boolean;
                            description
                              "SRv6 info under a Vrf";
                          }
    
                          leaf vrf-srv6-locator {
                            type string;
                            description
                              "SRv6 Locator Name under Vrf";
                          }
    
                          leaf vrf-all-srv6-locator {
                            type string;
                            description
                              "SRv6 Locator Name under Vrf All";
                          }
    
                          leaf vrf-all-srv6-sid-alloc-mode {
                            type uint32;
                            description
                              "SRv6 SID alloc mode under Vrf All";
                          }
    
                          leaf isvrfall-srv6-enabled {
                            type boolean;
                            description
                              "SRv6 info under a Vrf All";
                          }
    
                          leaf rpki-version {
                            type uint32;
                            description
                              "RPKI table version walked";
                          }
    
                          leaf rpki-soft-reconf-version {
                            type uint32;
                            description
                              "RPKI soft reconfiguration version walked";
                          }
                        }  // container vrf
    
                        leaf vrf-name {
                          type string;
                          description
                            "Name of the VRF";
                        }
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family id";
                        }
    
                        leaf is-nsr-enabled {
                          type boolean;
                          description
                            "Non-stop routing enabled";
                        }
                      }  // container global-af-process-info
    
                      container advertised-path-xr {
                        description
                          "The BGP Advertised path table (bestpath)";
                        list advertised-path {
                          description
                            "A BGP Advertised path table entry (bestpath)";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of BGP Neighbor";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list advertised-path
                      }  // container advertised-path-xr
    
                      container sourced-networks {
                        description
                          "The BGP Convergence table";
                        list sourced-network {
                          key "network";
                          description
                            "A BGP network command table entry";
                          leaf network {
                            type inet:ip-prefix;
                            description
                              "Network in prefix/length format";
                          }
    
                          container sourced-prefix {
                            description
                              "Prefix length";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container sourced-prefix
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf is-backdoor {
                            type boolean;
                            description
                              "TRUE if net is a backdoor route";
                          }
                        }  // list sourced-network
                      }  // container sourced-networks
    
                      container update-groups {
                        description
                          "The BGP Update group table";
                        list update-group {
                          description
                            "A BGP Update group table entry";
                          leaf update-group-id {
                            type uint32;
                            description
                              "A BGP Update group table entry index";
                          }
    
                          leaf filter-group-id {
                            type uint32;
                            description
                              " A BGP Filter group index";
                          }
    
                          container performance-statistics {
                            description
                              "Aggregated performance statisticsacross all VRFs
    belonging to theparent address family";
                            leaf update-generation-calls {
                              type uint32;
                              description
                                "No. of calls to update generation function";
                            }
    
                            leaf update-generation-prefixes-count {
                              type uint32;
                              description
                                "No. of prefixes updates generated for";
                            }
    
                            leaf update-generation-be-prefixes-count {
                              type uint32;
                              description
                                "No. of be prefixes updates generated for";
                            }
    
                            leaf update-generation-messages-count {
                              type uint32;
                              description
                                "No. of update messages generated";
                            }
    
                            leaf update-generation-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent generating updates (milliseconds)";
                            }
    
                            leaf updgen-timer-start-time {
                              type uint64;
                              description
                                "Timestamp when update timer started for updgrp";
                            }
    
                            leaf updgen-timer-stop-time {
                              type uint64;
                              description
                                "Timestamp when update timer stopped for updgrp";
                            }
    
                            leaf updgen-timer-process-time {
                              type uint64;
                              description
                                "Timestamp when update timer processed for updgrp";
                            }
    
                            list not-advertised-stat {
                              max-elements 35;
                              description
                                "Not Advertised Statistics";
                              container last-updated-time {
                                description
                                  "Last update time";
                                leaf seconds {
                                  type uint32;
                                  units "second";
                                  description
                                    "Seconds part of time value";
                                }
    
                                leaf nanoseconds {
                                  type uint32;
                                  units
                                    "nanosecond";
                                  description
                                    "Nanoseconds part of time value";
                                }
                              }  // container last-updated-time
    
                              leaf not-advertised-count {
                                type uint32;
                                description
                                  "Not advertised count";
                              }
                            }  // list not-advertised-stat
                          }  // container performance-statistics
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "Instance ID of the BGP processwhere the path
    originated";
                          }
    
                          leaf session-af-name {
                            type uint8;
                            description
                              "Neighbor session Address family";
                          }
    
                          leaf update-group-number {
                            type uint32;
                            description
                              "Update group index";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family for update group";
                          }
    
                          leaf should-send-communities {
                            type boolean;
                            description
                              "Send communities";
                          }
    
                          leaf should-send-ext-communities {
                            type boolean;
                            description
                              "Send Extended communities";
                          }
    
                          leaf should-send-stitching-rt {
                            type boolean;
                            description
                              "Send Stitching RT";
                          }
    
                          leaf has-orf-receive-capability {
                            type boolean;
                            description
                              "ORF receive capability";
                          }
    
                          leaf is-route-reflector-client {
                            type boolean;
                            description
                              "Flag to indicate if peers in this update group
    are route-reflector clients";
                          }
    
                          leaf is-client-reflection-disabled {
                            type boolean;
                            description
                              "True if client-to-client reflection is disabled ";
                          }
    
                          leaf accepts-legacy-pe-rt-route {
                            type boolean;
                            description
                              "Flag to indicate if provider edge device as a
    legacy for the route target";
                          }
    
                          leaf updgrp-cluster-id {
                            type uint32;
                            description
                              "Cluster ID (populated ifclient-to-client
    reflectionis disabled)";
                          }
    
                          leaf updgrp-cluster-type {
                            type uint8;
                            description
                              "Cluster ID type:undefined/number/Ip address";
                          }
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf orr-group-index {
                            type uint32;
                            description
                              "ORR Group Index";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configuredfor the neighbor
    connection";
                          }
    
                          leaf should-remove-private-a-ss {
                            type boolean;
                            description
                              "Remove private AS numbers";
                          }
    
                          leaf should-remove-private-as-ent-path {
                            type boolean;
                            description
                              "Remove private AS numbersif the entire path
    consistsof private ASes";
                          }
    
                          leaf use-next-hop-self {
                            type boolean;
                            description
                              "Next hop self";
                          }
    
                          leaf use-next-hop-unchanged-mpath {
                            type boolean;
                            description
                              "This update group have
    next-hop-unchangedmultipath configured";
                          }
    
                          leaf is-internal-peers {
                            type boolean;
                            description
                              "Peers in this update groupare internal";
                          }
    
                          leaf is-common-admin-peers {
                            type boolean;
                            description
                              "Flag to indicate if peers are undercommon
    administration in BGP update group";
                          }
    
                          leaf is4-byte-as-peer {
                            type boolean;
                            description
                              "4-byte AS capable peers";
                          }
    
                          leaf is-addpath-capable {
                            type boolean;
                            description
                              "Add-path capable peers";
                          }
    
                          leaf is-send-mcast-attr-enabled {
                            type boolean;
                            description
                              "Flag to indicate if protocol independent
    multicast attributes are sent in this update
    group";
                          }
    
                          leaf is-aigp-capable {
                            type boolean;
                            description
                              "AIGP capable peers";
                          }
    
                          leaf is-aigp-cost-community-capable {
                            type boolean;
                            description
                              "Send AIGP cost community to peers";
                          }
    
                          leaf is-aigp-med-capable {
                            type boolean;
                            description
                              "Send AIGP cost in MED";
                          }
    
                          leaf is-llgr-capable {
                            type boolean;
                            description
                              "Send Long-lived Stale paths";
                          }
    
                          leaf is-adv-capable {
                            type boolean;
                            description
                              "Send tranlsated paths";
                          }
    
                          leaf is-adv-reorg-capable {
                            type boolean;
                            description
                              "Send Re-orig paths";
                          }
    
                          leaf disable-native-advertisement {
                            type boolean;
                            description
                              "Disable advertising native routes";
                          }
    
                          leaf disable-def-vrf-imp-advertisement {
                            type boolean;
                            description
                              "Disable advertising default VRF  imported routes";
                          }
    
                          leaf disable-vrf-re-imp-advertisement {
                            type boolean;
                            description
                              "Disable advertising VRF re-imported routes";
                          }
    
                          leaf encapsulation-type {
                            type uint32;
                            description
                              "BGP update group encapsulation type";
                          }
    
                          leaf advertise-rt-type {
                            type uint8;
                            description
                              "BGP update group toadvertise route target type";
                          }
    
                          leaf is-directly-connected-ebgp-v6-peers {
                            type boolean;
                            description
                              "Flag to indicate an update group is directly
    connected eBGP peers";
                          }
    
                          leaf minimum-advertisement-interval {
                            type uint32;
                            units "second";
                            description
                              "Minimum advert time for peers in this
    update-group in seconds";
                          }
    
                          leaf minimum-advertisement-interval-msecs {
                            type uint32;
                            units "millisecond";
                            description
                              "Minimum advert time for peers inthis update
    group in milliseconds";
                          }
    
                          leaf local-as {
                            type uint32;
                            description
                              "Local AS number";
                          }
    
                          leaf route-policy-out {
                            type string;
                            description
                              "Outbound route policy name";
                          }
    
                          leaf desync-count {
                            type uint32;
                            description
                              "Number of times the update has been
    desynchronized";
                          }
    
                          leaf subgrp-merge-count {
                            type uint32;
                            description
                              "Number of times sub-groups have been merged";
                          }
    
                          leaf refresh-subgrp-count {
                            type uint32;
                            description
                              "Current count of refresh subgroups";
                          }
    
                          leaf updates-formatted {
                            type uint32;
                            description
                              "Number of updates formatted";
                          }
    
                          leaf updates-replicated {
                            type uint32;
                            description
                              "Number of updates replicatedfor BGP update group";
                          }
    
                          leaf local-as-replace-as {
                            type boolean;
                            description
                              "Local AS Replace-AS option";
                          }
    
                          leaf as-override {
                            type boolean;
                            description
                              "AS Override option";
                          }
    
                          leaf soo-value {
                            type string;
                            description
                              "Site-of-origin value";
                          }
    
                          leaf split-horizon {
                            type boolean;
                            description
                              "Split horizon check";
                          }
    
                          leaf is-labeled-afi-enabled {
                            type boolean;
                            description
                              "Update group has labeled AFI enabled";
                          }
    
                          leaf is-unlabeled-afi-enabled {
                            type boolean;
                            description
                              "Update group has unlabeled AFI enabled";
                          }
    
                          leaf ext-nh-encoding {
                            type boolean;
                            description
                              "Extended nexthop encoding cap received";
                          }
    
                          leaf remote-as {
                            type uint32;
                            description
                              "Remote AS number";
                          }
    
                          leaf is-adv-perm-net-capable {
                            type boolean;
                            description
                              "Advertise Permanent-Net capable peers";
                          }
    
                          leaf should-send-gshut-community {
                            type boolean;
                            description
                              "Send GSHUT community";
                          }
    
                          leaf gshut-active {
                            type boolean;
                            description
                              "GSHUT active";
                          }
    
                          leaf gshut-locpref-set {
                            type boolean;
                            description
                              "GSHUT local preference set";
                          }
    
                          leaf gshut-locpref {
                            type uint32;
                            description
                              "GSHUT local preference";
                          }
    
                          leaf gshut-prepends {
                            type uint8;
                            description
                              "GSHUT AS prepends";
                          }
    
                          leaf advertise-local-labeled-route-unicast {
                            type boolean;
                            description
                              "Advertise routes with local-label via Unicast
    SAFI";
                          }
    
                          leaf enable-label-stack {
                            type boolean;
                            description
                              "Enable BGP upgrade group label stack";
                          }
    
                          leaf contains-slow-peer {
                            type boolean;
                            description
                              "This update group contains slow peers";
                          }
    
                          list neighbor {
                            description
                              "Neighbors in this update group which are not in
    any sub-group";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // list neighbor
    
                          list update-sub-group {
                            description
                              "List of child refresh subgroups inBGP update
    group";
                            leaf update-sub-group-number {
                              type uint32;
                              description
                                "Update sub-group index";
                            }
    
                            leaf filter-group {
                              type uint16;
                              description
                                "Update sub-group fgrp-num";
                            }
    
                            leaf wait-for-eo-rs {
                              type boolean;
                              description
                                "Wait for  RT Nbr EoRs";
                            }
    
                            list update-filter-group {
                              description
                                "Update f-group list";
                              leaf update-filter-group-number {
                                type uint32;
                                description
                                  "Update sub-group index";
                              }
    
                              leaf rts {
                                type uint32;
                                description
                                  "RT count per filter group";
                              }
    
                              leaf fgroup-flags {
                                type uint8;
                                description
                                  "Flags per filter group";
                              }
    
                              leaf fgroup-neighbors {
                                type uint16;
                                description
                                  "Nbrs per filter group";
                              }
    
                              leaf fgroup-created-message-elements {
                                type uint32;
                                description
                                  "Number of message elems created for filtergroup";
                              }
    
                              leaf fgroup-deleted-message-elements {
                                type uint32;
                                description
                                  "Number of message elems deleted";
                              }
    
                              leaf fgroup-queued-message-elements {
                                type uint32;
                                description
                                  "Number of message elems queued";
                              }
    
                              leaf fgroup-advertised-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes advertised to filtergroup in
    last update walk";
                              }
    
                              leaf fgroup-total-advertised-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes advertised to filtergroup in
    all update walk";
                              }
    
                              leaf fgroup-withdrawn-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn f`rom filtergroupin
    last update walk";
                              }
    
                              leaf fgroup-total-withdrawn-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes withdrawn f`rom filtergroupin
    all update walk";
                              }
    
                              leaf fgroup-total-non-optimised-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes  non-optm from filtergroupin
    all update walk";
                              }
    
                              leaf fgroup-skipped-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes skipped for filtergroup in
    last update walk";
                              }
    
                              leaf fgroup-suppressed-prefixes {
                                type uint32;
                                description
                                  "Number of prefixes suppressed for filtergroup in
    last update walk";
                              }
    
                              leaf is-rt-present {
                                type boolean;
                                description
                                  "RT attribute list present";
                              }
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list neighbor {
                                description
                                  "Neighbors in this update sub-group";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // list neighbor
                            }  // list update-filter-group
    
                            list neighbor {
                              description
                                "Neighbors in this subgrp not in any filtergrp";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // list neighbor
                          }  // list update-sub-group
                        }  // list update-group
                      }  // container update-groups
    
                      container update-generation-sub-groups {
                        description
                          "The BGP Update generate entries  for all
    sub-groups";
                        list update-generation-sub-group {
                          description
                            "A BGP Update generate table entry for
    sub-group";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "A BGP Update Group Entry index";
                          }
    
                          leaf sub-group-index {
                            type uint32;
                            description
                              "A BGP Update Sub group Table index";
                          }
    
                          leaf sub-group-id {
                            type uint32;
                            description
                              "A BGP Update Sub group table ID";
                          }
    
                          container creation-timestamp {
                            description
                              "Creation time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container creation-timestamp
    
                          container last-merge-timestamp {
                            description
                              "Last merge time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-merge-timestamp
    
                          container first-update-walk-start-timestamp {
                            description
                              "BGP update generation sub-group start time for
    the first update walk";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-walk-start-timestamp
    
                          container first-update-walk-end-timestamp {
                            description
                              "BGP update generation sub-group end time for
    thefirst update walk";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-walk-end-timestamp
    
                          container last-update-walk-start-timestamp {
                            description
                              "BGP update generation sub-group start for
    thelast update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-walk-start-timestamp
    
                          container last-update-walk-end-timestamp {
                            description
                              "BGP update generation sub-group end time for
    thelast update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-walk-end-timestamp
    
                          container last-update-queued-timestamp {
                            description
                              "Time when last update queued event";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-queued-timestamp
    
                          container update-statistics {
                            description
                              "BGP subgroup statistics update";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf sub-group-index-xr {
                            type uint32;
                            description
                              "Index for BGP sub-group";
                          }
    
                          leaf sub-group-id-xr {
                            type uint32;
                            description
                              "Sub-group ID";
                          }
    
                          leaf parent-sub-group-index {
                            type uint32;
                            description
                              "Index of the  parent sub-group";
                          }
    
                          leaf parent-sub-group-id {
                            type uint32;
                            description
                              "Parent Sub-group identifier";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "Index of the this BGp update group";
                          }
    
                          leaf update-main-table-version {
                            type uint32;
                            description
                              "Main table version";
                          }
    
                          leaf update-vrf-table-rib-version {
                            type uint32;
                            description
                              "VRF Table RIB version";
                          }
    
                          leaf current-update-limit-sub-group {
                            type uint32;
                            description
                              "Current update limit";
                          }
    
                          leaf configured-update-limit-sub-group {
                            type uint32;
                            description
                              "Configured update limit";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue messages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue size";
                          }
    
                          leaf update-throttled {
                            type boolean;
                            description
                              "Flag to verify update throttled in BGPupdate
    generation sub-group";
                          }
    
                          leaf refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of times BGP Update generation
    sub-grouprefreshed";
                          }
    
                          leaf filter-group-count {
                            type uint32;
                            description
                              "Number of filter groups are present in BGPupdate
    generation";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors in the sub-group";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Version up to which we have generated updatesfor
    the entity";
                          }
    
                          leaf nsr-version {
                            type uint32;
                            description
                              "NSR version";
                          }
    
                          leaf pending-target-version {
                            type uint32;
                            description
                              "Target version for pending update generation";
                          }
    
                          leaf next-resume-version {
                            type uint32;
                            description
                              "Version number identifying the next net
    toprocess when an attribute table walk has been
    interrupted";
                          }
    
                          leaf update-refresh-target-version {
                            type uint32;
                            description
                              "Target version for update generation in response
    to arefresh request";
                          }
    
                          leaf io-write-event-pending {
                            type boolean;
                            description
                              "Flag for an event has been sent to the IO thread";
                          }
    
                          leaf merge-count {
                            type uint32;
                            description
                              "Number of times BGP update sub-groups have been
    merged";
                          }
    
                          leaf last-merged-sub-group-index {
                            type uint32;
                            description
                              "BGP subgroup index merge happened last time";
                          }
    
                          leaf eo-r-attempted {
                            type boolean;
                            description
                              "Sending EoR has been attempted";
                          }
    
                          leaf last-update-walk-end-age {
                            type uint32;
                            description
                              "Time since last update walk end event";
                          }
    
                          leaf last-update-queued-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last update queued event (in seconds)";
                          }
                        }  // list update-generation-sub-group
                      }  // container update-generation-sub-groups
    
                      container next-hop-address-families {
                        description
                          "Address family of nexthop table";
                        list next-hop-address-family {
                          key "next-hop-af-name";
                          description
                            "Address family of a nexthop entry";
                          container next-hop-af-vrf-af {
                            description
                              "A BGP Next-hop VRF AF table entry";
                            container performance-statistics {
                              description
                                "BGP next hop virtual routingand forwarding
    performancestatistics";
                              leaf critical-notf-count {
                                type uint32;
                                description
                                  "Number of critical event notifications from RIB";
                              }
    
                              leaf noncritical-notf-count {
                                type uint32;
                                description
                                  "Number of non-critical event notifications from
    RIB";
                              }
    
                              leaf last-notf-bestpath-deletes {
                                type uint32;
                                description
                                  "Number of bestpath deletes due to last
    notification";
                              }
    
                              leaf last-notf-bestpath-changes {
                                type uint32;
                                description
                                  "Number of bestpath changes due to last
    notification";
                              }
    
                              leaf nh-sync-reg-calls {
                                type uint32;
                                description
                                  "NH sync register calls";
                              }
    
                              leaf nha-sync-reg-calls {
                                type uint32;
                                description
                                  "NH async register calls";
                              }
    
                              leaf nha-sync-un-reg-calls {
                                type uint32;
                                description
                                  "NH async unregister calls";
                              }
    
                              leaf nh-pending-registrations {
                                type uint32;
                                description
                                  "NH Registration List Count";
                              }
    
                              leaf nh-peak-registrations {
                                type uint32;
                                description
                                  "NH Registration List Count Peak";
                              }
    
                              leaf nh-batch-finish-calls {
                                type uint32;
                                description
                                  "Count of the batch finish calls for next hop";
                              }
    
                              leaf nh-flush-timer-calls {
                                type uint32;
                                description
                                  "Count of the flush timer calls for net hop";
                              }
    
                              leaf nh-last-sync-reg-ts {
                                type uint32;
                                description
                                  "NH Last sync Register TS";
                              }
    
                              leaf nh-last-a-sync-reg-ts {
                                type uint32;
                                description
                                  "NH Last async Register TS";
                              }
    
                              leaf nh-last-a-sync-un-reg-ts {
                                type uint32;
                                description
                                  "NH Last async UnRegister TS";
                              }
    
                              leaf nh-last-batch-finish-ts {
                                type uint32;
                                description
                                  "NH Last batch finish TS";
                              }
    
                              leaf nh-last-flush-timer-ts {
                                type uint32;
                                description
                                  "NH Last flush timer TS";
                              }
    
                              leaf nhrib-update-calls {
                                type uint32;
                                description
                                  "No. of calls to RIB update function";
                              }
    
                              leaf nhrib-update-time {
                                type uint32;
                                units
                                  "millisecond";
                                description
                                  "Time spent sending RIB updates (milliseconds)";
                              }
    
                              leaf nexthops-sent-to-rib {
                                type uint32;
                                description
                                  "No. of nexthops sent to RIB";
                              }
    
                              leaf nexthops-resent-to-rib {
                                type uint32;
                                description
                                  "No. of nexthops re-sent to RIB";
                              }
    
                              leaf nexthops-removed-from-rib {
                                type uint32;
                                description
                                  "No. of nexthops withdrawn from RIB";
                              }
    
                              leaf rib-sync-registers-failed {
                                type uint32;
                                description
                                  "No. of sync registers with RIB that failed";
                              }
    
                              leaf riba-sync-registers-failed {
                                type uint32;
                                description
                                  "No. of async registers with RIB that failed";
                              }
    
                              leaf ribnh-reg-failed-for-no-tbl-id {
                                type uint32;
                                description
                                  "No. of nh registers failed because of no tbl-id";
                              }
    
                              leaf ribnh-reg-failed-for-no-rib-conn {
                                type uint32;
                                description
                                  "No. of nh registers failed because of no rib
    conn";
                              }
    
                              leaf tunnel-walk-nh-not-found {
                                type uint32;
                                description
                                  "No. of times nexthop was not found during tunnel
    walk";
                              }
    
                              leaf tunnel-walk-gw-not-found {
                                type uint32;
                                description
                                  "No. of times gw was not found during tunnel walk";
                              }
    
                              leaf tunnel-walk-backup-creates {
                                type uint32;
                                description
                                  "No. of times backup tid created during tunnel
    walk";
                              }
                            }  // container performance-statistics
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf gwaf-name {
                              type Bgp-afi;
                              description
                                "GW Address family identifier";
                            }
    
                            leaf total-nexthops {
                              type uint32;
                              description
                                "Total number of nexthops";
                            }
    
                            leaf critical-trigger-delay {
                              type uint32;
                              description
                                "Trigger delay for critical event processing";
                            }
    
                            leaf non-critical-trigger-delay {
                              type uint32;
                              description
                                "Trigger delay for non-critical event processing";
                            }
    
                            leaf table-active {
                              type boolean;
                              description
                                "Whether the VRF is active";
                            }
    
                            leaf nh-rib-up {
                              type boolean;
                              description
                                "Whether the VRF is active";
                            }
    
                            leaf nh-rib-version {
                              type uint32;
                              description
                                "RIB version for gw_ctx";
                            }
    
                            leaf nh-nexthop-version {
                              type uint32;
                              description
                                "NH version for gw_ctx";
                            }
    
                            leaf nh-table-id {
                              type uint32;
                              description
                                "Gateway context table id";
                            }
    
                            leaf epe-table-version {
                              type uint32;
                              description
                                "Version of the EPE table";
                            }
    
                            leaf epe-label-version {
                              type uint32;
                              description
                                "Version of the EPE label walk";
                            }
    
                            leaf epe-downloaded-version {
                              type uint32;
                              description
                                "Version of the EPE table downloaded";
                            }
    
                            leaf epe-standby-version {
                              type uint32;
                              description
                                "Version of the EPE table processed by sync
    thread";
                            }
                          }  // container next-hop-af-vrf-af
    
                          container next-hop-afs {
                            description
                              "The BGP Next-hop table";
                            list next-hop-af {
                              description
                                "A BGP Next hop entry";
                              leaf next-hop-address {
                                type inet:ip-address-no-zone;
                                description
                                  "IP address of Next hop Entry";
                              }
    
                              leaf attribute-set {
                                type xr:Cisco-ios-xr-string;
                                description
                                  "Attribute Set Name";
                              }
    
                              container nexthop-address {
                                description
                                  "IP address of nexthop in BGP";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container nexthop-address
    
                              container nh-tunnel {
                                description
                                  "NH tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container nexthop-internal-info {
                                description
                                  "Internal nexthop info";
                                container nexthop-address {
                                  description
                                    "IP address of the next hop in BGP";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container nexthop-address
    
                                leaf nexthop-id {
                                  type uint32;
                                  description
                                    "Comm librray ID";
                                }
    
                                leaf nexthop-version {
                                  type uint32;
                                  description
                                    "Table version";
                                }
    
                                leaf nexthop-flags {
                                  type uint32;
                                  description
                                    "Flags associated with the next hop address in
    BGP";
                                }
    
                                leaf nexthop-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle associated with the next hop
    address in BGP";
                                }
    
                                leaf nexthop-af-user-bits {
                                  type uint32;
                                  description
                                    "Bitmask indicating the AFs which share the
    nexthop";
                                }
    
                                leaf nexthop-label {
                                  type uint32;
                                  description
                                    "Label associated with the next hop address";
                                }
    
                                leaf gateway-flags {
                                  type uint32;
                                  description
                                    "BGP nexthop gateway flags";
                                }
    
                                list nexthop-metrice {
                                  description
                                    "Metrices associated with the next hop address in
    
    BGP";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Metrices associated with the next hop address in
    
    BGP";
                                  }
                                }  // list nexthop-metrice
    
                                list nexthop-refcount {
                                  description
                                    "reference counts for the next hop";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "reference counts for the next hop";
                                  }
                                }  // list nexthop-refcount
    
                                list nexthop-gateway-internal-info {
                                  description
                                    "Internal nexthop Gateway info";
                                  leaf gateway-flags {
                                    type uint32;
                                    description
                                      "Flags in BGP gateway next hop";
                                  }
    
                                  leaf registration-type {
                                    type Bgp-nh-validate;
                                    description
                                      "Registration type for next hop";
                                  }
    
                                  leaf registration-since {
                                    type uint32;
                                    description
                                      "Time since registration";
                                  }
                                }  // list nexthop-gateway-internal-info
                              }  // container nexthop-internal-info
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Address family identifier";
                              }
    
                              leaf rib-nexthop-id {
                                type uint32;
                                description
                                  "RIB Nexthop Id";
                              }
    
                              leaf nexthop-pending-registration {
                                type uint8;
                                description
                                  "Nexthop registration is pending";
                              }
    
                              leaf nexthop-reference-count {
                                type uint32;
                                description
                                  "Count of neighbors/prefixes referencing this
    nexthop";
                              }
    
                              leaf nh-reference-count-total {
                                type uint32;
                                description
                                  "Count of neighbors/prefixes referencing this
    nexthop (AFs)";
                              }
    
                              leaf nh-first-hop-if-handle {
                                type xr:Interface-name;
                                description
                                  "First-hop interface handle";
                              }
    
                              leaf nexthop-aigp-metric {
                                type uint32;
                                description
                                  "AIGP metrice of nexthop";
                              }
    
                              leaf nexthop-gateway-reachable {
                                type boolean;
                                description
                                  "Flag to indicate if Gateway is reachable";
                              }
    
                              leaf nexthop-gateway-prefix-connected {
                                type boolean;
                                description
                                  "Flag to indicate if Gateway resolved through
    Connected route";
                              }
    
                              leaf nexthop-gateway-prefix-length {
                                type uint32;
                                description
                                  "Gateway prefix length";
                              }
    
                              list nexthop-gateway-info {
                                description
                                  "Gateway related info, including Optimal Route
    Reflector Gateways";
                                container nexthop-route {
                                  description
                                    "Route resolving the nexthop";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container nexthop-route
    
                                leaf nexthop-route-prefix-length {
                                  type uint8;
                                  description
                                    "Prefix length of the route resolving the nexthop";
                                }
    
                                leaf nexthop-route-protocol {
                                  type string;
                                  description
                                    "Protocol that resolves the route to the nexthop";
                                }
    
                                leaf nexthop-route-path-count {
                                  type uint32;
                                  description
                                    "Count of paths in the resolving route";
                                }
    
                                leaf nexthop-af-invalid-bits {
                                  type uint16;
                                  description
                                    "Bitmask indicating the address-family which have
    been invalidated for the nexthop";
                                }
    
                                leaf nexthop-status {
                                  type uint8;
                                  description
                                    "Status of the next hop address";
                                }
    
                                leaf nexthop-tableid {
                                  type uint64;
                                  description
                                    "BGP gateway neighbor route table id";
                                }
    
                                leaf nexthop-metric {
                                  type uint32;
                                  description
                                    "IGP metric for nexthop";
                                }
    
                                leaf orrafi-used-bits {
                                  type uint32;
                                  description
                                    "ORR afi bits";
                                }
    
                                leaf last-event-type {
                                  type Bgp-nh-event;
                                  description
                                    "Last nexthop event type";
                                }
    
                                leaf last-update-type {
                                  type Bgp-nh-update;
                                  description
                                    "Last nexthop update type";
                                }
    
                                leaf critical-events {
                                  type uint32;
                                  description
                                    "Count of critical events received from RIB";
                                }
    
                                leaf non-critical-events {
                                  type uint32;
                                  description
                                    "Count of non-critical events received from RIB";
                                }
    
                                leaf last-event-since {
                                  type uint32;
                                  description
                                    "Time since the last event sent to or received
    from RIB";
                                }
    
                                leaf last-rib-update {
                                  type uint32;
                                  description
                                    "Time since the last rib update happened";
                                }
    
                                leaf nexthop-mpls-enabled {
                                  type boolean;
                                  description
                                    "TRUE if MPLS is configured for IAS/CsC
    application";
                                }
    
                                leaf nexthop-mpls-interfaces {
                                  type uint32;
                                  description
                                    "Count of interfaces on which MPLS is enabled";
                                }
    
                                leaf nexthop-mpls-label {
                                  type uint32;
                                  description
                                    "Local label allocated for IAS/CsC application";
                                }
    
                                list nexthop-route-path {
                                  description
                                    "Nexthop paths of the resolving route";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // list nexthop-route-path
                              }  // list nexthop-gateway-info
    
                              list neighbor-address {
                                description
                                  "Neighbor Address List";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // list neighbor-address
                            }  // list next-hop-af
                          }  // container next-hop-afs
    
                          leaf next-hop-af-name {
                            type dt1:Bgp-address-family;
                            description
                              "Address family";
                          }
                        }  // list next-hop-address-family
                      }  // container next-hop-address-families
    
                      container rt-set-counters {
                        description
                          "The RT-set counter table";
                        list rt-set-counter {
                          key "rt-set-id";
                          description
                            "One RT-set counter table entry";
                          leaf rt-set-id {
                            type uint32;
                            description
                              "Identifier of RTSet";
                          }
    
                          container route-target-set {
                            description
                              "BGP route target set";
                            leaf rt-set-len {
                              type uint8;
                              units "byte";
                              description
                                "Length in bytes of set of route targets";
                            }
    
                            leaf rt-set-id {
                              type uint32;
                              description
                                "Identifier of the rtset";
                            }
    
                            leaf rt-set-net-count {
                              type uint32;
                              description
                                "Count of nets with paths with the rtset";
                            }
    
                            list rt-set {
                              description
                                "Set of route targets";
                              leaf entry {
                                type uint8;
                                description
                                  "Set of route targets";
                              }
                            }  // list rt-set
                          }  // container route-target-set
                        }  // list rt-set-counter
                      }  // container rt-set-counters
    
                      container bmp-paths {
                        description
                          "The paths in BMP Table";
                        list bmp-path {
                          key "network";
                          description
                            "A BMP path table entry";
                          leaf network {
                            type inet:ip-prefix;
                            description
                              "Network in prefix/length format";
                          }
    
                          container bgp-prefix {
                            description
                              "BGP prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bgp-prefix
    
                          container version-timestamp {
                            description
                              "Net Version bump timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-timestamp
    
                          container version-age {
                            description
                              "Net Version bump age";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-age
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf bmp-net-flags {
                            type uint32;
                            description
                              "Flags associated with net";
                          }
    
                          leaf bmp-net-version {
                            type uint32;
                            description
                              "Net's version";
                          }
    
                          leaf num-of-path {
                            type uint32;
                            description
                              "Number of path for the net";
                          }
    
                          leaf has-local-label {
                            type boolean;
                            description
                              "Flag to indicate if local label is present in
    netbag";
                          }
    
                          leaf net-local-label {
                            type uint32;
                            description
                              "Local label";
                          }
    
                          list bmp-path {
                            description
                              "List of paths under the BMP net";
                            container neighbor-address {
                              description
                                "BGP monitoring protocolip address of neighbor";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf bmp-path-flags {
                              type uint32;
                              description
                                "Flags associated with path";
                            }
    
                            leaf bmp-path-adv-bit-map {
                              type uint16;
                              description
                                "Path's Adv bit map";
                            }
    
                            leaf bmp-path-snd-bit-map {
                              type uint16;
                              description
                                "Path's pending snd bit map";
                            }
    
                            leaf bmp-nbr-bit-map {
                              type uint32;
                              description
                                "Paths Nbr bmp bit map";
                            }
    
                            leaf local-path {
                              type boolean;
                              description
                                "Is path originated locally?";
                            }
    
                            leaf bpath-pointer {
                              type uint64;
                              description
                                "BGP Path pointer";
                            }
    
                            list received-label {
                              description
                                "Set of received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Set of received label stack";
                              }
                            }  // list received-label
                          }  // list bmp-path
                        }  // list bmp-path
                      }  // container bmp-paths
    
                      container update-generation-update-groups {
                        description
                          "The BGP Update generate entries for all
    update-groups";
                        list update-generation-update-group {
                          key "update-group-index";
                          description
                            "A BGP Update Generate Group Entry";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Update group index of the update-group table";
                          }
    
                          container last-update-timer-start-timestamp {
                            description
                              "Start timer update for the last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-start-timestamp
    
                          container last-update-timer-stop-timestamp {
                            description
                              "Timer stop time for the last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-stop-timestamp
    
                          container last-update-timer-expiry-timestamp {
                            description
                              "Timer expiry time update for last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-expiry-timestamp
    
                          container last-update-timer-remaining-value {
                            description
                              "Update timer remaining time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-remaining-value
    
                          container last-update-timer-delay-value {
                            description
                              "Number of timer delayed for the last update";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-timer-delay-value
    
                          container update-statistics {
                            description
                              "BGP update-group update statistics";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf neighbor-session-af-name {
                            type uint8;
                            description
                              "Neighbor session address family";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "Index of the BGP update group";
                          }
    
                          leaf update-group-flags2 {
                            type uint32;
                            description
                              "Update-group internal flags2";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue Messages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue Size";
                          }
    
                          leaf update-sub-group-count {
                            type uint32;
                            description
                              "Sub-group count";
                          }
    
                          leaf sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled sub-group count";
                          }
    
                          leaf refresh-sub-group-count {
                            type uint32;
                            description
                              "Number of temporary refresh sub groups";
                          }
    
                          leaf refresh-sub-group-throttled-count {
                            type uint32;
                            description
                              "Throttled refresh sub-group count";
                          }
    
                          leaf filter-group-count {
                            type uint32;
                            description
                              "Number of filter groups in BGP update generation";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors present in BGp update
    generation";
                          }
    
                          leaf neighbor-leaving-count {
                            type uint32;
                            description
                              "Count of neighbors leaving the update-group";
                          }
    
                          leaf update-generation-recovery-pending {
                            type boolean;
                            description
                              "Flag to indicate if update generation recovery
    is pending";
                          }
    
                          leaf last-update-timer-expiry-age {
                            type uint32;
                            description
                              "Time since last update timer expiry event";
                          }
    
                          leaf is-update-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if timer is  running";
                          }
    
                          leaf perm-pelem-encountered {
                            type uint32;
                            description
                              "Count of Perm Pelems seen by updgen";
                          }
    
                          leaf perm-pelem-allowed {
                            type uint32;
                            description
                              "Count of Perm Pelems allowed by updgen";
                          }
    
                          leaf perm-pelem-not-allowed {
                            type uint32;
                            description
                              "Count of Perm Pelems not allowed by updgen";
                          }
    
                          leaf perm-pelem-exp-wdr {
                            type uint32;
                            description
                              "Count of Perm Pelems explicitly wdrn by updgen";
                          }
    
                          leaf perm-pelem-spur-wdr {
                            type uint32;
                            description
                              "Count of Perm Pelems Spurious withdraws by
    updgen";
                          }
    
                          leaf is-permanent {
                            type boolean;
                            description
                              "Permanent UG check";
                          }
                        }  // list update-generation-update-group
                      }  // container update-generation-update-groups
    
                      container update-generation-filter-groups {
                        description
                          "Update generation for all filter-groups under
    a sub-group";
                        list update-generation-filter-group {
                          description
                            "A BGP Update generate table entry for
    filter-group";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "A BGP Update Group Entry index";
                          }
    
                          leaf sub-group-index {
                            type uint32;
                            description
                              "A BGP Update Sub group Table index";
                          }
    
                          leaf sub-group-id {
                            type uint32;
                            description
                              "A BGP Update Sub group table ID";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "A BGP Filter group Table index";
                          }
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-filter-group-index {
                            type uint32;
                            description
                              "Filter-group index";
                          }
    
                          leaf parent-filter-group-index {
                            type uint32;
                            description
                              "In refresh sub group points to the
    correspondingfilter group in parent subgroup
    index";
                          }
    
                          leaf sub-group-index-xr {
                            type uint32;
                            description
                              "Index for the sub-group used when accessing bits";
                          }
    
                          leaf sub-group-id-xr {
                            type uint32;
                            description
                              "Sub-group identifier";
                          }
    
                          leaf parent-sub-group-index {
                            type uint32;
                            description
                              "Index for the subgroup of parent";
                          }
    
                          leaf parent-sub-group-id {
                            type uint32;
                            description
                              "Parent Sub-group identifier";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "BGP update generation index of update-group";
                          }
    
                          leaf neighbor-count {
                            type uint32;
                            description
                              "Number of neighbors in this BGP filter-group";
                          }
                        }  // list update-generation-filter-group
                      }  // container update-generation-filter-groups
    
                      container networks {
                        description
                          "The BGP Network Table";
                        list network {
                          description
                            "A BGP Network table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          container bgp-prefix {
                            description
                              "BGP prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bgp-prefix
    
                          container version-timestamp {
                            description
                              "BGP network version timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-timestamp
    
                          container version-age {
                            description
                              "BGP network age of version";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container version-age
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "ID of the BGP process instance";
                          }
    
                          leaf has-inconsistent-paths {
                            type boolean;
                            description
                              "Flag to indicate if inconsistent paths attached
    to net";
                          }
    
                          leaf is-net-aggregation-suppressed {
                            type boolean;
                            description
                              "Net suppressed due to aggregation";
                          }
    
                          leaf is-net-ldp-signaled {
                            type boolean;
                            description
                              "L2VPN Net LDP signaled  aggregation";
                          }
    
                          leaf table-version {
                            type uint32;
                            description
                              "Table version # for net";
                          }
    
                          leaf table-brib-version {
                            type uint32;
                            description
                              "Table version # for updates";
                          }
    
                          leaf advertisedto-pe {
                            type boolean;
                            description
                              "Net could be advertised
    to PE peers";
                          }
    
                          leaf has-local-label {
                            type boolean;
                            description
                              "Flag to indicate if local BGP labelassociated
    with the net";
                          }
    
                          leaf net-local-label {
                            type uint32;
                            description
                              "Local label";
                          }
    
                          leaf net-label-mode {
                            type uint32;
                            description
                              "Label mode";
                          }
    
                          leaf net-local-label-rewrite {
                            type boolean;
                            description
                              "Net label has rewrite";
                          }
    
                          leaf net-local-label-srgb {
                            type boolean;
                            description
                              "Net label allocated fromSegment routing global
    block";
                          }
    
                          leaf has-lbl-retained {
                            type boolean;
                            description
                              "Flag to indicate if BGP network labels are
    retained ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP network Route Distinguisher";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf net-flags {
                            type uint32;
                            description
                              "Flags associated with
    net";
                          }
    
                          leaf net-extended-flags {
                            type uint32;
                            description
                              "BGP network flags for extendedcommunity";
                          }
    
                          leaf net-multipath {
                            type boolean;
                            description
                              "Net has multipaths";
                          }
    
                          leaf net-eibgp-multipath {
                            type boolean;
                            description
                              "Net has EIBGP multipaths";
                          }
    
                          leaf net-backup-available {
                            type boolean;
                            description
                              "Net has backup path";
                          }
    
                          leaf net-backup-label-rewrite-available {
                            type boolean;
                            description
                              "Net has label rewrite for backup path";
                          }
    
                          leaf rib-failed {
                            type boolean;
                            description
                              "RIB install failed";
                          }
    
                          leaf gateway-array {
                            type uint32;
                            description
                              "ID for the gateway array";
                          }
    
                          leaf resilient-nexthop-set {
                            type uint32;
                            description
                              "ID for the Resilient per CEnexthop set";
                          }
    
                          leaf is-permanent-network {
                            type boolean;
                            description
                              "Flag that indicates that the networkhas
    permanent path";
                          }
    
                          leaf num-of-path {
                            type uint32;
                            description
                              "Number of path for this net";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "The version of the the radix tree";
                          }
    
                          leaf bit {
                            type uint16;
                            description "Bit";
                          }
    
                          leaf flags {
                            type uint8;
                            description "Flags";
                          }
    
                          leaf has-srv6-sid-allocated {
                            type boolean;
                            description
                              "Net has SRv6 SID allocated";
                          }
    
                          leaf srv6-sid-address {
                            type Ipv6-address;
                            description
                              "SRv6 SID address value";
                          }
    
                          leaf srv6-sid-address-len {
                            type uint32;
                            description
                              "SRv6 SID address Length";
                          }
    
                          list local-peers-advertised-to {
                            description
                              "Local peers that this prefix has been advertised
    to";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list local-peers-advertised-to
    
                          list pe-peers-advertised-to {
                            description
                              "PE peers that this prefix has been advertised to";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list pe-peers-advertised-to
    
                          list best-path-orrbitfield {
                            description
                              "ORR Best path Bitfields";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list best-path-orrbitfield
    
                          list add-path-orrbitfield {
                            description
                              "ORR Add path Bitfields";
                            container neighbor-address {
                              description
                                "BGP advertised neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            leaf is-neighbor {
                              type boolean;
                              description
                                "Entry is a neighbor (not an update group)";
                            }
    
                            leaf update-group-afi {
                              type uint8;
                              description
                                "AFI of the Update group it is advertised to";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
                          }  // list add-path-orrbitfield
    
                          list local-process-instance-path {
                            description
                              "Local (to process instance) paths for this net ";
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list local-process-instance-path
    
                          list active-process-instance-path {
                            description
                              "Path for this net from BGP active instance
    process";
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list active-process-instance-path
    
                          list local-path-element {
                            description
                              "BGP network elements list of thelocal path";
                            container pelem-path-nexthop {
                              description
                                "Path nexthop address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-nexthop
    
                            container nh-tunnel {
                              description
                                "NH tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container pelem-path-neighbor-addr {
                              description
                                "Path neighbor address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-neighbor-addr
    
                            leaf pelem-path-id {
                              type uint32;
                              description
                                "Local Path ID";
                            }
    
                            leaf pelem-version {
                              type uint32;
                              description
                                "Version";
                            }
    
                            leaf pelem-flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf pelem-gw-metric {
                              type uint32;
                              description
                                "Gateway metric";
                            }
    
                            leaf pelem-path-flags {
                              type uint64;
                              description
                                "Path flags";
                            }
    
                            leaf pelem-path-peer-path-id {
                              type uint32;
                              description
                                "Path peer path ID";
                            }
    
                            leaf pelem-table-attr-version {
                              type uint32;
                              description
                                "Table Attr version";
                            }
    
                            leaf pelem-path-table-attr-version {
                              type uint32;
                              description
                                "Path Table Attribute version";
                            }
    
                            leaf pelem-no-bestpath-table-attr-version {
                              type uint32;
                              description
                                "BGP network no best path tableattribute version
    number";
                            }
    
                            leaf pelem-no-addpath-table-attr-version {
                              type uint32;
                              description
                                "The version of the no addpath table attribute";
                            }
    
                            leaf is-perm-path-pelem {
                              type boolean;
                              description
                                "Pelem for permanent path";
                            }
                          }  // list local-path-element
    
                          list active-path-element {
                            description
                              "Path element list received from Active inst";
                            container pelem-path-nexthop {
                              description
                                "Path nexthop address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-nexthop
    
                            container nh-tunnel {
                              description
                                "NH tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container pelem-path-neighbor-addr {
                              description
                                "Path neighbor address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container pelem-path-neighbor-addr
    
                            leaf pelem-path-id {
                              type uint32;
                              description
                                "Local Path ID";
                            }
    
                            leaf pelem-version {
                              type uint32;
                              description
                                "Version";
                            }
    
                            leaf pelem-flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf pelem-gw-metric {
                              type uint32;
                              description
                                "Gateway metric";
                            }
    
                            leaf pelem-path-flags {
                              type uint64;
                              description
                                "Path flags";
                            }
    
                            leaf pelem-path-peer-path-id {
                              type uint32;
                              description
                                "Path peer path ID";
                            }
    
                            leaf pelem-table-attr-version {
                              type uint32;
                              description
                                "Table Attr version";
                            }
    
                            leaf pelem-path-table-attr-version {
                              type uint32;
                              description
                                "Path Table Attribute version";
                            }
    
                            leaf pelem-no-bestpath-table-attr-version {
                              type uint32;
                              description
                                "BGP network no best path tableattribute version
    number";
                            }
    
                            leaf pelem-no-addpath-table-attr-version {
                              type uint32;
                              description
                                "The version of the no addpath table attribute";
                            }
    
                            leaf is-perm-path-pelem {
                              type boolean;
                              description
                                "Pelem for permanent path";
                            }
                          }  // list active-path-element
                        }  // list network
                      }  // container networks
    
                      container path-table {
                        description
                          "The BGP Path Table";
                        list path {
                          description
                            "A BGP path table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address for the BGP neighbor";
                          }
    
                          leaf route-type {
                            type Bgp-route;
                            description
                              "Route Type";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list path
                      }  // container path-table
    
                      container mvpn-rt-list {
                        description
                          "A BGP Multicast VPN Route Target List for
    address-family";
                        container mvpn-extcomm-list {
                          description
                            "Prefix list";
                          list bgp-mvpn-extcomm {
                            description
                              "Next entry in prefix list";
                            leaf ext-comm-value {
                              type yang:hex-string;
                              description
                                "Extended community value";
                            }
    
                            leaf ext-comm-is-stale {
                              type boolean;
                              description
                                "Extended community is stale";
                            }
                          }  // list bgp-mvpn-extcomm
                        }  // container mvpn-extcomm-list
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identfier";
                        }
    
                        leaf vrf-ri-exist {
                          type boolean;
                          description
                            "Is Vrf ri existing";
                        }
    
                        leaf router-address {
                          type inet:ipv4-address;
                          description
                            "PE address";
                        }
    
                        leaf vrf-index {
                          type uint16;
                          description
                            "Vrf index";
                        }
    
                        leaf seg-nh-exist {
                          type boolean;
                          description
                            "Is segmented nh existing";
                        }
    
                        leaf seg-nh-address {
                          type inet:ipv4-address;
                          description
                            "Segmented nexthop";
                        }
    
                        leaf source-as-exist {
                          type boolean;
                          description
                            "Is source as exising";
                        }
    
                        leaf source-as {
                          type uint32;
                          description
                            "Source As number";
                        }
    
                        leaf vrf-ri-exist-m {
                          type boolean;
                          description
                            "Is Vrf ri existing for mcast";
                        }
    
                        leaf router-address-m {
                          type inet:ipv4-address;
                          description
                            "PE address for mcast";
                        }
    
                        leaf vrf-index-m {
                          type uint16;
                          description
                            "Vrf index for mcast";
                        }
    
                        leaf seg-nh-exist-m {
                          type boolean;
                          description
                            "Is segmented nh existing for mcast";
                        }
    
                        leaf seg-nh-address-m {
                          type inet:ipv4-address;
                          description
                            "Segmented nexthop for mcast";
                        }
    
                        leaf source-as-exist-m {
                          type boolean;
                          description
                            "Is source as exising for mcast";
                        }
    
                        leaf source-as-m {
                          type uint32;
                          description
                            "Source As number for mcast";
                        }
    
                        leaf connector-src-exist {
                          type boolean;
                          description
                            "Is Connector src existing";
                        }
    
                        leaf connector-src {
                          type inet:ipv4-address;
                          description
                            "Connector src";
                        }
                      }  // container mvpn-rt-list
    
                      container recent-prefixes {
                        description
                          "BGP Recent Prefix Table";
                        list recent-prefix {
                          description
                            "BGP Recent Prefix";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          container bgp-prefix {
                            description
                              "BGP prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bgp-prefix
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list recent-prefix
                      }  // container recent-prefixes
    
                      container advertised-path-counts {
                        description
                          "The BGP Advertised paths table (bestpath)";
                        list advertised-path-count {
                          key "neighbor-address";
                          description
                            "The BGP Advertised path table Count
    (bestpath)";
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          leaf max-prefix-advertisedcount {
                            type uint32;
                            description
                              "Number of prefixes advertsied to neighbor";
                          }
                        }  // list advertised-path-count
                      }  // container advertised-path-counts
    
                      container path-labeled-table {
                        description
                          "The BGP Path Labeled Table";
                        list path {
                          description
                            "A BGP path table entry";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for ip
    prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address for the BGP neighbor";
                          }
    
                          leaf route-type {
                            type Bgp-route;
                            description
                              "Route Type";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list path
                      }  // container path-labeled-table
    
                      container orr-group-table-entries {
                        description
                          "The BGP Optimal Route Reflection Group Table";
                        list orr-group-table-entry {
                          key "orr-grp-name";
                          description
                            "A BGP Optimal Route Reflection Group Table
    Entry";
                          leaf orr-grp-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "The BGP Optimal Route Reflection Group Name";
                          }
    
                          container orr-root-address {
                            description
                              "ORR Root Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container orr-root-address
    
                          container orr-sec-root-address {
                            description
                              "ORR Sec Root Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container orr-sec-root-address
    
                          container orr-ter-root-address {
                            description
                              "ORR ter Root Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container orr-ter-root-address
    
                          leaf orr-group-name {
                            type string;
                            description
                              "ORR Group Name";
                          }
    
                          leaf is-orr-root-address-configured {
                            type boolean;
                            description
                              "ORR Root address configured";
                          }
    
                          leaf is-orr-sec-root-address-configured {
                            type boolean;
                            description
                              "ORR Sec Root address configured";
                          }
    
                          leaf is-orr-ter-root-address-configured {
                            type boolean;
                            description
                              "ORR Ter Root address configured";
                          }
    
                          leaf orr-neighbor-count {
                            type uint32;
                            description
                              "ORR neighbor count";
                          }
    
                          leaf orr-index {
                            type uint32;
                            description
                              "ORR index";
                          }
    
                          leaf orr-tableid {
                            type uint32;
                            description
                              "ORR Group tableid";
                          }
                        }  // list orr-group-table-entry
                      }  // container orr-group-table-entries
    
                      container advertised-paths {
                        description
                          "The BGP Advertised paths table (add-paths)";
                        list advertised-path {
                          description
                            "A BGP Advertised paths table entry
    (add-paths)";
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf prefix-length {
                            type uint32;
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "Neighbor ";
                          }
    
                          list paths {
                            description
                              "BGP paths information";
                            container advertised-neighbor {
                              description
                                "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container advertised-neighbor
    
                            container path-information {
                              description
                                "BGP path information ";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-information
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf process-instance-id {
                              type uint8;
                              description
                                "BGP Process instance ID";
                            }
    
                            leaf label-oor {
                              type boolean;
                              description
                                "LSD label space is exhausted";
                            }
    
                            leaf label-oor-version {
                              type uint32;
                              description
                                "Label Version when OOR happens";
                            }
    
                            leaf label-fail {
                              type boolean;
                              description
                                "LSD label allocation failed ";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Source Route Distinguisher";
                            }
    
                            leaf original-source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path Original Source Route Distinguisher";
                            }
    
                            leaf prefix-version {
                              type uint32;
                              description
                                "Version of BGP Prefix Table";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
    
                            leaf source-vrf-name {
                              type string;
                              description
                                "Name of the source VRF";
                            }
    
                            leaf srcaf-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
                          }  // list paths
    
                          list adv-path-info {
                            description
                              "Net Advertized Paths";
                            container neighbor-address-xr {
                              description
                                "Neighbor Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address-xr
    
                            container path-info-after-policy-in {
                              description
                                "Path information after inbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-in
    
                            container path-info-after-policy-out {
                              description
                                "Path information after outbound policy";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              container neighbor-address {
                                description
                                  "Neighbor address specified in BGP path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              container next-hop {
                                description
                                  "BGP Next hop information";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container next-hop
    
                              container nh-tunnel {
                                description
                                  "Next hop tunnel information";
                                leaf tunnel-type {
                                  type Bgp-tunnel;
                                  description
                                    "Nexthop Tunnel Type";
                                }
    
                                leaf tunnel-name {
                                  type string;
                                  description
                                    "Tunnel name attribute";
                                }
    
                                leaf is-tunnel-up {
                                  type boolean;
                                  description
                                    "Tunnel Up flag";
                                }
    
                                leaf is-tunnel-info-stale {
                                  type boolean;
                                  description
                                    "Tunnel is stale";
                                }
    
                                leaf is-tunnel-registered {
                                  type boolean;
                                  description
                                    "Tunnel registered flag";
                                }
    
                                leaf is-bgp-te-registered {
                                  type boolean;
                                  description
                                    "BGPTE registered flag";
                                }
    
                                leaf tunnel-v6-required {
                                  type boolean;
                                  description
                                    "Tunnel need IPv6";
                                }
    
                                leaf tunnel-v6-enabled {
                                  type boolean;
                                  description
                                    "IPv6 enabled";
                                }
    
                                leaf tunnel-notif-first-rcvd {
                                  type boolean;
                                  description
                                    "Tunnel first notif received";
                                }
    
                                leaf tunnel-state-skip-reg {
                                  type boolean;
                                  description
                                    "Skip tunnel registration for Stale entry";
                                }
    
                                leaf binding-label {
                                  type uint32;
                                  description
                                    "Binding label for the tunnel";
                                }
    
                                leaf tunnel-if-handle {
                                  type uint32;
                                  description
                                    "Interface handle for the tunnel";
                                }
    
                                leaf last-tunnel-update {
                                  type uint32;
                                  description
                                    "Time since the last tunnel update happened";
                                }
    
                                leaf tunnel-color {
                                  type uint32;
                                  description
                                    "Color corresponding to this SR tunnel";
                                }
    
                                leaf has-tunnel-metric {
                                  type boolean;
                                  description
                                    "This SR-TE tunnel has an admin distance/metric";
                                }
    
                                leaf tunnel-metric-ad {
                                  type uint32;
                                  description
                                    "Metric admin distance corresponding to this SR
    tunnel";
                                }
    
                                leaf tunnel-metric-value {
                                  type uint32;
                                  description
                                    "Metric value corresponding to this SR tunnel";
                                }
    
                                leaf is-tunnel-color-only {
                                  type boolean;
                                  description
                                    "Is a Color Only (Null Endpoint) tunnel";
                                }
    
                                leaf tunnel-endpoint-afi {
                                  type Bgp-afi;
                                  description
                                    "AFI of the Null Endpoint (IPv4/IPv6)";
                                }
    
                                leaf flags {
                                  type uint32;
                                  description
                                    "SR Tunnel specific flags ";
                                }
    
                                leaf haveu-srv6-bsid {
                                  type boolean;
                                  description
                                    "SRv6 BSID for tunnel present";
                                }
    
                                leaf srv6u-bsid-address {
                                  type Ipv6-address;
                                  description
                                    "SRv6 uBSID address value";
                                }
                              }  // container nh-tunnel
    
                              container mdt-group-addr {
                                description
                                  "IPv4 MDT Group Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mdt-group-addr
    
                              container gw-addr {
                                description
                                  "Path GW Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container gw-addr
    
                              container nh-addr {
                                description
                                  "Path next-hop Address";
                                leaf len {
                                  type Bgp-v4-v6-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'gwipv4'" {
                                    description
                                      "../len = 'gwipv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'gwipv6'" {
                                    description
                                      "../len = 'gwipv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
                              }  // container nh-addr
    
                              container best-path-comp-winner {
                                description
                                  "Neighbor address of the path which won best path
    comparison";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container best-path-comp-winner
    
                              container mvpn-nbr-addr {
                                description
                                  "Mvpn nbr Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nbr-addr
    
                              container mvpn-nexthop-addr {
                                description
                                  "Mvpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container mvpn-nexthop-addr
    
                              container vpn-nexthop-addr {
                                description
                                  "Vpn nexthop Address for the path";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container vpn-nexthop-addr
    
                              container evpn-imet-pmsi-nexthop-addr {
                                description
                                  "EVPN IMET PMSI Originator Nexthop Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container evpn-imet-pmsi-nexthop-addr
    
                              leaf route-type {
                                type Bgp-route1;
                                description
                                  "Route Type of path";
                              }
    
                              leaf is-path-valid {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path attributes are
    usable";
                              }
    
                              leaf is-path-damped {
                                type boolean;
                                description
                                  "Flag to indicate if Path suppressed due to
    dampening";
                              }
    
                              leaf is-path-history-held {
                                type boolean;
                                description
                                  "Path entry held to remember history";
                              }
    
                              leaf is-internal-path {
                                type boolean;
                                description
                                  "Received over an internal link";
                              }
    
                              leaf is-best-path {
                                type boolean;
                                description
                                  "Best available path";
                              }
    
                              leaf is-as-best {
                                type boolean;
                                description
                                  "Best available path within AS";
                              }
    
                              leaf is-spkr-as-best {
                                type boolean;
                                description
                                  "Best available path within AS in speaker";
                              }
    
                              leaf is-partial-best {
                                type boolean;
                                description
                                  "Partial best path within distributed speaker";
                              }
    
                              leaf is-aggregation-suppressed {
                                type boolean;
                                description
                                  "Path suppressed due to aggregation";
                              }
    
                              leaf is-import-dampened {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    dampened";
                              }
    
                              leaf is-import-suspect {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path net import is
    suspect";
                              }
    
                              leaf is-path-not-advertised {
                                type boolean;
                                description
                                  "Flag to indicate if path is not advertised to
    any peer";
                              }
    
                              leaf is-path-not-advertised-to-ebgp {
                                type boolean;
                                description
                                  "Not advertised to EBGPs";
                              }
    
                              leaf is-path-advertised-local-as-only {
                                type boolean;
                                description
                                  "Not advertised outside local AS";
                              }
    
                              leaf is-path-from-route-reflector {
                                type boolean;
                                description
                                  "Path received from route reflector";
                              }
    
                              leaf is-path-received-only {
                                type boolean;
                                description
                                  "Flag to indicate if BGP Path is received only";
                              }
    
                              leaf is-received-path-not-modified {
                                type boolean;
                                description
                                  "Flag to indicate if received path is used
    without modification";
                              }
    
                              leaf is-path-locally-sourced {
                                type boolean;
                                description
                                  "Path sourced locally";
                              }
    
                              leaf is-path-local-aggregate {
                                type boolean;
                                description
                                  "Path is a locally created aggregate";
                              }
    
                              leaf is-path-from-network-command {
                                type boolean;
                                description
                                  "Path sourced by network command";
                              }
    
                              leaf is-path-from-redistribute-command {
                                type boolean;
                                description
                                  "Path sourced by redistribute command";
                              }
    
                              leaf is-path-imported {
                                type boolean;
                                description
                                  "Path is imported";
                              }
    
                              leaf is-path-reoriginated {
                                type boolean;
                                description
                                  "Path is reoriginated";
                              }
    
                              leaf is-path-reoriginated-stitching {
                                type boolean;
                                description
                                  "Path is reoriginated with stitching RTs";
                              }
    
                              leaf is-path-vpn-only {
                                type boolean;
                                description
                                  "Path is not in the vrf";
                              }
    
                              leaf is-path-from-confederation-peer {
                                type boolean;
                                description
                                  "Path received from confederation peer";
                              }
    
                              leaf is-path-synced-with-igp {
                                type boolean;
                                description
                                  "Path synchronized with IGP";
                              }
    
                              leaf is-path-multipath {
                                type boolean;
                                description
                                  "Path is one of multipath best routes";
                              }
    
                              leaf is-path-imp-candidate {
                                type boolean;
                                description
                                  "Path is a candidate for multipath import";
                              }
    
                              leaf is-path-stale {
                                type boolean;
                                description
                                  "Stale routes learnt before neighbor restarts";
                              }
    
                              leaf is-path-long-lived-stale {
                                type boolean;
                                description
                                  "Long lived stale routes learnt before neighbor
    restarts";
                              }
    
                              leaf is-path-backup {
                                type boolean;
                                description
                                  "Path is a backup path ";
                              }
    
                              leaf is-path-backup-protect-multipath {
                                type boolean;
                                description
                                  "Path is a backup path to protect multipaths";
                              }
    
                              leaf is-path-best-external {
                                type boolean;
                                description
                                  "Path is a best external path";
                              }
    
                              leaf is-path-additional-path {
                                type boolean;
                                description
                                  "Flag to indicate BGP Path is an additional-path";
                              }
    
                              leaf is-path-nexthop-discarded {
                                type boolean;
                                description
                                  "Path is redirected to Null0";
                              }
    
                              leaf has-local-net-label {
                                type boolean;
                                description
                                  "Path has local label";
                              }
    
                              leaf local-label {
                                type uint32;
                                description
                                  " BGP Path local label";
                              }
    
                              leaf igp-metric {
                                type uint32;
                                description
                                  "IGP metric to the gateway";
                              }
    
                              leaf path-weight {
                                type uint16;
                                description
                                  "Weight for the path";
                              }
    
                              leaf neighbor-router-id {
                                type inet:ipv4-address;
                                description
                                  "Router ID of the neighbor for the path";
                              }
    
                              leaf has-mdt-group-addr {
                                type boolean;
                                description
                                  "Path has MDT Group Address";
                              }
    
                              leaf l2vpn-size {
                                type uint32;
                                description
                                  "Path block size";
                              }
    
                              leaf l2vpn-evpn-esi {
                                type string;
                                description
                                  "L2VPN EVPN ESI";
                              }
    
                              leaf evpn-path-flags {
                                type uint32;
                                description
                                  "L2VPN EVPN Path flags";
                              }
    
                              leaf has-gw-addr {
                                type boolean;
                                description
                                  "Path has GW Address";
                              }
    
                              leaf has-nh-addr {
                                type boolean;
                                description
                                  "Path has next-hop Address";
                              }
    
                              leaf nexthop-interface-handle {
                                type uint32;
                                description
                                  "Interface Handle of Nexthop";
                              }
    
                              leaf has-second-label {
                                type boolean;
                                description
                                  "Path has second received label";
                              }
    
                              leaf second-label {
                                type uint32;
                                description
                                  "Path second received label";
                              }
    
                              leaf path-flap-count {
                                type uint32;
                                description
                                  "Number of times this route has flapped";
                              }
    
                              leaf seconds-since-first-flap {
                                type uint32;
                                units "second";
                                description
                                  "BGP damp info in seconds, since first route
    flapped";
                              }
    
                              leaf time-to-unsuppress {
                                type uint32;
                                units "second";
                                description
                                  "Seconds until route is unsuppressed";
                              }
    
                              leaf dampen-penalty {
                                type uint32;
                                description
                                  "BGP Dampening penalty";
                              }
    
                              leaf halflife-time {
                                type uint32;
                                description
                                  "Half-life time for the penalty";
                              }
    
                              leaf suppress-penalty {
                                type uint32;
                                description
                                  "Value to start suppressing a route";
                              }
    
                              leaf reuse-value {
                                type uint32;
                                description
                                  "Value to start reusing a route";
                              }
    
                              leaf maximum-suppress-time {
                                type uint32;
                                description
                                  "Maximum duration to suppress a stable route";
                              }
    
                              leaf best-path-comp-stage {
                                type Bgp-bp-stage;
                                description
                                  "Stage where the path lost to the best path or
    group best";
                              }
    
                              leaf best-path-id-comp-winner {
                                type uint32;
                                description
                                  "Path ID of the path which won best path
    comparison";
                              }
    
                              leaf path-flags {
                                type uint64;
                                description
                                  "Flags associated with path";
                              }
    
                              leaf path-import-flags {
                                type uint32;
                                description
                                  "Flags to indicate for import processing in BGP";
                              }
    
                              leaf best-path-id {
                                type uint32;
                                description
                                  "Best path ID; DEPRECATED BY LocalPathId";
                              }
    
                              leaf local-path-id {
                                type uint32;
                                description
                                  "Local path ID";
                              }
    
                              leaf rcvd-path-id {
                                type uint32;
                                description
                                  "Received path ID";
                              }
    
                              leaf path-table-version {
                                type uint32;
                                description
                                  "Table version # for pelem";
                              }
    
                              leaf advertisedto-pe {
                                type boolean;
                                description
                                  "Net could be advertised
    to PE peers";
                              }
    
                              leaf rib-failed {
                                type boolean;
                                description
                                  "Is net failed installed
    in RIB";
                              }
    
                              leaf sn-rpki-origin-as-validity {
                                type uint8;
                                description
                                  "RPKI origin validation state";
                              }
    
                              leaf show-rpki-origin-as-validity {
                                type boolean;
                                description
                                  "Display validity state ?";
                              }
    
                              leaf ibgp-signaled-validity {
                                type boolean;
                                description
                                  "IBGP signalled validation";
                              }
    
                              leaf rpki-origin-as-validation-disabled {
                                type boolean;
                                description
                                  "RPKI originAS V. Disabled";
                              }
    
                              leaf accept-own-path {
                                type boolean;
                                description
                                  "Accept Own";
                              }
    
                              leaf accept-own-self-originated-path {
                                type boolean;
                                description
                                  "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                              }
    
                              leaf aigp-metric {
                                type uint64;
                                description
                                  "Total AIGP metric";
                              }
    
                              leaf mvpn-sfs-path {
                                type boolean;
                                description
                                  "Flag to indicate if MVPN single forwarder PE
    path";
                              }
    
                              leaf fspec-invalid-path {
                                type boolean;
                                description
                                  "Flag to indicate if path is invalidated by
    flow-spec rules";
                              }
    
                              leaf has-mvpn-nbr-addr {
                                type boolean;
                                description
                                  "Path has Mvpn nbr Address";
                              }
    
                              leaf has-mvpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has MVPN nexthop Address";
                              }
    
                              leaf has-mvpn-pmsi {
                                type boolean;
                                description
                                  "Path has MVPN PMSI feedback";
                              }
    
                              leaf mvpn-pmsi-type {
                                type uint16;
                                description
                                  "Mvpn PMSI Type";
                              }
    
                              leaf mvpn-pmsi-flags {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
    
                              leaf mvpn-pmsi-label {
                                type uint32;
                                description
                                  "Mvpn PMSI label";
                              }
    
                              leaf has-mvpn-extcomm {
                                type boolean;
                                description
                                  "Path has MVPN EXTCOMM feedback";
                              }
    
                              leaf mvpn-path-flags {
                                type uint16;
                                description
                                  "Multicast Virtual Private Networks specific path
    info";
                              }
    
                              leaf local-nh {
                                type boolean;
                                description
                                  "Path has local nexthop";
                              }
    
                              leaf rt-set-limit-enabled {
                                type boolean;
                                description
                                  "Path subject to RT-set net limit";
                              }
    
                              leaf path-rt-set-id {
                                type uint32;
                                description
                                  "RT-set id of the path";
                              }
    
                              leaf path-rt-set-route-count {
                                type uint32;
                                description
                                  "Count in RT-set";
                              }
    
                              leaf is-path-af-install-eligible {
                                type boolean;
                                description
                                  "Path can be installed in AF RIB";
                              }
    
                              leaf is-permanent-path {
                                type boolean;
                                description
                                  "Path is of type Permanent path";
                              }
    
                              leaf graceful-shutdown {
                                type boolean;
                                description
                                  "Marked for graceful shutdown";
                              }
    
                              leaf labeled-unicast-safi-path {
                                type boolean;
                                description
                                  "Path was learnt by labeled-unicast SAFI";
                              }
    
                              leaf has-vpn-nexthop-addr {
                                type boolean;
                                description
                                  "Path has VPN nexthop Address";
                              }
    
                              leaf is-orig-src-rd-present {
                                type boolean;
                                description
                                  "Original Source RD  present";
                              }
    
                              leaf af-name {
                                type Bgp-afi;
                                description
                                  "Original Source Address family identifier";
                              }
    
                              leaf route-distinguisher {
                                type xr:Route-dist;
                                description
                                  "Original Source Route Distinguisher";
                              }
    
                              leaf mac-ip-present {
                                type boolean;
                                description
                                  "Mac IP Present  present";
                              }
    
                              leaf mac-ip {
                                type yang:mac-address;
                                description
                                  "Mac associated with IP";
                              }
    
                              leaf ether-tag-id {
                                type uint32;
                                description
                                  "Ethernet Tag Id";
                              }
    
                              leaf igmp-flags-present {
                                type boolean;
                                description
                                  "EVPN IGMP Flags Present";
                              }
    
                              leaf igmp-flags {
                                type uint8;
                                description
                                  "EVPN IGMP Flags";
                              }
    
                              leaf evpn-imet-pmsi-originator-present {
                                type boolean;
                                description
                                  "EVPN IMET PMSI Originator Nexthop is present";
                              }
    
                              leaf evpn-imet-pmsi-nexthop-reachable {
                                type boolean;
                                description
                                  "Reachability for PMSI Originator nexthop";
                              }
    
                              list rcvd-label {
                                description
                                  "Path received label stack";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Path received label stack";
                                }
                              }  // list rcvd-label
    
                              list l2vpn-circuit-status-value {
                                description
                                  "L2VPN Circuit Status Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2VPN Circuit Status Value";
                                }
                              }  // list l2vpn-circuit-status-value
    
                              list mvpn-pmsi-value {
                                description
                                  "Mvpn PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn PMSI Value";
                                }
                              }  // list mvpn-pmsi-value
    
                              list extended-community {
                                description
                                  "Mvpn Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Mvpn Extended community attribute";
                                }
                              }  // list extended-community
    
                              list local-peers-advertised-to {
                                description
                                  "Local peers that this prefix has been advertised
    to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list local-peers-advertised-to
    
                              list pe-peers-advertised-to {
                                description
                                  "PE peers that this prefix has been advertised to";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list pe-peers-advertised-to
    
                              list best-path-orrbitfield {
                                description
                                  "ORR Best path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list best-path-orrbitfield
    
                              list add-path-orrbitfield {
                                description
                                  "ORR Add path Bitfields";
                                container neighbor-address {
                                  description
                                    "BGP advertised neighbor Address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container neighbor-address
    
                                leaf is-neighbor {
                                  type boolean;
                                  description
                                    "Entry is a neighbor (not an update group)";
                                }
    
                                leaf update-group-afi {
                                  type uint8;
                                  description
                                    "AFI of the Update group it is advertised to";
                                }
    
                                leaf update-group-number {
                                  type uint32;
                                  description
                                    "Update group index";
                                }
                              }  // list add-path-orrbitfield
                            }  // container path-info-after-policy-out
    
                            container attributes-after-policy-in {
                              description
                                "Attributes after inbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-in
    
                            container attributes-after-policy-out {
                              description
                                "Attributes after outbound policy";
                              container common-attributes {
                                description
                                  "BGP entry to derive the attribute information";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container common-attributes
    
                              container attr-set {
                                description
                                  "ATTR_SET attribute";
                                container prefix-sid-label-index {
                                  description
                                    "Prefix-SID LabelIndex TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf label-index {
                                    type uint32;
                                    description
                                      "LabelIndex field";
                                  }
                                }  // container prefix-sid-label-index
    
                                container prefix-sid-orig-srgb {
                                  description
                                    "Prefix-SID OrigSRGB TLV info";
                                  leaf flags {
                                    type uint16;
                                    description
                                      "Flags field";
                                  }
    
                                  leaf range-count {
                                    type uint32;
                                    description
                                      "Number of SRGB ranges";
                                  }
    
                                  list range {
                                    description
                                      "List of SRGB ranges";
                                    leaf range-start {
                                      type uint32;
                                      description
                                        "Start of the range for BGP Segment Routing (SR)
    global block";
                                    }
    
                                    leaf range-end {
                                      type uint32;
                                      description
                                        "End of the range for BGP Segment Routing
    (SR)global block";
                                    }
                                  }  // list range
                                }  // container prefix-sid-orig-srgb
    
                                container prefix-sid-srv6-layer2-svc {
                                  description
                                    "Prefix-SID SRv6L2SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of SIDs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer2-svc
    
                                container prefix-sid-srv6-layer3-svc {
                                  description
                                    "Prefix-SID SRv6L3SVC TLV info";
                                  leaf reserved {
                                    type uint8;
                                    description
                                      "Reserved field";
                                  }
    
                                  leaf sub-tlv-count {
                                    type uint16;
                                    description
                                      "Number of subtlvs";
                                  }
    
                                  list sub-tlv {
                                    description
                                      "Sub TLVs";
                                    container sub-tlv-val {
                                      description
                                        "Sub TLV Val";
                                      container sid-info {
                                        description
                                          "SIDinfo field";
                                        leaf reserved2 {
                                          type uint8;
                                          description
                                            "SUB TLV reserved";
                                        }
    
                                        leaf sid {
                                          type inet:ipv6-address;
                                          description
                                            "SID new Value";
                                        }
    
                                        leaf sid-flags {
                                          type uint8;
                                          description
                                            "SID Flags";
                                        }
    
                                        leaf sid-behavior {
                                          type uint16;
                                          description
                                            "SID ENDPT behavior";
                                        }
    
                                        leaf reserved3 {
                                          type uint8;
                                          description
                                            "SUB SUB TLV reserved";
                                        }
    
                                        leaf sub-sub-tlv-count {
                                          type uint16;
                                          description
                                            "SUB SUB TLV Count";
                                        }
    
                                        list sub-sub-tlv {
                                          description
                                            "List of sub sub tlvs";
                                          container sub-sub-tlv-val {
                                            description
                                              "Subsub TLV Val";
                                            container sid-struct {
                                              description
                                                "SIDStruct field";
                                              leaf loc-blk-len {
                                                type uint8;
                                                description
                                                  "locator blk len";
                                              }
    
                                              leaf loc-node-len {
                                                type uint8;
                                                description
                                                  "locator node len";
                                              }
    
                                              leaf func-len {
                                                type uint8;
                                                description
                                                  "Function len";
                                              }
    
                                              leaf arg-len {
                                                type uint8;
                                                description
                                                  "Argument len";
                                              }
    
                                              leaf transpose-len {
                                                type uint8;
                                                description
                                                  "Transpose len";
                                              }
    
                                              leaf transpose-offset {
                                                type uint8;
                                                description
                                                  "Transpose offset";
                                              }
                                            }  // container sid-struct
    
                                            list unknown-buf {
                                              description
                                                "Unknown buff";
                                              leaf entry {
                                                type uint8;
                                                description
                                                  "Unknown buff";
                                              }
                                            }  // list unknown-buf
                                          }  // container sub-sub-tlv-val
    
                                          leaf type {
                                            type uint8;
                                            description
                                              "SUBSUBtlv Type";
                                          }
    
                                          leaf length {
                                            type uint16;
                                            description
                                              "SUBSUBTLv length";
                                          }
                                        }  // list sub-sub-tlv
                                      }  // container sid-info
    
                                      list unknown-buf {
                                        description
                                          "Unknown buff";
                                        leaf entry {
                                          type uint8;
                                          description
                                            "Unknown buff";
                                        }
                                      }  // list unknown-buf
                                    }  // container sub-tlv-val
    
                                    leaf type {
                                      type uint8;
                                      description
                                        "Type field";
                                    }
    
                                    leaf len {
                                      type uint16;
                                      description
                                        "length of SUB_TLVs";
                                    }
                                  }  // list sub-tlv
                                }  // container prefix-sid-srv6-layer3-svc
    
                                container prefix-sid-unk-tlvs {
                                  description
                                    "Prefix-SID UnkTLVs TLV info";
                                  leaf tlv-count {
                                    type uint16;
                                    description
                                      "Number of unknown TLVs stored";
                                  }
    
                                  leaf received-buffer-length {
                                    type uint32;
                                    description
                                      "Received length of unknown TLVs";
                                  }
    
                                  list tl-vs-buffer {
                                    description
                                      "Limited buffer of unknown TLVs";
                                    leaf entry {
                                      type uint8;
                                      description
                                        "Limited buffer of unknown TLVs";
                                    }
                                  }  // list tl-vs-buffer
                                }  // container prefix-sid-unk-tlvs
    
                                container tunnel-encap {
                                  description
                                    "Tunnel Encapsulation attribute";
                                  container sr-policy {
                                    description
                                      "Tunnel encap type SR policy";
                                    container binding-sid {
                                      description
                                        "SR Policy incoming Binding sid";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container binding-sid
    
                                    container allocated-binding-sid {
                                      description
                                        "SR Policy allocated Binding sid by the router";
                                      leaf type {
                                        type Bgp-binding-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'v6'" {
                                          description
                                            "../Type = 'v6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 Addr";
                                      }
                                    }  // container allocated-binding-sid
    
                                    leaf tunnel-encap-type {
                                      type uint16;
                                      description
                                        "Tunnel Encapsulation Type";
                                    }
    
                                    leaf preference {
                                      type uint32;
                                      description
                                        "SR Policy Preference";
                                    }
    
                                    leaf state {
                                      type boolean;
                                      description
                                        "SR Policy active state in forwarding";
                                    }
    
                                    leaf request-state {
                                      type Bgp-srpolicy-req-state;
                                      description
                                        "SR Policy programming Status";
                                    }
    
                                    leaf usable {
                                      type boolean;
                                      description
                                        "SR Policy is usable on this node";
                                    }
    
                                    list segment-list {
                                      description
                                        "SR Policy Segment Lists";
                                      leaf weight {
                                        type uint8;
                                        description
                                          "Weight of segment list";
                                      }
    
                                      list segment {
                                        description
                                          "Segments in segment list";
                                        leaf type {
                                          type Sr-sid;
                                          description
                                            "Type";
                                        }
    
                                        leaf label {
                                          when
                                            "../type = 'label'" {
                                            description
                                              "../Type = 'Label'";
                                          }
                                          type uint32;
                                          description
                                            "MPLS Label value";
                                        }
    
                                        leaf ipv4-address {
                                          when
                                            "../type = 'ipv4'" {
                                            description
                                              "../Type = 'IPv4'";
                                          }
                                          type inet:ipv4-address;
                                          description
                                            "IPv4 Address value";
                                        }
    
                                        leaf ipv6-address {
                                          when
                                            "../type = 'ipv6'" {
                                            description
                                              "../Type = 'IPv6'";
                                          }
                                          type Ipv6-address;
                                          description
                                            "IPv6 address value";
                                        }
                                      }  // list segment
                                    }  // list segment-list
                                  }  // container sr-policy
                                }  // container tunnel-encap
    
                                leaf is-metric-present {
                                  type boolean;
                                  description
                                    "Metric attribute present";
                                }
    
                                leaf is-local-pref-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP local preference
    attribute is present";
                                }
    
                                leaf is-atomic-aggregate-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Atomic aggregate attribute
    present";
                                }
    
                                leaf is-aggregator-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Aggregator attribute present";
                                }
    
                                leaf is-origin-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if Origin attribute is present";
                                }
    
                                leaf is-as-path-present {
                                  type boolean;
                                  description
                                    "AS path attribute present";
                                }
    
                                leaf is-community-present {
                                  type boolean;
                                  description
                                    "Community attribute present";
                                }
    
                                leaf is-extended-community-present {
                                  type boolean;
                                  description
                                    "Extended community attribute present";
                                }
    
                                leaf is-ssa-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if SSA attribute is present";
                                }
    
                                leaf is-connector-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP attribute Connector is
    present";
                                }
    
                                leaf is-pmsi-present {
                                  type boolean;
                                  description
                                    "PMSI Attribute  present";
                                }
    
                                leaf is-pppmp-present {
                                  type boolean;
                                  description
                                    "PPMP Attribute  present";
                                }
    
                                leaf is-aigp-present {
                                  type boolean;
                                  description
                                    "AIGP Present";
                                }
    
                                leaf is-pe-distinguisher-label-present {
                                  type boolean;
                                  description
                                    "PE distinguisher label  attribute present";
                                }
    
                                leaf is-ls-attribute-present {
                                  type boolean;
                                  description
                                    "Flag to indicate if BGP link-state attribute
    information is present";
                                }
    
                                leaf is-label-index-present {
                                  type boolean;
                                  description
                                    "Label Index attribute - present - deprecated";
                                }
    
                                leaf is-prefix-sid-label-index-present {
                                  type boolean;
                                  description
                                    "Prefix-SID LabelIndex present";
                                }
    
                                leaf is-prefix-sid-orig-srgb-present {
                                  type boolean;
                                  description
                                    "Prefix-SID OrigSRGB present";
                                }
    
                                leaf is-prefix-sid-srv6-layer3-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L3SVC present";
                                }
    
                                leaf is-prefix-sid-srv6-layer2-svc-present {
                                  type boolean;
                                  description
                                    "Prefix-SID SRv6L2SVC present";
                                }
    
                                leaf is-prefix-sid-unk-tlvs-present {
                                  type boolean;
                                  description
                                    "Prefix-SID UnkTLVs present";
                                }
    
                                leaf neighbor-as {
                                  type uint32;
                                  description
                                    "Neighbor AS number";
                                }
    
                                leaf aggregator-as {
                                  type uint32;
                                  description
                                    "AS where aggregation was last performed";
                                }
    
                                leaf aggregator-address {
                                  type inet:ipv4-address;
                                  description
                                    "Address where aggregation was performed ";
                                }
    
                                leaf metric {
                                  type uint32;
                                  description
                                    "Metric associated with BGP attribute ";
                                }
    
                                leaf local-preference {
                                  type uint32;
                                  description
                                    "Flag to indicate BGP attribute is local";
                                }
    
                                leaf origin {
                                  type uint16;
                                  description
                                    "BGP common attribute Origin ";
                                }
    
                                leaf as-path {
                                  type string;
                                  description
                                    "BGP Atonomous system path attribute";
                                }
    
                                leaf extended-community-flags {
                                  type uint8;
                                  description
                                    "BGP attribute Extended community Flags";
                                }
    
                                leaf originator {
                                  type inet:ipv4-address;
                                  description
                                    "Originator attribute";
                                }
    
                                leaf l2tpv3-session-id {
                                  type uint32;
                                  description
                                    "BGP attribute Layer2 tunneling protocol version
    3 session id";
                                }
    
                                leaf connector-type {
                                  type uint16;
                                  description
                                    "BGP attribute Connector Type";
                                }
    
                                leaf aigp-metric-value {
                                  type uint64;
                                  description
                                    "AIGP metric value";
                                }
    
                                leaf pmsi-type {
                                  type uint16;
                                  description
                                    "PMSI Type";
                                }
    
                                leaf pmsi-flags {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
    
                                leaf pmsi-label {
                                  type uint32;
                                  description
                                    "PMSI label";
                                }
    
                                leaf ppm-pvalue {
                                  type uint32;
                                  description
                                    "PPMP Value";
                                }
    
                                leaf is-large-community-present {
                                  type boolean;
                                  description
                                    "Large Community attribute present";
                                }
    
                                list community {
                                  description
                                    "Community attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Community attribute";
                                  }
                                }  // list community
    
                                list extended-community {
                                  description
                                    "Extended community attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Extended community attribute";
                                  }
                                }  // list extended-community
    
                                list unknown-attribute {
                                  description
                                    "BGP common set of unknown attributes ";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP common set of unknown attributes ";
                                  }
                                }  // list unknown-attribute
    
                                list cluster {
                                  description
                                    "Cluster list attribute";
                                  leaf entry {
                                    type uint32;
                                    description
                                      "Cluster list attribute";
                                  }
                                }  // list cluster
    
                                list l2tpv3-cookie {
                                  description
                                    "L2TPv3 Cookie";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "L2TPv3 Cookie";
                                  }
                                }  // list l2tpv3-cookie
    
                                list connector-value {
                                  description
                                    "BGP attribute Connector Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP attribute Connector Value";
                                  }
                                }  // list connector-value
    
                                list pmsi-value {
                                  description
                                    "PMSI Value";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "PMSI Value";
                                  }
                                }  // list pmsi-value
    
                                list ls-attr {
                                  description
                                    "BGP LS attribute";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "BGP LS attribute";
                                  }
                                }  // list ls-attr
    
                                list pe-distinguisher-label {
                                  description
                                    "PE distinguisher label attribute";
                                  leaf pe-address {
                                    type inet:ipv4-address;
                                    description
                                      " PE address";
                                  }
    
                                  leaf label {
                                    type uint32;
                                    description
                                      "Label";
                                  }
                                }  // list pe-distinguisher-label
    
                                list large-community {
                                  description
                                    "Large Community attribute";
                                  leaf global-admin {
                                    type uint32;
                                    description
                                      "Global Administrator";
                                  }
    
                                  leaf local-data1 {
                                    type uint32;
                                    description
                                      "Local Data 1";
                                  }
    
                                  leaf local-data2 {
                                    type uint32;
                                    description
                                      "Local Data 2";
                                  }
                                }  // list large-community
                              }  // container attr-set
    
                              container rnh-addr {
                                description
                                  "RNH Address";
                                leaf len {
                                  type Bgp-rnh-addr-len;
                                  description
                                    "len";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../len = 'v4'" {
                                    description
                                      "../len = 'v4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../len = 'v6'" {
                                    description
                                      "../len = 'v6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Addr";
                                }
    
                                leaf mac-address {
                                  when
                                    "../len = 'mac'" {
                                    description
                                      "../len = 'Mac'";
                                  }
                                  type Mac-address;
                                  description
                                    "MAC Addr";
                                }
                              }  // container rnh-addr
    
                              container ribrnh-ip {
                                description
                                  "RIB RNH IP Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container ribrnh-ip
    
                              leaf is-as-path2-byte {
                                type boolean;
                                description
                                  "AS path encoded as 2-byte";
                              }
    
                              leaf is-application-gateway-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP application gateway is
    present";
                              }
    
                              leaf is-attr-set-present {
                                type boolean;
                                description
                                  "BGP ATTR_SET attribute present";
                              }
    
                              leaf set-aigp-inbound-igp {
                                type boolean;
                                description
                                  "AIGP set by policy inbound IGP ";
                              }
    
                              leaf set-aigp-inbound-metric {
                                type boolean;
                                description
                                  "AIGP set by policy inbound metric";
                              }
    
                              leaf is-rnh-present {
                                type boolean;
                                description
                                  "RNH Attribute  present";
                              }
    
                              leaf is-ribrnh-present {
                                type boolean;
                                description
                                  "RIB RNH Attribute  present";
                              }
    
                              leaf attribute-key-number {
                                type uint32;
                                description
                                  "Number which is stored per bgp routing table on
    attribute key";
                              }
    
                              leaf attribute-reuse-id-config {
                                type boolean;
                                description
                                  "Attribute reuse ID Configured";
                              }
    
                              leaf attribute-reuse-id-max-id {
                                type uint32;
                                description
                                  "Attribute reuse ID maximum ID";
                              }
    
                              leaf attribute-reuse-id-node {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID nodes";
                              }
    
                              leaf attribute-reuse-id-current {
                                type uint32;
                                description
                                  "BGP Attribute reuse ID current ID";
                              }
    
                              leaf attribute-reuse-id-keys {
                                type uint32;
                                description
                                  "Attribute reuse ID allocated keys";
                              }
    
                              leaf attribute-reuse-id-recover-sec {
                                type uint32;
                                units "second";
                                description
                                  "Attribute reuse ID timer in seconds";
                              }
    
                              leaf vpn-distinguisher {
                                type uint32;
                                description
                                  "VPN Distinguisher";
                              }
    
                              leaf rnh-type {
                                type uint16;
                                description
                                  "RNH Type";
                              }
    
                              leaf rnh-len {
                                type uint8;
                                description
                                  "RNH Length";
                              }
    
                              leaf rnh-addr-len {
                                type uint32;
                                description
                                  "RNH Address Length";
                              }
    
                              leaf ribrnh-table {
                                type uint32;
                                description
                                  "RIB RNH Table";
                              }
    
                              leaf ribrnh-mac {
                                type Mac-address;
                                description
                                  "RIB RNH MAC Address";
                              }
    
                              leaf ribrnhip-table {
                                type uint32;
                                description
                                  "RIB RNH IP Table";
                              }
    
                              leaf ribrnh-vni {
                                type uint32;
                                description
                                  "RIB RNH Vni";
                              }
    
                              leaf ribrnh-encap {
                                type uint8;
                                description
                                  "RIB RNH Encapsulation Type";
                              }
                            }  // container attributes-after-policy-out
    
                            leaf no-path {
                              type boolean;
                              description
                                "No path exists All 'sp_path_in' fields except
    'sp_path_in->bag_prefix' are invalid.  All
    'sp_path_out' fields are invalid.";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path with advertised Route Distinguisher";
                            }
    
                            leaf source-route-distinguisher {
                              type xr:Route-dist;
                              description
                                "BGP path advertised Source Route Distinguisher";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "Name of the VRF";
                            }
                          }  // list adv-path-info
                        }  // list advertised-path
                      }  // container advertised-paths
    
                      container neighbor-af-table {
                        description
                          "The BGP Neighbor AF table";
                        list neighbor {
                          key "neighbor-address";
                          description
                            "A BGP Neighbor table entry";
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container connection-local-address {
                            description
                              "Local address for the connection";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container connection-local-address
    
                          container connection-remote-address {
                            description
                              "Remote address for the connection";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container connection-remote-address
    
                          container send-notification-info {
                            description
                              "Information on the last notification sent";
                            leaf time-since-last-notification {
                              type uint32;
                              units "second";
                              description
                                "Time since the last notification was sent or
    received (seconds)";
                            }
    
                            leaf notification-error-code {
                              type uint8;
                              description
                                "Error code in last notification";
                            }
    
                            leaf notification-error-subcode {
                              type uint8;
                              description
                                "Error subcode in last notification";
                            }
    
                            list last-notification-data {
                              description
                                "Message data in last notification";
                              leaf entry {
                                type uint8;
                                description
                                  "Message data in last notification";
                              }
                            }  // list last-notification-data
                          }  // container send-notification-info
    
                          container received-notification-info {
                            description
                              "Information on the last notification received";
                            leaf time-since-last-notification {
                              type uint32;
                              units "second";
                              description
                                "Time since the last notification was sent or
    received (seconds)";
                            }
    
                            leaf notification-error-code {
                              type uint8;
                              description
                                "Error code in last notification";
                            }
    
                            leaf notification-error-subcode {
                              type uint8;
                              description
                                "Error subcode in last notification";
                            }
    
                            list last-notification-data {
                              description
                                "Message data in last notification";
                              leaf entry {
                                type uint8;
                                description
                                  "Message data in last notification";
                              }
                            }  // list last-notification-data
                          }  // container received-notification-info
    
                          container performance-statistics {
                            description
                              "BGP neighbor performance statistics";
                            leaf read-throttles {
                              type uint32;
                              description
                                "Number of partial read throttles";
                            }
    
                            leaf low-throttled-read {
                              type uint32;
                              description
                                "Num socket reads after nbrs crossed low
    threshold";
                            }
    
                            leaf high-throttled-read {
                              type uint32;
                              description
                                "Num of socket reads after nbr crossed high
    threshold";
                            }
    
                            leaf time-since-last-throttled-read {
                              type uint32;
                              units "second";
                              description
                                "Time (in secs) since last read after being
    throttled";
                            }
    
                            leaf read-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to read inbound data";
                            }
    
                            leaf read-messages-count {
                              type uint32;
                              description
                                "Number of BGP messages read";
                            }
    
                            leaf data-bytes-read {
                              type uint32;
                              units "byte";
                              description
                                "No. of bytes of data read";
                            }
    
                            leaf io-read-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent reading inbound data (milliseconds)";
                            }
    
                            leaf write-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to write outbound data";
                            }
    
                            leaf data-bytes-written {
                              type uint32;
                              units "byte";
                              description
                                "Number of bytes that havesent to peers";
                            }
    
                            leaf io-write-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent writing outbound data (milliseconds)";
                            }
    
                            leaf last-sent-seq-no {
                              type uint32;
                              description
                                "Seq No of the last sent byte";
                            }
    
                            leaf write-subgroup-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to process sub-group
    message list";
                            }
    
                            leaf write-subgroup-messages-count {
                              type uint32;
                              description
                                "Number of sub-group msgs processed";
                            }
    
                            leaf subgroup-list-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent processing sub-group message list
    (milliseconds)";
                            }
    
                            leaf write-queue-calls-count {
                              type uint32;
                              description
                                "No. of calls to function to process write queue";
                            }
    
                            leaf write-queue-messages-count {
                              type uint32;
                              description
                                "Number of write queue messages processed";
                            }
    
                            leaf write-queue-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent processing write queue (milliseconds)";
                            }
    
                            leaf inbound-update-messages {
                              type uint32;
                              description
                                "Number of inbound update messages processed";
                            }
    
                            leaf inbound-update-messages-time {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Time spent processing inbound update messages
    (milliseconds)";
                            }
    
                            leaf maximum-read-size {
                              type uint32;
                              units
                                "millisecond";
                              description
                                "Size of largest socket (milliseconds)";
                            }
    
                            leaf actives {
                              type uint32;
                              description
                                "Number of retried Active opens for this neighbor";
                            }
    
                            leaf failed-post-actives {
                              type uint32;
                              description
                                "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                            }
    
                            leaf passives {
                              type uint32;
                              description
                                "Number of retried Passive opens for this
    neighbor";
                            }
    
                            leaf rejected-passives {
                              type uint32;
                              description
                                "Number of rejected Passive opens for this
    neighbor";
                            }
    
                            leaf active-collision {
                              type uint32;
                              description
                                "Number of Closed Active connections for this
    neighbor due to collision ";
                            }
    
                            leaf passive-collision {
                              type uint32;
                              description
                                "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                            }
    
                            leaf control-to-read-thread-trigger {
                              type uint32;
                              description
                                "Number of times io-control thread trigger read
    thread";
                            }
    
                            leaf control-to-write-thread-trigger {
                              type uint32;
                              description
                                "Number of times io-control thread trigger write
    thread";
                            }
    
                            leaf network-status {
                              type uint32;
                              description
                                "Socket status, TRUE if socket closed";
                            }
    
                            leaf reset-flags {
                              type uint32;
                              description
                                "Reset flags, per thread";
                            }
    
                            leaf nbr-flags {
                              type uint32;
                              description
                                "Nbr flags, per thread";
                            }
    
                            leaf nbr-fd {
                              type int32;
                              description
                                "Primary FD, per nbr";
                            }
    
                            leaf reset-retries {
                              type uint8;
                              description
                                "Reset Retries, per nbr";
                            }
    
                            leaf sync-flags {
                              type uint32;
                              description
                                "Sync flags, per nbr";
                            }
    
                            leaf nsr-oper-down-count {
                              type uint32;
                              description
                                "Number of times NSR scoped sync has been done";
                            }
    
                            leaf last-nsr-scoped-sync {
                              type uint32;
                              description
                                "Last time NSR scoped syncwas done for the
    neighbor";
                            }
                          }  // container performance-statistics
    
                          container message-statistics {
                            description
                              "BGP neighbor message statistics";
                            container open {
                              description "Open";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container open
    
                            container notification {
                              description
                                "BGP neighbor messagestatistics notification";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container notification
    
                            container update {
                              description
                                "BGP neighbor message statisticsupdate";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container update
    
                            container keepalive {
                              description
                                "Message sent between BGP neighborsto check the
    link between is operating";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container keepalive
    
                            container route-refresh {
                              description
                                "BGP neighbor message statisticsroute refresh";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container route-refresh
    
                            container total {
                              description
                                "Total";
                              container tx {
                                description
                                  "Transmit";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container tx
    
                              container rx {
                                description
                                  "Receive";
                                container last-time-spec {
                                  description
                                    "BGP neighbor message statisticslast timespec";
                                  leaf seconds {
                                    type uint32;
                                    units
                                      "second";
                                    description
                                      "Seconds part of time value";
                                  }
    
                                  leaf nanoseconds {
                                    type uint32;
                                    units
                                      "nanosecond";
                                    description
                                      "Nanoseconds part of time value";
                                  }
                                }  // container last-time-spec
    
                                leaf count {
                                  type uint32;
                                  description
                                    "Count";
                                }
                              }  // container rx
                            }  // container total
                          }  // container message-statistics
    
                          container tcp-init-sync-time-spec {
                            description
                              "Time When neighbor entered TCP Init Sync";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container tcp-init-sync-time-spec
    
                          container tcp-init-sync-phase-two-time-spec {
                            description
                              "Time when neighbor entered TCP Init Sync Phase
    Two";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container tcp-init-sync-phase-two-time-spec
    
                          container tcp-init-sync-done-time-spec {
                            description
                              "Time when neighbor entered TCP Init Sync Done";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container tcp-init-sync-done-time-spec
    
                          container graceful-maintenance {
                            description
                              "Globally activated BGp neighborfor graceful
    shutdown";
                            leaf gshut-exists {
                              type boolean;
                              description
                                "Graceful Maintenance enabled";
                            }
    
                            leaf gshut-local-active {
                              type boolean;
                              description
                                "Graceful Maintenance locally activated";
                            }
    
                            leaf gshut-active {
                              type boolean;
                              description
                                "Graceful Maintenance activated";
                            }
    
                            leaf gshut-locpref-set {
                              type boolean;
                              description
                                "Graceful Maintenance Local Preference set";
                            }
    
                            leaf gshut-locpref {
                              type uint32;
                              description
                                "Graceful Maintenance Local Preference";
                            }
    
                            leaf gshut-prepends {
                              type uint8;
                              description
                                "Graceful Maintenance number of AS prepends";
                            }
    
                            leaf gshut-interface-active {
                              type boolean;
                              description
                                "Graceful Maintenance activated at Interface";
                            }
    
                            leaf gshut-location-active {
                              type boolean;
                              description
                                "Graceful Maintenance activated at Location";
                            }
                          }  // container graceful-maintenance
    
                          leaf speaker-id {
                            type uint8;
                            description
                              "Speaker this neighbor is allocated to";
                          }
    
                          leaf description {
                            type string;
                            description
                              "BGP neighbor description";
                          }
    
                          leaf local-as {
                            type uint32;
                            description
                              "Local AS number";
                          }
    
                          leaf remote-as {
                            type uint32;
                            description
                              "Remote AS number";
                          }
    
                          leaf has-internal-link {
                            type boolean;
                            description
                              "Internal link to neighbor";
                          }
    
                          leaf is-external-neighbor-not-directly-connected {
                            type boolean;
                            description
                              "Flag to indicate neighbor is external and not
    directly connected";
                          }
    
                          leaf messages-received {
                            type uint32;
                            description
                              "Number of messages received";
                          }
    
                          leaf messages-sent {
                            type uint32;
                            description
                              "Number of messages sent";
                          }
    
                          leaf update-messages-in {
                            type uint32;
                            description
                              "No. of update msgs received";
                          }
    
                          leaf update-messages-out {
                            type uint32;
                            description
                              "No. of update messages sent";
                          }
    
                          leaf messages-queued-in {
                            type uint32;
                            description
                              "No. of msgs on receive queue";
                          }
    
                          leaf messages-queued-out {
                            type uint32;
                            description
                              "No. of messages on send queue";
                          }
    
                          leaf connection-established-time {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) that the connection has been
    established";
                          }
    
                          leaf connection-state {
                            type Bgp-conn-state;
                            description
                              "State of connection";
                          }
    
                          leaf previous-connection-state {
                            type uint32;
                            description
                              "Previous state of connection";
                          }
    
                          leaf connection-admin-status {
                            type uint32;
                            description
                              "Administrative status of connection";
                          }
    
                          leaf open-check-error-code {
                            type Bgp-open-check-err;
                            description
                              "Error code for open check failure forBGP
    neighbor";
                          }
    
                          leaf is-local-address-configured {
                            type boolean;
                            description
                              "Local address configured for the neighbor
    connection";
                          }
    
                          leaf connection-local-port {
                            type uint32;
                            description
                              "Local port for the connection";
                          }
    
                          leaf connection-remote-port {
                            type uint32;
                            description
                              "Remote port for the connection";
                          }
    
                          leaf neighbor-interface-handle {
                            type uint32;
                            description
                              "Interface Handle of Neighbor";
                          }
    
                          leaf reset-notification-sent {
                            type boolean;
                            description
                              "Notification was sent during last reset";
                          }
    
                          leaf is-administratively-shut-down {
                            type boolean;
                            description
                              "Flag to indicate if BGP neighbor is
    administratively shut down";
                          }
    
                          leaf is-neighbor-max-prefix-shutdown {
                            type boolean;
                            description
                              "Neighbor shut down because it exceeded max prfx
    count";
                          }
    
                          leaf is-out-of-memory-shutdown {
                            type boolean;
                            description
                              "Neighbor shut down during a SEVERE low memory
    condition";
                          }
    
                          leaf is-out-of-memory-forced-up {
                            type boolean;
                            description
                              "Neighbor forced up during a low memory condition";
                          }
    
                          leaf is-ebgp-peer-as-league {
                            type boolean;
                            description
                              "EBGP peer belongs to AS League";
                          }
    
                          leaf is-ebgp-peer-common-admin {
                            type boolean;
                            description
                              "EBGP peer with common administation";
                          }
    
                          leaf ttl-security-enabled {
                            type boolean;
                            description
                              "TTL Security enabled";
                          }
    
                          leaf suppress4-byte-as {
                            type boolean;
                            description
                              "Suppress 4byteas capability";
                          }
    
                          leaf bfd-session-state {
                            type Bgp-bfd-state;
                            description
                              "BFD state for this peer";
                          }
    
                          leaf bfd-session-created-state {
                            type Bgp-bfd-state;
                            description
                              "BFD state for this peer";
                          }
    
                          leaf bfd-session-enable-mode {
                            type Bgp-bfd-enable-mode;
                            description
                              "BFD enable mode for this peer";
                          }
    
                          leaf bfd-minintervalval {
                            type uint32;
                            description
                              "BFD Mininterval for this peer";
                          }
    
                          leaf bfd-multiplierval {
                            type uint32;
                            description
                              "BFD Multiplier for this peer";
                          }
    
                          leaf bfd-state-ts {
                            type uint64;
                            description
                              "Timestamp since when nbr is in this bfd state";
                          }
    
                          leaf router-id {
                            type inet:ipv4-address;
                            description
                              "Router ID for the neighbor";
                          }
    
                          leaf negotiated-protocol-version {
                            type uint16;
                            description
                              "Negotiated protocol version with the BGP
    neighbor";
                          }
    
                          leaf ebgp-time-to-live {
                            type uint32;
                            description
                              "Maximum number of hops for external BGP neighbor";
                          }
    
                          leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                            type boolean;
                            description
                              "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                          }
    
                          leaf tcpmss {
                            type uint32;
                            description
                              "Neighbor TCP Maximum Segment
    size";
                          }
    
                          leaf msg-log-in {
                            type uint32;
                            description
                              "Message in log count";
                          }
    
                          leaf msg-log-out {
                            type uint32;
                            description
                              "Message out log count";
                          }
    
                          leaf neighbor-local-as {
                            type uint32;
                            description
                              "Local AS configured on the neighbor";
                          }
    
                          leaf local-as-no-prepend {
                            type boolean;
                            description
                              "Option to not prepend the Local AS to
    announcements";
                          }
    
                          leaf is-capability-negotiation-suppressed {
                            type boolean;
                            description
                              "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                          }
    
                          leaf is-capability-negotiation-performed {
                            type boolean;
                            description
                              "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                          }
    
                          leaf is-route-refresh-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if the neighbor supports
    route-refresh was received";
                          }
    
                          leaf is-route-refresh-old-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                          }
    
                          leaf is-gr-aware {
                            type boolean;
                            description
                              "GR awareness received";
                          }
    
                          leaf is4-byte-as-capability-received {
                            type boolean;
                            description
                              "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                          }
    
                          leaf is4-byte-as-capability-sent {
                            type boolean;
                            description
                              "4-byte AScapability Snt";
                          }
    
                          leaf multi-protocol-capability-received {
                            type boolean;
                            description
                              "Flag to indicate if multi-protocol capability
    has been received";
                          }
    
                          leaf hold-time {
                            type uint16;
                            units "second";
                            description
                              "Hold time (in secs) negotiated for this
    connection";
                          }
    
                          leaf keep-alive-time {
                            type uint16;
                            units "second";
                            description
                              "Keepalive time (in secs) negotiated for this
    connection";
                          }
    
                          leaf configured-hold-time {
                            type uint16;
                            units "second";
                            description
                              "Hold time (in secs) configured for this
    connection";
                          }
    
                          leaf configured-keepalive {
                            type uint16;
                            units "second";
                            description
                              "Keepalive time (in secs) configured for this
    connection";
                          }
    
                          leaf configured-min-acc-hold-time {
                            type uint16;
                            units "second";
                            description
                              "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                          }
    
                          leaf min-advertise-interval {
                            type uint32;
                            units "second";
                            description
                              "Minimum advertisement interval, secs part";
                          }
    
                          leaf min-advertise-interval-msecs {
                            type uint32;
                            units "millisecond";
                            description
                              "Minimum advertisement interval, msecs part";
                          }
    
                          leaf min-origination-interval {
                            type uint16;
                            units "second";
                            description
                              "Minimum origination interval (in secs)";
                          }
    
                          leaf connect-retry-interval {
                            type uint16;
                            units "second";
                            description
                              "Time (in secs) for connect retry timer";
                          }
    
                          leaf time-since-last-update {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last update message was
    received";
                          }
    
                          leaf time-since-last-read {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read";
                          }
    
                          leaf time-since-last-read-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last read before last reset";
                          }
    
                          leaf time-last-cb {
                            type uint64;
                            description "CB";
                          }
    
                          leaf time-last-cb-reset {
                            type uint32;
                            description
                              "Last CB before reset";
                          }
    
                          leaf time-last-fb {
                            type uint64;
                            description "FB";
                          }
    
                          leaf count-last-write {
                            type uint32;
                            description "Count";
                          }
    
                          leaf time-since-last-write {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write";
                          }
    
                          leaf attempted-last-write-bytes {
                            type uint32;
                            description
                              "Attempted size of last write";
                          }
    
                          leaf actual-last-write-bytes {
                            type uint32;
                            description
                              "Actual size of last write";
                          }
    
                          leaf time-since-second-last-write {
                            type uint32;
                            units "second";
                            description
                              "Time (in seconds) elapsed since the second last
    write event";
                          }
    
                          leaf attempted-second-last-write-bytes {
                            type uint32;
                            description
                              "Attempted size of second last write";
                          }
    
                          leaf actual-second-last-write-bytes {
                            type uint32;
                            description
                              "Actual size of second last write";
                          }
    
                          leaf time-since-last-write-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write before last
    reset";
                          }
    
                          leaf attempted-last-write-reset-bytes {
                            type uint32;
                            description
                              "Attempted size of last write before reset";
                          }
    
                          leaf actual-last-write-reset-bytes {
                            type uint32;
                            description
                              "Actual size of last write before reset";
                          }
    
                          leaf time-since-second-last-write-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write before last
    reset";
                          }
    
                          leaf attempted-second-last-write-reset-bytes {
                            type uint32;
                            description
                              "Attempted size of second last write before reset";
                          }
    
                          leaf actual-second-last-write-reset-bytes {
                            type uint32;
                            description
                              "Actual size of second last write before reset";
                          }
    
                          leaf last-write-event {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last write thread event";
                          }
    
                          leaf second-last-write-event {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since second last write thread
    event";
                          }
    
                          leaf last-k-aexpiry-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since last KA timer expiry before
    reset";
                          }
    
                          leaf second-last-k-aexpiry-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since second last KA timer expiry
    before reset";
                          }
    
                          leaf last-k-anotsent-reset {
                            type uint32;
                            units "second";
                            description
                              "Duration (in secs) since last time that KA was
    not sent before reset";
                          }
    
                          leaf last-k-aerror-reset {
                            type uint32;
                            units "second";
                            description
                              "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                          }
    
                          leaf last-k-astart-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since the last KA timer start
    before reset";
                          }
    
                          leaf second-last-k-astart-reset {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) since the second last KA timer
    start before reset";
                          }
    
                          leaf connection-up-count {
                            type uint32;
                            description
                              "Number of times the connection was established";
                          }
    
                          leaf connection-down-count {
                            type uint32;
                            description
                              "Number of times connection was dropped";
                          }
    
                          leaf time-since-connection-last-dropped {
                            type uint32;
                            units "second";
                            description
                              "Time since the connection last went down
    (seconds)";
                          }
    
                          leaf reset-reason {
                            type Bgp-reset-reason-index;
                            description
                              "Reason for last connection reset";
                          }
    
                          leaf peer-reset-reason {
                            type Bgp-peer-reset-reason-index;
                            description
                              "Reason for last peer close event";
                          }
    
                          leaf peer-error-code {
                            type uint32;
                            description
                              "If peer closed, error received from transport";
                          }
    
                          leaf last-notify-error-code {
                            type uint8;
                            description
                              "Code for the last error notification seen on the
    connection";
                          }
    
                          leaf last-notify-error-subcode {
                            type uint8;
                            description
                              "Error subcode of the last error notification
    seen on the connection";
                          }
    
                          leaf error-notifies-received {
                            type uint32;
                            description
                              "Number of error notifications received on the
    connection";
                          }
    
                          leaf error-notifies-sent {
                            type uint32;
                            description
                              "Number of error notifications sent on the
    connection";
                          }
    
                          leaf remote-as-number {
                            type uint32;
                            description
                              "Remote AS number of BGP neighbor";
                          }
    
                          leaf dmz-link-bandwidth {
                            type uint32;
                            description
                              "Bandwidth of link to single-hop eBGP peer";
                          }
    
                          leaf ebgp-recv-dmz {
                            type boolean;
                            description
                              "Receive Bandwidth of link to single-hop eBGP
    peer";
                          }
    
                          leaf ebgp-send-dmz-mode {
                            type Bgp-ebgp-send-dmz-enable-mode;
                            description
                              "Ebgp send dmz link bw mode";
                          }
    
                          leaf tos-type {
                            type uint8;
                            description
                              "Precedence or DSCP type";
                          }
    
                          leaf tos-value {
                            type uint8;
                            description
                              "Precedence or DSCP value";
                          }
    
                          leaf tcp-session-open-mode {
                            type Bgp-tcp-mode;
                            description
                              "The TCP mode to be used to set up BGP session
    with the neighbor";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf standby-rp {
                            type boolean;
                            description
                              "Standby RP socket inited for Active Open";
                          }
    
                          leaf nsr-enabled {
                            type boolean;
                            description
                              "Neighbor supports NSR";
                          }
    
                          leaf graceful-restart-enabled-nbr {
                            type boolean;
                            description
                              "Neighbor supports graceful-restart";
                          }
    
                          leaf gr-restart-time {
                            type uint32;
                            units "second";
                            description
                              "Neighbor restart time (in seconds)";
                          }
    
                          leaf gr-stale-path-time {
                            type uint32;
                            units "second";
                            description
                              "Neighbor stale-path time (in seconds)";
                          }
    
                          leaf fssn-offset {
                            type uint32;
                            description
                              "First standby SeqNo offset";
                          }
    
                          leaf fpbsn-offset {
                            type uint32;
                            description
                              "First standby PDU boundary SeqNo offset";
                          }
    
                          leaf last-ackd-seq-no {
                            type uint32;
                            description
                              "SeqNo of the last Ackd byte";
                          }
    
                          leaf bytes-written {
                            type uint32;
                            units "byte";
                            description
                              "Total bytes written by write thread";
                          }
    
                          leaf bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "Total bytes read";
                          }
    
                          leaf socket-read-bytes {
                            type uint32;
                            units "byte";
                            description
                              "Total read bytes value insocket-lib";
                          }
    
                          leaf is-read-disabled {
                            type boolean;
                            description
                              "If true, socket read isdisabled";
                          }
    
                          leaf update-bytes-read {
                            type uint32;
                            units "byte";
                            description
                              "Total number of bytes readcorresponding to
    update messages";
                          }
    
                          leaf nsr-state {
                            type Bgp-sync-nbr-nsr-state;
                            description
                              "NSR state";
                          }
    
                          leaf is-passive-close {
                            type boolean;
                            description
                              "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                          }
    
                          leaf nbr-enforce-first-as {
                            type boolean;
                            description
                              "Neighbor enforce first AS";
                          }
    
                          leaf active-bmp-servers {
                            type uint8;
                            description
                              "BMP Servers to which the neighbor sends logs";
                          }
    
                          leaf nbr-cluster-id {
                            type uint32;
                            description
                              "Cluster id";
                          }
    
                          leaf nbr-in-cluster {
                            type uint8;
                            description
                              "Type of cluster_id:undefined/number/Ip address";
                          }
    
                          leaf ignore-connected {
                            type boolean;
                            description
                              "If true, the VPN client isan IBGP CE peer";
                          }
    
                          leaf internal-vpn-client {
                            type boolean;
                            description
                              "If true, don't do NHconnected check for nbr";
                          }
    
                          leaf io-armed {
                            type boolean;
                            description
                              "If true, socket has beenauto-armed for io
    control";
                          }
    
                          leaf read-armed {
                            type boolean;
                            description
                              "If true, socket has beenauto-armed for read";
                          }
    
                          leaf write-armed {
                            type boolean;
                            description
                              "If true, socket has beenauto-armed for write";
                          }
    
                          leaf discard-data-bytes {
                            type uint32;
                            units "byte";
                            description
                              "Remaining discard data (bytes) on Standby";
                          }
    
                          leaf local-as-replace-as {
                            type boolean;
                            description
                              "Local AS Replace-AS option";
                          }
    
                          leaf local-as-dual-as {
                            type boolean;
                            description
                              "Local AS Dual-AS option";
                          }
    
                          leaf local-as-dual-as-mode-native {
                            type boolean;
                            description
                              "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                          }
    
                          leaf egress-peer-engineering-enabled {
                            type boolean;
                            description
                              "Indicates if Egress Peer Engineering is enabled";
                          }
    
                          leaf discard-as4-path {
                            type uint32;
                            description
                              "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                          }
    
                          leaf rpki-disable {
                            type boolean;
                            description
                              "Prefix validation disabled";
                          }
    
                          leaf rpki-use-validity {
                            type boolean;
                            description
                              "Prefix v. use validity";
                          }
    
                          leaf rpki-allow-invalid {
                            type boolean;
                            description
                              "Prefix v. allow invalid";
                          }
    
                          leaf rpki-signal-ibgp {
                            type boolean;
                            description
                              "Prefix v. signal ibgp";
                          }
    
                          leaf dynamic-neighbor {
                            type boolean;
                            description
                              "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                          }
    
                          leaf merge-inbound-safi1and4-updates {
                            type boolean;
                            description
                              "Merge SAFI-1 and SAFI-4 updates from neighbor";
                          }
    
                          leaf is-capability-enhe-suppressed {
                            type boolean;
                            description
                              "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                          }
    
                          leaf delete-time-remaining {
                            type uint32;
                            units "second";
                            description
                              "Time (in secs) remaining for deletion";
                          }
    
                          leaf sn-bfd-discriminator {
                            type uint32;
                            description
                              "Local Discriminator for the associated BFD
    session";
                          }
    
                          list af-data {
                            max-elements 25;
                            description
                              "Address family specific neighbor data";
                            container neighbor-af-performance-statistics {
                              description
                                "Neighbor AF statistics";
                              leaf sub-group-pending-message-count {
                                type uint32;
                                description
                                  "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                              }
    
                              leaf processed-messages {
                                type uint32;
                                description
                                  "Number of messages processed from the neighbor's
    write queue";
                              }
    
                              leaf sent-messages {
                                type uint32;
                                description
                                  "Number of messages sent from the neighbor's
    write queue";
                              }
    
                              leaf split-horizon-update-transmit {
                                type uint32;
                                description
                                  "No. of update messages with split-horizon flag
    that were sent out";
                              }
    
                              leaf split-horizon-update-blocked {
                                type uint32;
                                description
                                  "No. of update messages with split-horizon flag
    that were blocked";
                              }
    
                              leaf split-horizon-withdraw-transmit {
                                type uint32;
                                description
                                  "No. of withdraw messages with split-horizon flag
    that were sent out";
                              }
    
                              leaf split-horizon-withdraw-blocked {
                                type uint32;
                                description
                                  "No. of withdraw messages with split-horizon flag
    that were blocked";
                              }
                            }  // container neighbor-af-performance-statistics
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Address family identifier";
                            }
    
                            leaf is-neighbor-route-reflector-client {
                              type boolean;
                              description
                                "Nbr is a route reflector client";
                            }
    
                            leaf is-legacy-pe-rt {
                              type boolean;
                              description
                                "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                            }
    
                            leaf is-neighbor-af-capable {
                              type boolean;
                              description
                                "Address family capability received from neighbor";
                            }
    
                            leaf is-soft-reconfiguration-inbound-allowed {
                              type boolean;
                              description
                                "Inbound soft reconfiguration allowed";
                            }
    
                            leaf is-use-soft-reconfiguration-always-on {
                              type boolean;
                              description
                                "Soft reconf overrides route refresh";
                            }
    
                            leaf remove-private-as-from-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates to this
    nbr";
                            }
    
                            leaf remove-private-as-entire-aspath-from-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                            }
    
                            leaf remove-private-as-from-inbound-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates from
    this nbr";
                            }
    
                            leaf remove-private-as-entire-aspath-from-inbound-updates {
                              type boolean;
                              description
                                "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                            }
    
                            leaf flowspec-validation-d-isable {
                              type boolean;
                              description
                                "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                            }
    
                            leaf flowspec-redirect-validation-d-isable {
                              type boolean;
                              description
                                "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                            }
    
                            leaf orr-group-name {
                              type string;
                              description
                                "ORR Group Name";
                            }
    
                            leaf orr-group-index {
                              type uint32;
                              description
                                "ORR Group Index";
                            }
    
                            leaf is-orr-root-address-configured {
                              type boolean;
                              description
                                "ORR Root address configuredfor the neighbor
    connection";
                            }
    
                            leaf advertise-afi {
                              type boolean;
                              description
                                "Encode in Advertise AFI";
                            }
    
                            leaf advertise-afi-reorg {
                              type boolean;
                              description
                                "Encode in Advertise AFI";
                            }
    
                            leaf advertise-afi-disable {
                              type boolean;
                              description
                                "Encode in Advertise AFI";
                            }
    
                            leaf encapsulation-type {
                              type uint32;
                              description
                                "BGP neighbor address-familyencapsulation type";
                            }
    
                            leaf advertise-rt-type {
                              type uint8;
                              description
                                "BGP neighbor address-familyadvertise route
    target type";
                            }
    
                            leaf advertise-afi-def-vrf-imp-disable {
                              type boolean;
                              description
                                "Advertise of default VRF import disable";
                            }
    
                            leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                              type boolean;
                              description
                                "Advertise of v4 default VRF import disable";
                            }
    
                            leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                              type boolean;
                              description
                                "Advertise of v6 default VRF import disable";
                            }
    
                            leaf advertise-afi-vrf-re-imp-disable {
                              type boolean;
                              description
                                "Advertise of VRF re-import disable";
                            }
    
                            leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                              type boolean;
                              description
                                "Advertise of v4 VRF re-import disable";
                            }
    
                            leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                              type boolean;
                              description
                                "Advertise of v6 VRF re-import disable";
                            }
    
                            leaf advertise-afi-eo-r-ready {
                              type boolean;
                              description
                                "EoR Can be sent for Advertise AFI";
                            }
    
                            leaf always-use-next-hop-local {
                              type boolean;
                              description
                                "Local router always used for next-hop";
                            }
    
                            leaf sent-community-to-neighbor {
                              type boolean;
                              description
                                "Community attribute sent to neighbor";
                            }
    
                            leaf sent-gshut-community-to-neighbor {
                              type boolean;
                              description
                                "GSHUT Community attribute sent to neighbor";
                            }
    
                            leaf sent-extended-community-to-neighbor {
                              type boolean;
                              description
                                "Extended community attribute sent to neighbor";
                            }
    
                            leaf default-originate-vpn-index {
                              type uint32;
                              description
                                "Default orig vpn indexto find bitfield for a nbr
    af";
                            }
    
                            leaf neighbor-default-originate {
                              type boolean;
                              description
                                "Neighbor originates default";
                            }
    
                            leaf is-orf-sent {
                              type boolean;
                              description
                                "Outbound route filter sent to neighbor";
                            }
    
                            leaf is-update-deferred {
                              type boolean;
                              description
                                "Update deferred until ORF/route refresh received";
                            }
    
                            leaf is-orf-send-scheduled {
                              type boolean;
                              description
                                "Scheduled to send prefix based ORF";
                            }
    
                            leaf update-group-number {
                              type uint32;
                              description
                                "Update group index";
                            }
    
                            leaf filter-group-index {
                              type uint32;
                              description
                                "BGP neighbor address-familyfilter group index";
                            }
    
                            leaf is-update-throttled {
                              type boolean;
                              description
                                "Updates Throttled becausewrite limit is reached";
                            }
    
                            leaf is-update-leaving {
                              type boolean;
                              description
                                "Nbr leaving update-groupto another";
                            }
    
                            leaf vpn-update-gen-enabled {
                              type boolean;
                              description
                                "RT Nbr enabled for updategento another";
                            }
    
                            leaf vpn-update-gen-trigger-enabled {
                              type boolean;
                              description
                                "RT Nbr enabled for updategento another";
                            }
    
                            leaf is-addpath-send-operational {
                              type boolean;
                              description
                                "Addpath is operational on send-side";
                            }
    
                            leaf is-addpath-receive-operational {
                              type boolean;
                              description
                                "Addpath is operational on receive-side";
                            }
    
                            leaf neighbor-version {
                              type uint32;
                              description
                                "BGP neighbor version for theaddress-family";
                            }
    
                            leaf weight {
                              type uint32;
                              description
                                "Weight for this AF";
                            }
    
                            leaf max-prefix-limit {
                              type uint32;
                              description
                                "Max limit for # of prefixes";
                            }
    
                            leaf use-max-prefix-warning-only {
                              type boolean;
                              description
                                "Warning only when maximum prefix limit reached";
                            }
    
                            leaf max-prefix-discard-extra-paths {
                              type boolean;
                              description
                                "Discard extra paths when prefix limit reached";
                            }
    
                            leaf max-prefix-exceed-discard-paths {
                              type boolean;
                              description
                                "Did we discard extra paths when prefix limit
    reached";
                            }
    
                            leaf max-prefix-threshold-percent {
                              type uint8;
                              units "percentage";
                              description
                                "Percentage of maximum no. of prefixes at which
    to generate warning";
                            }
    
                            leaf max-prefix-discard-paths-count {
                              type uint32;
                              description
                                "Number of discarded paths after prefix limit
    reached";
                            }
    
                            leaf max-prefix-restart-time {
                              type uint16;
                              units "minute";
                              description
                                "Time interval (in minutes) after which peering
    session will be reestablished";
                            }
    
                            leaf prefixes-accepted {
                              type uint32;
                              description
                                "Number of prefixes acceptedfrom this BGP
    neighbor";
                            }
    
                            leaf prefixes-synced {
                              type uint32;
                              description
                                "Number of prefixes synced to standby";
                            }
    
                            leaf prefixes-withdrawn-not-found {
                              type uint32;
                              description
                                "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                            }
    
                            leaf prefixes-denied {
                              type uint32;
                              description
                                "Number of prefixes denied forthis BGP neighbor";
                            }
    
                            leaf prefixes-denied-no-policy {
                              type uint32;
                              description
                                "No. of prefixes denied because there was no
    inbound policy";
                            }
    
                            leaf prefixes-denied-rt-permit {
                              type uint32;
                              description
                                "No. of prefixes denied because RT extended
    community is not imported";
                            }
    
                            leaf prefixes-denied-orf-policy {
                              type uint32;
                              description
                                "No. of prefixes denied by prefix based ORF
    policy";
                            }
    
                            leaf prefixes-denied-policy {
                              type uint32;
                              description
                                "No. of prefixes denied by inbound policy";
                            }
    
                            leaf number-of-bestpaths {
                              type uint32;
                              description
                                "No. of bestpaths from this neighbor";
                            }
    
                            leaf number-of-best-externalpaths {
                              type uint32;
                              description
                                "No. of best-external paths from this neighbor";
                            }
    
                            leaf prefixes-advertised {
                              type uint32;
                              description
                                "Number of prefixes advertisedfor this BGP
    neighbor";
                            }
    
                            leaf prefixes-be-advertised {
                              type uint32;
                              description
                                "Number of BE prefixes advertised";
                            }
    
                            leaf prefixes-suppressed {
                              type uint32;
                              description
                                "Number of prefixes suppressed";
                            }
    
                            leaf prefixes-withdrawn {
                              type uint32;
                              description
                                "Number of prefixes withdrawn";
                            }
    
                            leaf is-peer-orf-capable {
                              type boolean;
                              description
                                "Peer has outbound route filter capability";
                            }
    
                            leaf is-advertised-orf-send {
                              type boolean;
                              description
                                "Prefix based ORF send mode capability advertised";
                            }
    
                            leaf is-received-orf-send-capable {
                              type boolean;
                              description
                                "Prefix based ORF send mode capability received";
                            }
    
                            leaf is-advertised-orf-receive {
                              type boolean;
                              description
                                "Prefix based ORF receive mode capability
    advertised";
                            }
    
                            leaf is-received-orf-receive-capable {
                              type boolean;
                              description
                                "Prefix based ORF receive mode capability
    received";
                            }
    
                            leaf is-advertised-graceful-restart {
                              type boolean;
                              description
                                "Graceful Restart Capability advertised";
                            }
    
                            leaf is-graceful-restart-state-flag {
                              type boolean;
                              description
                                "Restart state flag enabled";
                            }
    
                            leaf is-received-graceful-restart-capable {
                              type boolean;
                              description
                                "Graceful Restart Capability received";
                            }
    
                            leaf is-add-path-send-capability-advertised {
                              type boolean;
                              description
                                "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                            }
    
                            leaf is-add-path-send-capability-received {
                              type boolean;
                              description
                                "Flag to indicate if addpath send capability
    received from BGP neighbor";
                            }
    
                            leaf is-add-path-receive-capability-advertised {
                              type boolean;
                              description
                                "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                            }
    
                            leaf is-add-path-receive-capability-received {
                              type boolean;
                              description
                                "Flag to indicate addpath receive capability
    received from BGPneighbor";
                            }
    
                            leaf is-ext-nh-encoding-capability-received {
                              type boolean;
                              description
                                "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                            }
    
                            leaf is-ext-nh-encoding-capability-sent {
                              type boolean;
                              description
                                "Extended nexhop encoding capability Sent";
                            }
    
                            leaf restart-time {
                              type uint32;
                              units "second";
                              description
                                "Restart time advertised (seconds)";
                            }
    
                            leaf local-restart-time {
                              type uint32;
                              units "second";
                              description
                                "Local Restart time (seconds)";
                            }
    
                            leaf stale-path-timeout {
                              type uint32;
                              units "second";
                              description
                                "Stale path timeout time (in seconds)";
                            }
    
                            leaf rib-purge-timeout-value {
                              type uint32;
                              units "second";
                              description
                                "RIB purge timeout time (in seconds)";
                            }
    
                            leaf neighbor-preserved-forwarding-state {
                              type boolean;
                              description
                                "Flag to indicate neighbor preserved in
    forwarding state";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-configured {
                              type boolean;
                              description
                                "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-sent {
                              type uint32;
                              units "second";
                              description
                                "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-accept {
                              type uint32;
                              units "second";
                              description
                                "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                            }
    
                            leaf long-lived-graceful-restart-capability-received {
                              type boolean;
                              description
                                "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                            }
    
                            leaf long-lived-graceful-restart-stale-time-received {
                              type uint32;
                              units "second";
                              description
                                "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                            }
    
                            leaf neighbor-preserved-long-lived-forwarding-state {
                              type boolean;
                              description
                                "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                            }
    
                            leaf neighbor-long-lived-graceful-restart-capable {
                              type boolean;
                              description
                                "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                            }
    
                            leaf neighbor-long-lived-graceful-restart-time-remaining {
                              type uint32;
                              description
                                "Remaining long-lived graceful-restart time";
                            }
    
                            leaf route-refreshes-received {
                              type uint32;
                              description
                                "Number of route refresh requests received";
                            }
    
                            leaf route-refreshes-sent {
                              type uint32;
                              description
                                "Number of route refresh requests sent";
                            }
    
                            leaf refresh-target-version {
                              type uint32;
                              description
                                "Target version for refresh update generation";
                            }
    
                            leaf refresh-version {
                              type uint32;
                              description
                                "Version till which refresh updates have been
    generated";
                            }
    
                            leaf refresh-acked-version {
                              type uint32;
                              description
                                "Version acked by the peer for refresh updates
    sent";
                            }
    
                            leaf is-prefix-orf-present {
                              type boolean;
                              description
                                "Outbound route filter prefix ORF present";
                            }
    
                            leaf orf-entries-received {
                              type uint32;
                              description
                                "Number of outbound route filter entries received";
                            }
    
                            leaf is-default-originate-sent {
                              type boolean;
                              description
                                "Default origination update sent";
                            }
    
                            leaf route-policy-prefix-orf {
                              type string;
                              description
                                "Prefix based ORF for incoming updates";
                            }
    
                            leaf route-policy-in {
                              type string;
                              description
                                "Incoming route policy name";
                            }
    
                            leaf route-policy-out {
                              type string;
                              description
                                "Outgoing route policy name";
                            }
    
                            leaf route-policy-default-originate {
                              type string;
                              description
                                "Default-originate route policy name";
                            }
    
                            leaf is-neighbor-ebgp-without-inbound-policy {
                              type boolean;
                              description
                                "eBGP neighbor with no configured inbound policy";
                            }
    
                            leaf is-neighbor-ebgp-without-outbound-policy {
                              type boolean;
                              description
                                "eBGP neighbor with no configured outbound policy";
                            }
    
                            leaf is-upd-orig-loopchk-disable-set {
                              type boolean;
                              description
                                "Flag to indicate if update out originator
    loopcheck is disabled";
                            }
    
                            leaf is-as-override-set {
                              type boolean;
                              description
                                "Flag to indicate as override set for BGP
    neighbor";
                            }
    
                            leaf is-allow-as-in-set {
                              type boolean;
                              description
                                "Allowas-in set ";
                            }
    
                            leaf allow-as-in-count {
                              type uint32;
                              description
                                "Allowas-in count config";
                            }
    
                            leaf address-family-long-lived-time {
                              type uint32;
                              description
                                "AF specific Long-lived-time config";
                            }
    
                            leaf eo-r-received-in-read-only {
                              type boolean;
                              description
                                "An EoR was received while in read-only mode";
                            }
    
                            leaf acked-version {
                              type uint32;
                              description
                                "Version mapped from acked seqNo";
                            }
    
                            leaf synced-acked-version {
                              type uint32;
                              description
                                "Version mapped from acked seqNo that was synced
    last";
                            }
    
                            leaf outstanding-version {
                              type uint32;
                              description
                                "No. of all outstanding version objects waiting
    for ack from the peer";
                            }
    
                            leaf outstanding-refresh-version {
                              type uint32;
                              description
                                "No. of only refresh version objects waiting for
    ack from the peer";
                            }
    
                            leaf outstanding-version-max {
                              type uint32;
                              description
                                "Version mapped from acked seqNo that was synced
    last";
                            }
    
                            leaf is-aigp-set {
                              type boolean;
                              description
                                "AIGP set ";
                            }
    
                            leaf is-rt-present {
                              type boolean;
                              description
                                "RT attribute list present";
                            }
    
                            leaf is-rt-present-standby {
                              type boolean;
                              description
                                "RT attribute list present";
                            }
    
                            leaf accept-own-enabled {
                              type boolean;
                              description
                                "Flag to indicate if Accept-Own is enabled";
                            }
    
                            leaf selective-multipath-eligible {
                              type boolean;
                              description
                                "Flag to indicate if selective multipath is
    eligible";
                            }
    
                            leaf afrpki-disable {
                              type boolean;
                              description
                                "Prefix validation disabled";
                            }
    
                            leaf afrpki-use-validity {
                              type boolean;
                              description
                                "Prefix v. use validity";
                            }
    
                            leaf afrpki-allow-invalid {
                              type boolean;
                              description
                                "Prefix v. allow invalid";
                            }
    
                            leaf afrpki-signal-ibgp {
                              type boolean;
                              description
                                "Prefix v. signal ibgp";
                            }
    
                            leaf is-advertise-permanent-network {
                              type boolean;
                              description
                                "Flag to indicate if advertise is permanent
    network";
                            }
    
                            leaf is-send-mcast-attr {
                              type boolean;
                              description
                                "Send Mcast Attr";
                            }
    
                            leaf import-stitching {
                              type boolean;
                              description
                                "Import Stitching enabled";
                            }
    
                            leaf import-reoriginate {
                              type boolean;
                              description
                                "Import Reoriginate enabled";
                            }
    
                            leaf import-reoriginate-stitching {
                              type boolean;
                              description
                                "Import Reoriginate Stitching enabled";
                            }
    
                            leaf advertise-v4-flags {
                              type uint32;
                              description
                                "Advertise options for VPNV4";
                            }
    
                            leaf advertise-v6-flags {
                              type uint32;
                              description
                                "Advertise options for VPNV6";
                            }
    
                            leaf advertise-local-labeled-route-unicast {
                              type boolean;
                              description
                                "Advertise routes with ";
                            }
    
                            leaf prefixes-denied-non-cumulative {
                              type uint32;
                              description
                                "No. of prefixes exactly denied (non cumulative)";
                            }
    
                            leaf enable-label-stack {
                              type boolean;
                              description
                                "Flag to indicate if label stack is enabled";
                            }
    
                            leaf ot-prov-track-enable {
                              type boolean;
                              description
                                "OT Provider Tracking enabled";
                            }
    
                            leaf ot-prov-track-state {
                              type Bgp-track-state;
                              description
                                "OT Provider Tracking state";
                            }
    
                            leaf ot-prov-track-in-gr-state {
                              type boolean;
                              description
                                "OT Provider Track in GR State";
                            }
    
                            leaf ot-prov-track-eor-tmr-running {
                              type boolean;
                              description
                                "OT Provider Track EOR timer running";
                            }
    
                            leaf slow-peer-flags {
                              type uint8;
                              description
                                "Slow Peer Flags ";
                            }
    
                            leaf slow-peer-static {
                              type boolean;
                              description
                                "Static Slow Peer ";
                            }
    
                            leaf slow-peer-dynamic {
                              type boolean;
                              description
                                "Dynamic Slow Peer";
                            }
    
                            leaf slow-peer-permanent {
                              type boolean;
                              description
                                "Permanent Slow Peer";
                            }
    
                            leaf slow-peer-count {
                              type uint16;
                              description
                                "Slow peer count";
                            }
    
                            list extended-community {
                              description
                                "Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Extended community attribute";
                              }
                            }  // list extended-community
    
                            list extended-community-standby {
                              description
                                "Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Extended community attribute";
                              }
                            }  // list extended-community-standby
                          }  // list af-data
                        }  // list neighbor
                      }  // container neighbor-af-table
    
                      container epe-objects {
                        description
                          "The BGP Egress Engineering table";
                        list epe-object {
                          description
                            "A BGP Egress Engineering object";
                          leaf epe-type {
                            type Bgp-epe-obj;
                            description
                              "Type of EPE object. Can be Peer, Peer-set or
    Adjacency";
                          }
    
                          leaf epe-object-key {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Value of the EPE object.Please provide a
    number forPeer-Set and an IP addressfor peer
    or adjacency";
                          }
    
                          container epe-local-address {
                            description
                              "Local address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container epe-local-address
    
                          container epe-next-hop {
                            description
                              "Nexthop address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container epe-next-hop
    
                          leaf epe-key-length {
                            type uint8;
                            description
                              "EPE key length in bits";
                          }
    
                          leaf epe-type-xr {
                            type uint8;
                            description
                              "Type of EPE object";
                          }
    
                          leaf epe-version {
                            type uint32;
                            description
                              "EPE object's version";
                          }
    
                          leaf epe-flags {
                            type uint16;
                            description
                              "EPE object's flags";
                          }
    
                          leaf epe-local-asn {
                            type uint32;
                            description
                              "Local AS Number";
                          }
    
                          leaf epe-remote-asn {
                            type uint32;
                            description
                              "Remote AS Number";
                          }
    
                          leaf epe-remote-router-id {
                            type uint32;
                            description
                              "BGP egress peer engineeringremote router id";
                          }
    
                          leaf epe-local-router-id {
                            type uint32;
                            description
                              "BGP egress peer engineeringlocal router id";
                          }
    
                          leaf label {
                            type uint32;
                            description
                              "Label assigned to the RPCnext-hop set";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference count indicates numberof places being
    updated";
                          }
    
                          leaf rpc-set-object-id {
                            type uint32;
                            description
                              "RPC set object ID";
                          }
    
                          list epe-key {
                            description
                              "Key of EPE object";
                            leaf entry {
                              type uint8;
                              description
                                "Key of EPE object";
                            }
                          }  // list epe-key
    
                          list nexthop-id {
                            description
                              "List of nexthop ID of EPE";
                            leaf entry {
                              type uint32;
                              description
                                "List of nexthop ID of EPE";
                            }
                          }  // list nexthop-id
    
                          list ifhandle {
                            description
                              "List of ifhandle of EPE";
                            leaf entry {
                              type uint32;
                              description
                                "List of ifhandle of EPE";
                            }
                          }  // list ifhandle
    
                          list first-hop {
                            description
                              "List of firsthops of EPE";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // list first-hop
    
                          list linked-epe {
                            description
                              "List of EPE objects linked to this current EPE
    object";
                            leaf epe-key-length {
                              type uint8;
                              description
                                "EPE key length in bits";
                            }
    
                            leaf epe-type {
                              type uint8;
                              description
                                "Type of EPE object";
                            }
    
                            list epe-key {
                              description
                                "Key of EPE object";
                              leaf entry {
                                type uint8;
                                description
                                  "Key of EPE object";
                              }
                            }  // list epe-key
                          }  // list linked-epe
                        }  // list epe-object
                      }  // container epe-objects
    
                      container update-generation-neighbors {
                        description
                          "A BGP Update generate Table Entry for all BGP
    neighbors";
                        list update-generation-neighbor {
                          description
                            "BGP Update generate entry for BGP neighbor";
                          leaf update-group-index {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "A BGP Update Group Entry index";
                          }
    
                          leaf sub-group-index {
                            type uint32;
                            description
                              "A BGP Update Sub group Table index";
                          }
    
                          leaf sub-group-id {
                            type uint32;
                            description
                              "A BGP Update Sub group table ID";
                          }
    
                          leaf filter-group-index {
                            type uint32;
                            description
                              "A BGP Filter group Table index";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container update-neighbor-address {
                            description
                              "Neighbor address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container update-neighbor-address
    
                          container last-sub-group-add-timestamp {
                            description
                              "Last added time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-sub-group-add-timestamp
    
                          container last-sub-group-remove-timestamp {
                            description
                              "Last removed time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-sub-group-remove-timestamp
    
                          container last-filter-group-add-timestamp {
                            description
                              "Last added time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-filter-group-add-timestamp
    
                          container last-filter-group-remove-timestamp {
                            description
                              "Last removed time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-filter-group-remove-timestamp
    
                          container first-default-originate-timestamp {
                            description
                              "Timestamp when the first default-origination was
    done";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-default-originate-timestamp
    
                          container last-default-originate-timestamp {
                            description
                              "Timestamp when the last default-origination was
    done";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-default-originate-timestamp
    
                          container last-update-group-start-timestamp {
                            description
                              "Last update-group timer start";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-group-start-timestamp
    
                          container last-update-group-expiry-timestamp {
                            description
                              "Last update-group timer expiry";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-group-expiry-timestamp
    
                          container first-update-queued-timestamp {
                            description
                              "Timestamp when the first update was queued";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-queued-timestamp
    
                          container last-update-queued-timestamp {
                            description
                              "Timestamp when last update was queued";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-queued-timestamp
    
                          container last-refresh-update-queued-timestamp {
                            description
                              "Timestamp when the last refresh update was
    queued";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-refresh-update-queued-timestamp
    
                          container first-update-write-timestamp {
                            description
                              "Timestamp when the first update was written";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-update-write-timestamp
    
                          container last-update-write-timestamp {
                            description
                              "Timestamp when the last update was  written";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-write-timestamp
    
                          container last-refresh-update-write-timestamp {
                            description
                              "Timestamp when the last refresh update written";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-refresh-update-write-timestamp
    
                          container update-statistics {
                            description
                              "BGP update generation statistics update";
                            container last-update-discard-timestamp {
                              description
                                "Last Discarded time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-discard-timestamp
    
                            container last-update-cleared-timestamp {
                              description
                                "Last Cleared time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-cleared-timestamp
    
                            container last-update-throttle-timestamp {
                              description
                                "Last Throttled time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-throttle-timestamp
    
                            container last-update-recovery-timestamp {
                              description
                                "Last Recovery time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-recovery-timestamp
    
                            container last-update-memory-allocation-fail-timestamp {
                              description
                                "Memory allocation failure time";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-update-memory-allocation-fail-timestamp
    
                            leaf update-out-queue-messages-high {
                              type uint32;
                              description
                                "OutQueue High Messages";
                            }
    
                            leaf update-out-queue-messages-cumulative {
                              type uint32;
                              description
                                "OutQueue Cumulative Messages";
                            }
    
                            leaf update-out-queue-messages-discarded {
                              type uint32;
                              description
                                "OutQueue Discarded Messages";
                            }
    
                            leaf update-out-queue-messages-cleared {
                              type uint32;
                              description
                                "OutQueue Cleared Messages";
                            }
    
                            leaf update-out-queue-size-high {
                              type uint32;
                              description
                                "OutQueue Hi Size";
                            }
    
                            leaf update-out-queue-size-cumulative {
                              type uint64;
                              description
                                "OutQueue Cumulative Size";
                            }
    
                            leaf update-out-queue-size-discarded {
                              type uint64;
                              description
                                "OutQueue Discarded Size";
                            }
    
                            leaf update-out-queue-size-cleared {
                              type uint64;
                              description
                                "OutQueue Cleared Size";
                            }
    
                            leaf last-update-discard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Discard event (in seconds)";
                            }
    
                            leaf last-update-cleard-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Clear event (in seconds)";
                            }
    
                            leaf update-throttle-count {
                              type uint32;
                              description
                                "Throttle Count";
                            }
    
                            leaf last-update-throttle-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Throttle event (in seconds)";
                            }
    
                            leaf update-recovery-count {
                              type uint32;
                              description
                                "Recovery Count";
                            }
    
                            leaf last-update-recovery-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last Recovery event (in seconds)";
                            }
    
                            leaf update-memory-allocation-fail-count {
                              type uint32;
                              description
                                "Number of times there was failure when
    allocatingmemory for BGP update generation";
                            }
    
                            leaf last-update-memory-allocation-fail-age {
                              type uint32;
                              units "second";
                              description
                                "Time since last memory allocation failure event
    (in seconds)";
                            }
                          }  // container update-statistics
    
                          leaf process-id {
                            type uint32;
                            description
                              "ProcessID";
                          }
    
                          leaf update-vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf update-group-af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf update-filter-group-index {
                            type uint32;
                            description
                              "Filter-group index";
                          }
    
                          leaf refresh-filter-group-index {
                            type uint32;
                            description
                              "BGP update generation refresh Filter-group index";
                          }
    
                          leaf sub-group-index-xr {
                            type uint32;
                            description
                              "BGP update generation index for sub-group";
                          }
    
                          leaf refresh-sub-group-index {
                            type uint32;
                            description
                              "BGP update generation refresh Sub-group index";
                          }
    
                          leaf refresh-sub-group-id {
                            type uint32;
                            description
                              "ID of the refresh subgroup for BGP update
    generation";
                          }
    
                          leaf update-group-index-xr {
                            type uint32;
                            description
                              "Index of this BGP Update-group";
                          }
    
                          leaf update-main-table-version {
                            type uint32;
                            description
                              "Main table version";
                          }
    
                          leaf update-vrf-table-rib-version {
                            type uint32;
                            description
                              "VRF Table RIB version";
                          }
    
                          leaf update-out-queue-messages {
                            type uint32;
                            description
                              "OutQueue messages";
                          }
    
                          leaf update-out-queue-size {
                            type uint32;
                            description
                              "OutQueue size";
                          }
    
                          leaf refresh-update-out-queue-messages {
                            type uint32;
                            description
                              "Refresh OutQueue messages";
                          }
    
                          leaf refresh-update-out-queue-size {
                            type uint32;
                            description
                              "Refresh OutQueue size";
                          }
    
                          leaf update-filter-group-messages {
                            type uint32;
                            description
                              "The number of messages on the BGP filter-group";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Version up to which we have generated updates
    for BGP";
                          }
    
                          leaf pending-target-version {
                            type uint32;
                            description
                              "Version of pending target for BGP update
    generation";
                          }
    
                          leaf next-resume-version {
                            type uint32;
                            description
                              "Version number identifying the next to process
    when tablewalk has been interrupted";
                          }
    
                          leaf ack-version {
                            type uint32;
                            description
                              "Identifying the prefixs that have been
    advertisedto the peer and acknowledged by it";
                          }
    
                          leaf synced-ack-version {
                            type uint32;
                            description
                              "Peer acked version that was previously
    synchronized";
                          }
    
                          leaf outstanding-version-count {
                            type uint32;
                            description
                              "The number of all outstanding version objects
    for thisneighbor address-family";
                          }
    
                          leaf update-refresh-version {
                            type uint32;
                            description
                              "Refresh version";
                          }
    
                          leaf refresh-requested-target-version {
                            type uint32;
                            description
                              "Requested refresh target version";
                          }
    
                          leaf update-refresh-target-version {
                            type uint32;
                            description
                              "Target version for update generation in response
    to arefresh request";
                          }
    
                          leaf refresh-pending-target-version {
                            type uint32;
                            description
                              "Pending refresh target version";
                          }
    
                          leaf refresh-next-resume-version {
                            type uint32;
                            description
                              "Version number identifying the next to process
    whena table walk has been interrupted";
                          }
    
                          leaf refresh-ack-version {
                            type uint32;
                            description
                              "Versio of the Refresh Ack for BGP update
    generation";
                          }
    
                          leaf last-default-originate-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last default-origination event (in
    seconds)";
                          }
    
                          leaf default-originate-state {
                            type int32;
                            description
                              "BGP update generation default originate state
    information";
                          }
    
                          leaf default-originate-internal-context {
                            type int32;
                            description
                              "BGP update generation default originate context
    stateinformation";
                          }
    
                          leaf is-eor-outstanding {
                            type boolean;
                            description
                              "Number of EORs outstanding";
                          }
    
                          leaf outbound-refresh-count {
                            type uint32;
                            description
                              "Refresh Outbound count";
                          }
    
                          leaf inbound-refresh-count {
                            type uint32;
                            description
                              "Refresh Inbound count";
                          }
    
                          leaf is-update-group-timer-running {
                            type boolean;
                            description
                              "Flag to indicate if update-group timer is
    running";
                          }
    
                          leaf current-update-group-af-name {
                            type Bgp-afi;
                            description
                              "Current Update-group address-family identifier";
                          }
    
                          leaf last-update-group-af-name {
                            type Bgp-afi;
                            description
                              "Last Update-group address-family identifier";
                          }
    
                          leaf last-update-queued-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last update queued event (in seconds)";
                          }
    
                          leaf last-refresh-update-queued-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last refresh update queued event (in
    seconds)";
                          }
    
                          leaf last-update-write-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last update write event (in seconds)";
                          }
    
                          leaf last-refresh-update-write-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last refresh update write event (in
    seconds)";
                          }
                        }  // list update-generation-neighbor
                      }  // container update-generation-neighbors
    
                      container update-generation-address-family {
                        description
                          "A BGP Update Generate Entry for address-family";
                        container update-statistics {
                          description
                            "BGP address-family statistics update";
                          container last-update-discard-timestamp {
                            description
                              "Last Discarded time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-discard-timestamp
    
                          container last-update-cleared-timestamp {
                            description
                              "Last Cleared time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-cleared-timestamp
    
                          container last-update-throttle-timestamp {
                            description
                              "Last Throttled time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-throttle-timestamp
    
                          container last-update-recovery-timestamp {
                            description
                              "Last Recovery time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-recovery-timestamp
    
                          container last-update-memory-allocation-fail-timestamp {
                            description
                              "Memory allocation failure time";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-update-memory-allocation-fail-timestamp
    
                          leaf update-out-queue-messages-high {
                            type uint32;
                            description
                              "OutQueue High Messages";
                          }
    
                          leaf update-out-queue-messages-cumulative {
                            type uint32;
                            description
                              "OutQueue Cumulative Messages";
                          }
    
                          leaf update-out-queue-messages-discarded {
                            type uint32;
                            description
                              "OutQueue Discarded Messages";
                          }
    
                          leaf update-out-queue-messages-cleared {
                            type uint32;
                            description
                              "OutQueue Cleared Messages";
                          }
    
                          leaf update-out-queue-size-high {
                            type uint32;
                            description
                              "OutQueue Hi Size";
                          }
    
                          leaf update-out-queue-size-cumulative {
                            type uint64;
                            description
                              "OutQueue Cumulative Size";
                          }
    
                          leaf update-out-queue-size-discarded {
                            type uint64;
                            description
                              "OutQueue Discarded Size";
                          }
    
                          leaf update-out-queue-size-cleared {
                            type uint64;
                            description
                              "OutQueue Cleared Size";
                          }
    
                          leaf last-update-discard-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Discard event (in seconds)";
                          }
    
                          leaf last-update-cleard-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Clear event (in seconds)";
                          }
    
                          leaf update-throttle-count {
                            type uint32;
                            description
                              "Throttle Count";
                          }
    
                          leaf last-update-throttle-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Throttle event (in seconds)";
                          }
    
                          leaf update-recovery-count {
                            type uint32;
                            description
                              "Recovery Count";
                          }
    
                          leaf last-update-recovery-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last Recovery event (in seconds)";
                          }
    
                          leaf update-memory-allocation-fail-count {
                            type uint32;
                            description
                              "Number of times there was failure when
    allocatingmemory for BGP update generation";
                          }
    
                          leaf last-update-memory-allocation-fail-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last memory allocation failure event
    (in seconds)";
                          }
                        }  // container update-statistics
    
                        leaf update-group-af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf update-main-table-version {
                          type uint32;
                          description
                            "Main table version";
                        }
    
                        leaf update-rib-version {
                          type uint32;
                          description
                            "RIB version";
                        }
    
                        leaf update-min-neighbor-version {
                          type uint32;
                          description
                            "Minimum Neighbor version";
                        }
    
                        leaf current-update-limit-af {
                          type uint32;
                          description
                            "BGP Current AF sub-group update limit";
                        }
    
                        leaf configured-update-limit-af {
                          type uint32;
                          units "byte";
                          description
                            "Update limit per address-family in bytes";
                        }
    
                        leaf current-update-limit-subgrp-ebgp {
                          type uint32;
                          description
                            "Current EBGP sub-group update limit";
                        }
    
                        leaf configured-update-limit-subgrp-ebgp {
                          type uint32;
                          description
                            "Configured EBGP sub-group update limit";
                        }
    
                        leaf current-update-limit-sub-group-ibgp {
                          type uint32;
                          description
                            "Current IBGP sub-group update limit";
                        }
    
                        leaf configured-update-limit-sub-group-ibgp {
                          type uint32;
                          description
                            "Configured IBGP sub-group update limit";
                        }
    
                        leaf update-out-queue-messages {
                          type uint32;
                          description
                            "OutQueue messsages";
                        }
    
                        leaf update-out-queue-size {
                          type uint32;
                          description
                            "OutQueue size";
                        }
    
                        leaf update-throttled {
                          type boolean;
                          description
                            "Flag to indicate if update generation is
    currently throttled";
                        }
    
                        leaf update-update-group-count {
                          type uint32;
                          description
                            "Update-group count";
                        }
    
                        leaf update-sub-group-count {
                          type uint32;
                          description
                            "Sub-group count";
                        }
    
                        leaf sub-group-throttled-count {
                          type uint32;
                          description
                            "Throttled sub-group count";
                        }
    
                        leaf refresh-sub-group-count {
                          type uint32;
                          description
                            "Number of refresh sub groups";
                        }
    
                        leaf refresh-sub-group-throttled-count {
                          type uint32;
                          description
                            "Throttled refresh sub-group count";
                        }
    
                        leaf filter-group-count {
                          type uint32;
                          description
                            "Number of refresh filter groups";
                        }
    
                        leaf neighbor-count {
                          type uint32;
                          description
                            "Number of neighbors in BGP";
                        }
    
                        leaf update-table-vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf update-vrfaf-name {
                          type uint32;
                          description
                            "Address family identifier";
                        }
    
                        leaf update-vrf-rd-version {
                          type uint32;
                          description
                            "RD Version";
                        }
    
                        leaf update-vrf-table-rib-version {
                          type uint32;
                          description
                            "VRF Table RIB version";
                        }
    
                        leaf table-update-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    update groups";
                        }
    
                        leaf update-table-sub-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    sub groups";
                        }
    
                        leaf table-sub-group-throttled-count {
                          type uint32;
                          description
                            "VRF Table throttled sub-group count";
                        }
    
                        leaf table-refresh-sub-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    refresh sub groups";
                        }
    
                        leaf table-refresh-sub-group-throttled-count {
                          type uint32;
                          description
                            "VRF Table throttled refresh sub-group count";
                        }
    
                        leaf update-table-filter-group-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    filter groups";
                        }
    
                        leaf table-neighbor-count {
                          type uint32;
                          description
                            "Number of virtual routing and forwarding table
    neighbors";
                        }
                      }  // container update-generation-address-family
    
                      container dampenings {
                        description
                          "The BGP Dampening table";
                        list dampening {
                          description
                            "A BGP Dampening table entry";
                          leaf reuse {
                            type uint32 {
                              range "0..65535";
                            }
                            description
                              "Reuse array index";
                          }
    
                          leaf version {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Version number";
                          }
    
                          leaf rd {
                            type Bgp-route-distinguisher;
                            description
                              "Route Distinguisher value";
                          }
    
                          leaf network {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Network prefix in dotted decimal format for
    ip prefix, else in hex string format";
                          }
    
                          leaf length {
                            type uint32 {
                              range "0..128";
                            }
                            description
                              "Length of the subnet prefix";
                          }
    
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          leaf source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Source Route Distinguisher value";
                          }
    
                          leaf orig-source-rd {
                            type Bgp-route-distinguisher;
                            description
                              "Original Source Route Distinguisher value";
                          }
    
                          leaf path-id {
                            type uint32 {
                              range
                                "0..4294967295";
                            }
                            description
                              "Received Path ID";
                          }
    
                          container advertised-neighbor {
                            description
                              "Advertised Neighbor Address. Valid in the case
    of Advertised table";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container advertised-neighbor
    
                          container path-information {
                            description
                              "BGP path information ";
                            container bgp-prefix {
                              description
                                "BGP prefix";
                              container prefix {
                                description
                                  "The Prefix from whichto get the address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container prefix
    
                              leaf prefix-length {
                                type uint16;
                                description
                                  "BGP prefix length of the route";
                              }
                            }  // container bgp-prefix
    
                            container neighbor-address {
                              description
                                "Neighbor address specified in BGP path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container neighbor-address
    
                            container next-hop {
                              description
                                "BGP Next hop information";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container next-hop
    
                            container nh-tunnel {
                              description
                                "Next hop tunnel information";
                              leaf tunnel-type {
                                type Bgp-tunnel;
                                description
                                  "Nexthop Tunnel Type";
                              }
    
                              leaf tunnel-name {
                                type string;
                                description
                                  "Tunnel name attribute";
                              }
    
                              leaf is-tunnel-up {
                                type boolean;
                                description
                                  "Tunnel Up flag";
                              }
    
                              leaf is-tunnel-info-stale {
                                type boolean;
                                description
                                  "Tunnel is stale";
                              }
    
                              leaf is-tunnel-registered {
                                type boolean;
                                description
                                  "Tunnel registered flag";
                              }
    
                              leaf is-bgp-te-registered {
                                type boolean;
                                description
                                  "BGPTE registered flag";
                              }
    
                              leaf tunnel-v6-required {
                                type boolean;
                                description
                                  "Tunnel need IPv6";
                              }
    
                              leaf tunnel-v6-enabled {
                                type boolean;
                                description
                                  "IPv6 enabled";
                              }
    
                              leaf tunnel-notif-first-rcvd {
                                type boolean;
                                description
                                  "Tunnel first notif received";
                              }
    
                              leaf tunnel-state-skip-reg {
                                type boolean;
                                description
                                  "Skip tunnel registration for Stale entry";
                              }
    
                              leaf binding-label {
                                type uint32;
                                description
                                  "Binding label for the tunnel";
                              }
    
                              leaf tunnel-if-handle {
                                type uint32;
                                description
                                  "Interface handle for the tunnel";
                              }
    
                              leaf last-tunnel-update {
                                type uint32;
                                description
                                  "Time since the last tunnel update happened";
                              }
    
                              leaf tunnel-color {
                                type uint32;
                                description
                                  "Color corresponding to this SR tunnel";
                              }
    
                              leaf has-tunnel-metric {
                                type boolean;
                                description
                                  "This SR-TE tunnel has an admin distance/metric";
                              }
    
                              leaf tunnel-metric-ad {
                                type uint32;
                                description
                                  "Metric admin distance corresponding to this SR
    tunnel";
                              }
    
                              leaf tunnel-metric-value {
                                type uint32;
                                description
                                  "Metric value corresponding to this SR tunnel";
                              }
    
                              leaf is-tunnel-color-only {
                                type boolean;
                                description
                                  "Is a Color Only (Null Endpoint) tunnel";
                              }
    
                              leaf tunnel-endpoint-afi {
                                type Bgp-afi;
                                description
                                  "AFI of the Null Endpoint (IPv4/IPv6)";
                              }
    
                              leaf flags {
                                type uint32;
                                description
                                  "SR Tunnel specific flags ";
                              }
    
                              leaf haveu-srv6-bsid {
                                type boolean;
                                description
                                  "SRv6 BSID for tunnel present";
                              }
    
                              leaf srv6u-bsid-address {
                                type Ipv6-address;
                                description
                                  "SRv6 uBSID address value";
                              }
                            }  // container nh-tunnel
    
                            container mdt-group-addr {
                              description
                                "IPv4 MDT Group Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mdt-group-addr
    
                            container gw-addr {
                              description
                                "Path GW Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container gw-addr
    
                            container nh-addr {
                              description
                                "Path next-hop Address";
                              leaf len {
                                type Bgp-v4-v6-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'gwipv4'" {
                                  description
                                    "../len = 'gwipv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'gwipv6'" {
                                  description
                                    "../len = 'gwipv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container nh-addr
    
                            container best-path-comp-winner {
                              description
                                "Neighbor address of the path which won best path
    comparison";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container best-path-comp-winner
    
                            container mvpn-nbr-addr {
                              description
                                "Mvpn nbr Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nbr-addr
    
                            container mvpn-nexthop-addr {
                              description
                                "Mvpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container mvpn-nexthop-addr
    
                            container vpn-nexthop-addr {
                              description
                                "Vpn nexthop Address for the path";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container vpn-nexthop-addr
    
                            container evpn-imet-pmsi-nexthop-addr {
                              description
                                "EVPN IMET PMSI Originator Nexthop Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container evpn-imet-pmsi-nexthop-addr
    
                            leaf route-type {
                              type Bgp-route1;
                              description
                                "Route Type of path";
                            }
    
                            leaf is-path-valid {
                              type boolean;
                              description
                                "Flag to indicate if BGP path attributes are
    usable";
                            }
    
                            leaf is-path-damped {
                              type boolean;
                              description
                                "Flag to indicate if Path suppressed due to
    dampening";
                            }
    
                            leaf is-path-history-held {
                              type boolean;
                              description
                                "Path entry held to remember history";
                            }
    
                            leaf is-internal-path {
                              type boolean;
                              description
                                "Received over an internal link";
                            }
    
                            leaf is-best-path {
                              type boolean;
                              description
                                "Best available path";
                            }
    
                            leaf is-as-best {
                              type boolean;
                              description
                                "Best available path within AS";
                            }
    
                            leaf is-spkr-as-best {
                              type boolean;
                              description
                                "Best available path within AS in speaker";
                            }
    
                            leaf is-partial-best {
                              type boolean;
                              description
                                "Partial best path within distributed speaker";
                            }
    
                            leaf is-aggregation-suppressed {
                              type boolean;
                              description
                                "Path suppressed due to aggregation";
                            }
    
                            leaf is-import-dampened {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    dampened";
                            }
    
                            leaf is-import-suspect {
                              type boolean;
                              description
                                "Flag to indicate if BGP path net import is
    suspect";
                            }
    
                            leaf is-path-not-advertised {
                              type boolean;
                              description
                                "Flag to indicate if path is not advertised to
    any peer";
                            }
    
                            leaf is-path-not-advertised-to-ebgp {
                              type boolean;
                              description
                                "Not advertised to EBGPs";
                            }
    
                            leaf is-path-advertised-local-as-only {
                              type boolean;
                              description
                                "Not advertised outside local AS";
                            }
    
                            leaf is-path-from-route-reflector {
                              type boolean;
                              description
                                "Path received from route reflector";
                            }
    
                            leaf is-path-received-only {
                              type boolean;
                              description
                                "Flag to indicate if BGP Path is received only";
                            }
    
                            leaf is-received-path-not-modified {
                              type boolean;
                              description
                                "Flag to indicate if received path is used
    without modification";
                            }
    
                            leaf is-path-locally-sourced {
                              type boolean;
                              description
                                "Path sourced locally";
                            }
    
                            leaf is-path-local-aggregate {
                              type boolean;
                              description
                                "Path is a locally created aggregate";
                            }
    
                            leaf is-path-from-network-command {
                              type boolean;
                              description
                                "Path sourced by network command";
                            }
    
                            leaf is-path-from-redistribute-command {
                              type boolean;
                              description
                                "Path sourced by redistribute command";
                            }
    
                            leaf is-path-imported {
                              type boolean;
                              description
                                "Path is imported";
                            }
    
                            leaf is-path-reoriginated {
                              type boolean;
                              description
                                "Path is reoriginated";
                            }
    
                            leaf is-path-reoriginated-stitching {
                              type boolean;
                              description
                                "Path is reoriginated with stitching RTs";
                            }
    
                            leaf is-path-vpn-only {
                              type boolean;
                              description
                                "Path is not in the vrf";
                            }
    
                            leaf is-path-from-confederation-peer {
                              type boolean;
                              description
                                "Path received from confederation peer";
                            }
    
                            leaf is-path-synced-with-igp {
                              type boolean;
                              description
                                "Path synchronized with IGP";
                            }
    
                            leaf is-path-multipath {
                              type boolean;
                              description
                                "Path is one of multipath best routes";
                            }
    
                            leaf is-path-imp-candidate {
                              type boolean;
                              description
                                "Path is a candidate for multipath import";
                            }
    
                            leaf is-path-stale {
                              type boolean;
                              description
                                "Stale routes learnt before neighbor restarts";
                            }
    
                            leaf is-path-long-lived-stale {
                              type boolean;
                              description
                                "Long lived stale routes learnt before neighbor
    restarts";
                            }
    
                            leaf is-path-backup {
                              type boolean;
                              description
                                "Path is a backup path ";
                            }
    
                            leaf is-path-backup-protect-multipath {
                              type boolean;
                              description
                                "Path is a backup path to protect multipaths";
                            }
    
                            leaf is-path-best-external {
                              type boolean;
                              description
                                "Path is a best external path";
                            }
    
                            leaf is-path-additional-path {
                              type boolean;
                              description
                                "Flag to indicate BGP Path is an additional-path";
                            }
    
                            leaf is-path-nexthop-discarded {
                              type boolean;
                              description
                                "Path is redirected to Null0";
                            }
    
                            leaf has-local-net-label {
                              type boolean;
                              description
                                "Path has local label";
                            }
    
                            leaf local-label {
                              type uint32;
                              description
                                " BGP Path local label";
                            }
    
                            leaf igp-metric {
                              type uint32;
                              description
                                "IGP metric to the gateway";
                            }
    
                            leaf path-weight {
                              type uint16;
                              description
                                "Weight for the path";
                            }
    
                            leaf neighbor-router-id {
                              type inet:ipv4-address;
                              description
                                "Router ID of the neighbor for the path";
                            }
    
                            leaf has-mdt-group-addr {
                              type boolean;
                              description
                                "Path has MDT Group Address";
                            }
    
                            leaf l2vpn-size {
                              type uint32;
                              description
                                "Path block size";
                            }
    
                            leaf l2vpn-evpn-esi {
                              type string;
                              description
                                "L2VPN EVPN ESI";
                            }
    
                            leaf evpn-path-flags {
                              type uint32;
                              description
                                "L2VPN EVPN Path flags";
                            }
    
                            leaf has-gw-addr {
                              type boolean;
                              description
                                "Path has GW Address";
                            }
    
                            leaf has-nh-addr {
                              type boolean;
                              description
                                "Path has next-hop Address";
                            }
    
                            leaf nexthop-interface-handle {
                              type uint32;
                              description
                                "Interface Handle of Nexthop";
                            }
    
                            leaf has-second-label {
                              type boolean;
                              description
                                "Path has second received label";
                            }
    
                            leaf second-label {
                              type uint32;
                              description
                                "Path second received label";
                            }
    
                            leaf path-flap-count {
                              type uint32;
                              description
                                "Number of times this route has flapped";
                            }
    
                            leaf seconds-since-first-flap {
                              type uint32;
                              units "second";
                              description
                                "BGP damp info in seconds, since first route
    flapped";
                            }
    
                            leaf time-to-unsuppress {
                              type uint32;
                              units "second";
                              description
                                "Seconds until route is unsuppressed";
                            }
    
                            leaf dampen-penalty {
                              type uint32;
                              description
                                "BGP Dampening penalty";
                            }
    
                            leaf halflife-time {
                              type uint32;
                              description
                                "Half-life time for the penalty";
                            }
    
                            leaf suppress-penalty {
                              type uint32;
                              description
                                "Value to start suppressing a route";
                            }
    
                            leaf reuse-value {
                              type uint32;
                              description
                                "Value to start reusing a route";
                            }
    
                            leaf maximum-suppress-time {
                              type uint32;
                              description
                                "Maximum duration to suppress a stable route";
                            }
    
                            leaf best-path-comp-stage {
                              type Bgp-bp-stage;
                              description
                                "Stage where the path lost to the best path or
    group best";
                            }
    
                            leaf best-path-id-comp-winner {
                              type uint32;
                              description
                                "Path ID of the path which won best path
    comparison";
                            }
    
                            leaf path-flags {
                              type uint64;
                              description
                                "Flags associated with path";
                            }
    
                            leaf path-import-flags {
                              type uint32;
                              description
                                "Flags to indicate for import processing in BGP";
                            }
    
                            leaf best-path-id {
                              type uint32;
                              description
                                "Best path ID; DEPRECATED BY LocalPathId";
                            }
    
                            leaf local-path-id {
                              type uint32;
                              description
                                "Local path ID";
                            }
    
                            leaf rcvd-path-id {
                              type uint32;
                              description
                                "Received path ID";
                            }
    
                            leaf path-table-version {
                              type uint32;
                              description
                                "Table version # for pelem";
                            }
    
                            leaf advertisedto-pe {
                              type boolean;
                              description
                                "Net could be advertised
    to PE peers";
                            }
    
                            leaf rib-failed {
                              type boolean;
                              description
                                "Is net failed installed
    in RIB";
                            }
    
                            leaf sn-rpki-origin-as-validity {
                              type uint8;
                              description
                                "RPKI origin validation state";
                            }
    
                            leaf show-rpki-origin-as-validity {
                              type boolean;
                              description
                                "Display validity state ?";
                            }
    
                            leaf ibgp-signaled-validity {
                              type boolean;
                              description
                                "IBGP signalled validation";
                            }
    
                            leaf rpki-origin-as-validation-disabled {
                              type boolean;
                              description
                                "RPKI originAS V. Disabled";
                            }
    
                            leaf accept-own-path {
                              type boolean;
                              description
                                "Accept Own";
                            }
    
                            leaf accept-own-self-originated-path {
                              type boolean;
                              description
                                "Flag to indicate if BGP path is Accept-Own
    community and self-originated";
                            }
    
                            leaf aigp-metric {
                              type uint64;
                              description
                                "Total AIGP metric";
                            }
    
                            leaf mvpn-sfs-path {
                              type boolean;
                              description
                                "Flag to indicate if MVPN single forwarder PE
    path";
                            }
    
                            leaf fspec-invalid-path {
                              type boolean;
                              description
                                "Flag to indicate if path is invalidated by
    flow-spec rules";
                            }
    
                            leaf has-mvpn-nbr-addr {
                              type boolean;
                              description
                                "Path has Mvpn nbr Address";
                            }
    
                            leaf has-mvpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has MVPN nexthop Address";
                            }
    
                            leaf has-mvpn-pmsi {
                              type boolean;
                              description
                                "Path has MVPN PMSI feedback";
                            }
    
                            leaf mvpn-pmsi-type {
                              type uint16;
                              description
                                "Mvpn PMSI Type";
                            }
    
                            leaf mvpn-pmsi-flags {
                              type uint8;
                              description
                                "Mvpn PMSI Value";
                            }
    
                            leaf mvpn-pmsi-label {
                              type uint32;
                              description
                                "Mvpn PMSI label";
                            }
    
                            leaf has-mvpn-extcomm {
                              type boolean;
                              description
                                "Path has MVPN EXTCOMM feedback";
                            }
    
                            leaf mvpn-path-flags {
                              type uint16;
                              description
                                "Multicast Virtual Private Networks specific path
    info";
                            }
    
                            leaf local-nh {
                              type boolean;
                              description
                                "Path has local nexthop";
                            }
    
                            leaf rt-set-limit-enabled {
                              type boolean;
                              description
                                "Path subject to RT-set net limit";
                            }
    
                            leaf path-rt-set-id {
                              type uint32;
                              description
                                "RT-set id of the path";
                            }
    
                            leaf path-rt-set-route-count {
                              type uint32;
                              description
                                "Count in RT-set";
                            }
    
                            leaf is-path-af-install-eligible {
                              type boolean;
                              description
                                "Path can be installed in AF RIB";
                            }
    
                            leaf is-permanent-path {
                              type boolean;
                              description
                                "Path is of type Permanent path";
                            }
    
                            leaf graceful-shutdown {
                              type boolean;
                              description
                                "Marked for graceful shutdown";
                            }
    
                            leaf labeled-unicast-safi-path {
                              type boolean;
                              description
                                "Path was learnt by labeled-unicast SAFI";
                            }
    
                            leaf has-vpn-nexthop-addr {
                              type boolean;
                              description
                                "Path has VPN nexthop Address";
                            }
    
                            leaf is-orig-src-rd-present {
                              type boolean;
                              description
                                "Original Source RD  present";
                            }
    
                            leaf af-name {
                              type Bgp-afi;
                              description
                                "Original Source Address family identifier";
                            }
    
                            leaf route-distinguisher {
                              type xr:Route-dist;
                              description
                                "Original Source Route Distinguisher";
                            }
    
                            leaf mac-ip-present {
                              type boolean;
                              description
                                "Mac IP Present  present";
                            }
    
                            leaf mac-ip {
                              type yang:mac-address;
                              description
                                "Mac associated with IP";
                            }
    
                            leaf ether-tag-id {
                              type uint32;
                              description
                                "Ethernet Tag Id";
                            }
    
                            leaf igmp-flags-present {
                              type boolean;
                              description
                                "EVPN IGMP Flags Present";
                            }
    
                            leaf igmp-flags {
                              type uint8;
                              description
                                "EVPN IGMP Flags";
                            }
    
                            leaf evpn-imet-pmsi-originator-present {
                              type boolean;
                              description
                                "EVPN IMET PMSI Originator Nexthop is present";
                            }
    
                            leaf evpn-imet-pmsi-nexthop-reachable {
                              type boolean;
                              description
                                "Reachability for PMSI Originator nexthop";
                            }
    
                            list rcvd-label {
                              description
                                "Path received label stack";
                              leaf entry {
                                type uint32;
                                description
                                  "Path received label stack";
                              }
                            }  // list rcvd-label
    
                            list l2vpn-circuit-status-value {
                              description
                                "L2VPN Circuit Status Value";
                              leaf entry {
                                type uint8;
                                description
                                  "L2VPN Circuit Status Value";
                              }
                            }  // list l2vpn-circuit-status-value
    
                            list mvpn-pmsi-value {
                              description
                                "Mvpn PMSI Value";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn PMSI Value";
                              }
                            }  // list mvpn-pmsi-value
    
                            list extended-community {
                              description
                                "Mvpn Extended community attribute";
                              leaf entry {
                                type uint8;
                                description
                                  "Mvpn Extended community attribute";
                              }
                            }  // list extended-community
    
                            list local-peers-advertised-to {
                              description
                                "Local peers that this prefix has been advertised
    to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list local-peers-advertised-to
    
                            list pe-peers-advertised-to {
                              description
                                "PE peers that this prefix has been advertised to";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list pe-peers-advertised-to
    
                            list best-path-orrbitfield {
                              description
                                "ORR Best path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list best-path-orrbitfield
    
                            list add-path-orrbitfield {
                              description
                                "ORR Add path Bitfields";
                              container neighbor-address {
                                description
                                  "BGP advertised neighbor Address";
                                container l2vpn-vpls-address {
                                  when
                                    "../afi = 'l2vpn-vpls'" {
                                    description
                                      "../AFI = 'L2VPN_VPLS'";
                                  }
                                  description
                                    "L2VPN VPLS Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the protocol BGP";
                                  }
                                }  // container l2vpn-vpls-address
    
                                container l2vpn-evpn-address {
                                  when
                                    "../afi = 'l2vpn-evpn'" {
                                    description
                                      "../AFI = 'L2VPN_EVPN'";
                                  }
                                  description
                                    "L2VPN EVPN Addr";
                                  leaf l2vpn-evpn-address {
                                    type yang:hex-string;
                                    description
                                      "l2vpn evpn address";
                                  }
                                }  // container l2vpn-evpn-address
    
                                container l2vpn-mspw-address {
                                  when
                                    "../afi = 'l2vpn-mspw'" {
                                    description
                                      "../AFI = 'L2VPN_MSPW'";
                                  }
                                  description
                                    "L2VPN MSPW Addr";
                                  leaf l2vpn-address {
                                    type yang:hex-string;
                                    description
                                      "L2vpn address of the BGP mspw";
                                  }
                                }  // container l2vpn-mspw-address
    
                                container ipv4-sr-policy-address {
                                  when
                                    "../afi = 'ipv4-sr-policy'" {
                                    description
                                      "../AFI = 'IPv4SRPolicy'";
                                  }
                                  description
                                    "IPV4 Policy Addr";
                                  leaf ipv4-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv4 address of thesrpolicy";
                                  }
                                }  // container ipv4-sr-policy-address
    
                                container ipv6-sr-policy-address {
                                  when
                                    "../afi = 'ipv6-sr-policy'" {
                                    description
                                      "../AFI = 'IPv6SRPolicy'";
                                  }
                                  description
                                    "IPV6 Policy Addr";
                                  leaf ipv6-srpolicy-address {
                                    type yang:hex-string;
                                    description
                                      "IPv6 address of thesrpolicy";
                                  }
                                }  // container ipv6-sr-policy-address
    
                                leaf afi {
                                  type Bgp-afi;
                                  description
                                    "AFI";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../afi = 'ipv4'" {
                                    description
                                      "../AFI = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Addr";
                                }
    
                                leaf ipv4-mcast-address {
                                  when
                                    "../afi = 'ipv4-multicast'" {
                                    description
                                      "../AFI = 'IPv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Mcast Addr";
                                }
    
                                leaf ipv4-label-address {
                                  when
                                    "../afi = 'ipv4-labeled'" {
                                    description
                                      "../AFI = 'IPv4Labeled'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Label Addr";
                                }
    
                                leaf ipv4-tunnel-address {
                                  when
                                    "../afi = 'ipv4-tunnel'" {
                                    description
                                      "../AFI = 'IPv4Tunnel'";
                                  }
                                  type Ipv4-tunnel-address;
                                  description
                                    "IPv4 Tunnel";
                                }
    
                                leaf ipv4-mdt-address {
                                  when
                                    "../afi = 'ipv4-mdt'" {
                                    description
                                      "../AFI = 'IPv4MDT'";
                                  }
                                  type Ipv4-mdt-address;
                                  description
                                    "IPv4 MDT Addr";
                                }
    
                                leaf ipv4vpn-address {
                                  when
                                    "../afi = 'vpnv4'" {
                                    description
                                      "../AFI = 'VPNv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Addr";
                                }
    
                                leaf ipv4vpna-mcastddress {
                                  when
                                    "../afi = 'vpnv4-multicast'" {
                                    description
                                      "../AFI = 'VPNv4Multicast'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 VPN Mcast Addr";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../afi = 'ipv6'" {
                                    description
                                      "../AFI = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Addr";
                                }
    
                                leaf ipv6-mcast-address {
                                  when
                                    "../afi = 'ipv6-multicast'" {
                                    description
                                      "../AFI = 'IPv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPV6 Mcast Addr";
                                }
    
                                leaf ipv6-label-address {
                                  when
                                    "../afi = 'ipv6-labeled'" {
                                    description
                                      "../AFI = 'IPv6Labeled'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 Label Addr";
                                }
    
                                leaf ipv6vpn-address {
                                  when
                                    "../afi = 'vpnv6'" {
                                    description
                                      "../AFI = 'VPNv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Addr";
                                }
    
                                leaf ipv6vpn-mcast-address {
                                  when
                                    "../afi = 'vpnv6-multicast'" {
                                    description
                                      "../AFI = 'VPNv6Multicast'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 VPN Mcast Addr";
                                }
    
                                leaf rt-constraint-address {
                                  when
                                    "../afi = 'rt-constraint'" {
                                    description
                                      "../AFI = 'RTConstraint'";
                                  }
                                  type Rt-constraint-address;
                                  description
                                    "RT Constrt Addr";
                                }
    
                                leaf ipv6mvpn-address {
                                  when
                                    "../afi = 'ipv6-mvpn'" {
                                    description
                                      "../AFI = 'IPv6MVPN'";
                                  }
                                  type Ipv6mvpn-address;
                                  description
                                    "MVPN addr";
                                }
    
                                leaf ipv4mvpn-address {
                                  when
                                    "../afi = 'ipv4-mvpn'" {
                                    description
                                      "../AFI = 'IPv4MVPN'";
                                  }
                                  type Ipv4mvpn-address;
                                  description
                                    "MVPN4 addr";
                                }
    
                                leaf ls-ls-address {
                                  when
                                    "../afi = 'ls-ls'" {
                                    description
                                      "../AFI = 'LS_LS'";
                                  }
                                  type Ls-ls-address;
                                  description
                                    "LINKSTATE LINKSTATE Addr";
                                }
    
                                leaf ipv4-flowspec-address {
                                  when
                                    "../afi = 'ipv4-flowspec'" {
                                    description
                                      "../AFI = 'IPv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 Flowspec Addr";
                                }
    
                                leaf ipv6-flowspec-address {
                                  when
                                    "../afi = 'ipv6-flowspec'" {
                                    description
                                      "../AFI = 'IPv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 Flowspec Addr";
                                }
    
                                leaf ipv4vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv4-flowspec'" {
                                    description
                                      "../AFI = 'VPNv4Flowspec'";
                                  }
                                  type Ipv4-flowspec-address;
                                  description
                                    "IPV4 VPN Flowspec Addr";
                                }
    
                                leaf ipv6vpn-flowspec-address {
                                  when
                                    "../afi = 'vpnv6-flowspec'" {
                                    description
                                      "../AFI = 'VPNv6Flowspec'";
                                  }
                                  type Ipv6-flowspec-address;
                                  description
                                    "IPV6 VPN Flowspec Addr";
                                }
                              }  // container neighbor-address
    
                              leaf is-neighbor {
                                type boolean;
                                description
                                  "Entry is a neighbor (not an update group)";
                              }
    
                              leaf update-group-afi {
                                type uint8;
                                description
                                  "AFI of the Update group it is advertised to";
                              }
    
                              leaf update-group-number {
                                type uint32;
                                description
                                  "Update group index";
                              }
                            }  // list add-path-orrbitfield
                          }  // container path-information
    
                          container attributes-after-policy-in {
                            description
                              "Attributes after inbound policy applied. In the
    case of path type received-only this will be
    attributes before inbound policy";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attributes-after-policy-in
    
                          leaf no-path {
                            type boolean;
                            description
                              "No path exists. All 'sp_path' fields except
    'sp_path->bag_prefix' are invalid";
                          }
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP Process instance ID";
                          }
    
                          leaf label-oor {
                            type boolean;
                            description
                              "LSD label space is exhausted";
                          }
    
                          leaf label-oor-version {
                            type uint32;
                            description
                              "Label Version when OOR happens";
                          }
    
                          leaf label-fail {
                            type boolean;
                            description
                              "LSD label allocation failed ";
                          }
    
                          leaf route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Route Distinguisher";
                          }
    
                          leaf source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Source Route Distinguisher";
                          }
    
                          leaf original-source-route-distinguisher {
                            type xr:Route-dist;
                            description
                              "BGP path Original Source Route Distinguisher";
                          }
    
                          leaf prefix-version {
                            type uint32;
                            description
                              "Version of BGP Prefix Table";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
    
                          leaf source-vrf-name {
                            type string;
                            description
                              "Name of the source VRF";
                          }
    
                          leaf srcaf-name {
                            type Bgp-afi;
                            description
                              "Address family identifier";
                          }
                        }  // list dampening
                      }  // container dampenings
    
                      container dependency {
                        description
                          "A BGP Dependency table entry";
                        list dep-entry-info {
                          description
                            "List of Dependency Tables ";
                          leaf tblid {
                            type uint32;
                            description
                              "Tbl Id ";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
                        }  // list dep-entry-info
                      }  // container dependency
    
                      container prefix-filters {
                        description
                          "The BGP Prefix Filter table";
                        list prefix-filter {
                          key "neighbor-address";
                          description
                            "A BGP prefix filter table entry";
                          leaf neighbor-address {
                            type inet:ip-address-no-zone;
                            description
                              "IPv4 or IPv6 Address of the BGP Neighbor";
                          }
    
                          container neighbor-address-xr {
                            description
                              "Neighbor Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address-xr
    
                          container prefix-list-info {
                            description
                              "Prefix list";
                            list bgp-pfxlst {
                              description
                                "Next entry in prefix list";
                              container bgp-prefix {
                                description
                                  "BGP prefix";
                                container prefix {
                                  description
                                    "The Prefix from whichto get the address";
                                  container l2vpn-vpls-address {
                                    when
                                      "../afi = 'l2vpn-vpls'" {
                                      description
                                        "../AFI = 'L2VPN_VPLS'";
                                    }
                                    description
                                      "L2VPN VPLS Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the protocol BGP";
                                    }
                                  }  // container l2vpn-vpls-address
    
                                  container l2vpn-evpn-address {
                                    when
                                      "../afi = 'l2vpn-evpn'" {
                                      description
                                        "../AFI = 'L2VPN_EVPN'";
                                    }
                                    description
                                      "L2VPN EVPN Addr";
                                    leaf l2vpn-evpn-address {
                                      type yang:hex-string;
                                      description
                                        "l2vpn evpn address";
                                    }
                                  }  // container l2vpn-evpn-address
    
                                  container l2vpn-mspw-address {
                                    when
                                      "../afi = 'l2vpn-mspw'" {
                                      description
                                        "../AFI = 'L2VPN_MSPW'";
                                    }
                                    description
                                      "L2VPN MSPW Addr";
                                    leaf l2vpn-address {
                                      type yang:hex-string;
                                      description
                                        "L2vpn address of the BGP mspw";
                                    }
                                  }  // container l2vpn-mspw-address
    
                                  container ipv4-sr-policy-address {
                                    when
                                      "../afi = 'ipv4-sr-policy'" {
                                      description
                                        "../AFI = 'IPv4SRPolicy'";
                                    }
                                    description
                                      "IPV4 Policy Addr";
                                    leaf ipv4-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv4 address of thesrpolicy";
                                    }
                                  }  // container ipv4-sr-policy-address
    
                                  container ipv6-sr-policy-address {
                                    when
                                      "../afi = 'ipv6-sr-policy'" {
                                      description
                                        "../AFI = 'IPv6SRPolicy'";
                                    }
                                    description
                                      "IPV6 Policy Addr";
                                    leaf ipv6-srpolicy-address {
                                      type yang:hex-string;
                                      description
                                        "IPv6 address of thesrpolicy";
                                    }
                                  }  // container ipv6-sr-policy-address
    
                                  leaf afi {
                                    type Bgp-afi;
                                    description
                                      "AFI";
                                  }
    
                                  leaf ipv4-address {
                                    when
                                      "../afi = 'ipv4'" {
                                      description
                                        "../AFI = 'IPv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Addr";
                                  }
    
                                  leaf ipv4-mcast-address {
                                    when
                                      "../afi = 'ipv4-multicast'" {
                                      description
                                        "../AFI = 'IPv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Mcast Addr";
                                  }
    
                                  leaf ipv4-label-address {
                                    when
                                      "../afi = 'ipv4-labeled'" {
                                      description
                                        "../AFI = 'IPv4Labeled'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 Label Addr";
                                  }
    
                                  leaf ipv4-tunnel-address {
                                    when
                                      "../afi = 'ipv4-tunnel'" {
                                      description
                                        "../AFI = 'IPv4Tunnel'";
                                    }
                                    type Ipv4-tunnel-address;
                                    description
                                      "IPv4 Tunnel";
                                  }
    
                                  leaf ipv4-mdt-address {
                                    when
                                      "../afi = 'ipv4-mdt'" {
                                      description
                                        "../AFI = 'IPv4MDT'";
                                    }
                                    type Ipv4-mdt-address;
                                    description
                                      "IPv4 MDT Addr";
                                  }
    
                                  leaf ipv4vpn-address {
                                    when
                                      "../afi = 'vpnv4'" {
                                      description
                                        "../AFI = 'VPNv4'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Addr";
                                  }
    
                                  leaf ipv4vpna-mcastddress {
                                    when
                                      "../afi = 'vpnv4-multicast'" {
                                      description
                                        "../AFI = 'VPNv4Multicast'";
                                    }
                                    type inet:ipv4-address;
                                    description
                                      "IPv4 VPN Mcast Addr";
                                  }
    
                                  leaf ipv6-address {
                                    when
                                      "../afi = 'ipv6'" {
                                      description
                                        "../AFI = 'IPv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Addr";
                                  }
    
                                  leaf ipv6-mcast-address {
                                    when
                                      "../afi = 'ipv6-multicast'" {
                                      description
                                        "../AFI = 'IPv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPV6 Mcast Addr";
                                  }
    
                                  leaf ipv6-label-address {
                                    when
                                      "../afi = 'ipv6-labeled'" {
                                      description
                                        "../AFI = 'IPv6Labeled'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 Label Addr";
                                  }
    
                                  leaf ipv6vpn-address {
                                    when
                                      "../afi = 'vpnv6'" {
                                      description
                                        "../AFI = 'VPNv6'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Addr";
                                  }
    
                                  leaf ipv6vpn-mcast-address {
                                    when
                                      "../afi = 'vpnv6-multicast'" {
                                      description
                                        "../AFI = 'VPNv6Multicast'";
                                    }
                                    type Ipv6-address;
                                    description
                                      "IPv6 VPN Mcast Addr";
                                  }
    
                                  leaf rt-constraint-address {
                                    when
                                      "../afi = 'rt-constraint'" {
                                      description
                                        "../AFI = 'RTConstraint'";
                                    }
                                    type Rt-constraint-address;
                                    description
                                      "RT Constrt Addr";
                                  }
    
                                  leaf ipv6mvpn-address {
                                    when
                                      "../afi = 'ipv6-mvpn'" {
                                      description
                                        "../AFI = 'IPv6MVPN'";
                                    }
                                    type Ipv6mvpn-address;
                                    description
                                      "MVPN addr";
                                  }
    
                                  leaf ipv4mvpn-address {
                                    when
                                      "../afi = 'ipv4-mvpn'" {
                                      description
                                        "../AFI = 'IPv4MVPN'";
                                    }
                                    type Ipv4mvpn-address;
                                    description
                                      "MVPN4 addr";
                                  }
    
                                  leaf ls-ls-address {
                                    when
                                      "../afi = 'ls-ls'" {
                                      description
                                        "../AFI = 'LS_LS'";
                                    }
                                    type Ls-ls-address;
                                    description
                                      "LINKSTATE LINKSTATE Addr";
                                  }
    
                                  leaf ipv4-flowspec-address {
                                    when
                                      "../afi = 'ipv4-flowspec'" {
                                      description
                                        "../AFI = 'IPv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 Flowspec Addr";
                                  }
    
                                  leaf ipv6-flowspec-address {
                                    when
                                      "../afi = 'ipv6-flowspec'" {
                                      description
                                        "../AFI = 'IPv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 Flowspec Addr";
                                  }
    
                                  leaf ipv4vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv4-flowspec'" {
                                      description
                                        "../AFI = 'VPNv4Flowspec'";
                                    }
                                    type Ipv4-flowspec-address;
                                    description
                                      "IPV4 VPN Flowspec Addr";
                                  }
    
                                  leaf ipv6vpn-flowspec-address {
                                    when
                                      "../afi = 'vpnv6-flowspec'" {
                                      description
                                        "../AFI = 'VPNv6Flowspec'";
                                    }
                                    type Ipv6-flowspec-address;
                                    description
                                      "IPV6 VPN Flowspec Addr";
                                  }
                                }  // container prefix
    
                                leaf prefix-length {
                                  type uint16;
                                  description
                                    "BGP prefix length of the route";
                                }
                              }  // container bgp-prefix
    
                              leaf sequence-number {
                                type uint32;
                                description
                                  "Sequence number of the entry in the prefix-list";
                              }
    
                              leaf is-prefix-grant {
                                type boolean;
                                description
                                  "TRUE = permit, FALSE = deny";
                              }
    
                              leaf min-prefix-length {
                                type uint8;
                                units "bit";
                                description
                                  "Minimum prefix length in bits";
                              }
    
                              leaf max-prefix-length {
                                type uint8;
                                units "bit";
                                description
                                  "Maximum prefix length in bits";
                              }
                            }  // list bgp-pfxlst
                          }  // container prefix-list-info
    
                          leaf af-name {
                            type Bgp-afi;
                            description
                              "Address family identfier";
                          }
                        }  // list prefix-filter
                      }  // container prefix-filters
    
                      leaf af-name {
                        type dt1:Bgp-address-family;
                        description
                          "Address family";
                      }
    
                      container attributes {
                        description
                          "The BGP Attribute table";
                        list attribute {
                          description
                            "A BGP Attribute table entry";
                          leaf attribute-iid {
                            type uint32 {
                              range "0..255";
                            }
                            description
                              "Identifier of BGP Attribute table entry";
                          }
    
                          leaf attribute-cache-bucket {
                            type uint32 {
                              range "0..65535";
                            }
                            description
                              "Cache bucket value of BGP Attribute table
    entry";
                          }
    
                          leaf attribute-cache-id {
                            type uint32;
                            description
                              "Identifier of the BGP Attribute Cache";
                          }
    
                          container attribute-info {
                            description
                              "Attributes";
                            container common-attributes {
                              description
                                "BGP entry to derive the attribute information";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container common-attributes
    
                            container attr-set {
                              description
                                "ATTR_SET attribute";
                              container prefix-sid-label-index {
                                description
                                  "Prefix-SID LabelIndex TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf label-index {
                                  type uint32;
                                  description
                                    "LabelIndex field";
                                }
                              }  // container prefix-sid-label-index
    
                              container prefix-sid-orig-srgb {
                                description
                                  "Prefix-SID OrigSRGB TLV info";
                                leaf flags {
                                  type uint16;
                                  description
                                    "Flags field";
                                }
    
                                leaf range-count {
                                  type uint32;
                                  description
                                    "Number of SRGB ranges";
                                }
    
                                list range {
                                  description
                                    "List of SRGB ranges";
                                  leaf range-start {
                                    type uint32;
                                    description
                                      "Start of the range for BGP Segment Routing (SR)
    global block";
                                  }
    
                                  leaf range-end {
                                    type uint32;
                                    description
                                      "End of the range for BGP Segment Routing
    (SR)global block";
                                  }
                                }  // list range
                              }  // container prefix-sid-orig-srgb
    
                              container prefix-sid-srv6-layer2-svc {
                                description
                                  "Prefix-SID SRv6L2SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of SIDs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer2-svc
    
                              container prefix-sid-srv6-layer3-svc {
                                description
                                  "Prefix-SID SRv6L3SVC TLV info";
                                leaf reserved {
                                  type uint8;
                                  description
                                    "Reserved field";
                                }
    
                                leaf sub-tlv-count {
                                  type uint16;
                                  description
                                    "Number of subtlvs";
                                }
    
                                list sub-tlv {
                                  description
                                    "Sub TLVs";
                                  container sub-tlv-val {
                                    description
                                      "Sub TLV Val";
                                    container sid-info {
                                      description
                                        "SIDinfo field";
                                      leaf reserved2 {
                                        type uint8;
                                        description
                                          "SUB TLV reserved";
                                      }
    
                                      leaf sid {
                                        type inet:ipv6-address;
                                        description
                                          "SID new Value";
                                      }
    
                                      leaf sid-flags {
                                        type uint8;
                                        description
                                          "SID Flags";
                                      }
    
                                      leaf sid-behavior {
                                        type uint16;
                                        description
                                          "SID ENDPT behavior";
                                      }
    
                                      leaf reserved3 {
                                        type uint8;
                                        description
                                          "SUB SUB TLV reserved";
                                      }
    
                                      leaf sub-sub-tlv-count {
                                        type uint16;
                                        description
                                          "SUB SUB TLV Count";
                                      }
    
                                      list sub-sub-tlv {
                                        description
                                          "List of sub sub tlvs";
                                        container sub-sub-tlv-val {
                                          description
                                            "Subsub TLV Val";
                                          container sid-struct {
                                            description
                                              "SIDStruct field";
                                            leaf loc-blk-len {
                                              type uint8;
                                              description
                                                "locator blk len";
                                            }
    
                                            leaf loc-node-len {
                                              type uint8;
                                              description
                                                "locator node len";
                                            }
    
                                            leaf func-len {
                                              type uint8;
                                              description
                                                "Function len";
                                            }
    
                                            leaf arg-len {
                                              type uint8;
                                              description
                                                "Argument len";
                                            }
    
                                            leaf transpose-len {
                                              type uint8;
                                              description
                                                "Transpose len";
                                            }
    
                                            leaf transpose-offset {
                                              type uint8;
                                              description
                                                "Transpose offset";
                                            }
                                          }  // container sid-struct
    
                                          list unknown-buf {
                                            description
                                              "Unknown buff";
                                            leaf entry {
                                              type uint8;
                                              description
                                                "Unknown buff";
                                            }
                                          }  // list unknown-buf
                                        }  // container sub-sub-tlv-val
    
                                        leaf type {
                                          type uint8;
                                          description
                                            "SUBSUBtlv Type";
                                        }
    
                                        leaf length {
                                          type uint16;
                                          description
                                            "SUBSUBTLv length";
                                        }
                                      }  // list sub-sub-tlv
                                    }  // container sid-info
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "Type field";
                                  }
    
                                  leaf len {
                                    type uint16;
                                    description
                                      "length of SUB_TLVs";
                                  }
                                }  // list sub-tlv
                              }  // container prefix-sid-srv6-layer3-svc
    
                              container prefix-sid-unk-tlvs {
                                description
                                  "Prefix-SID UnkTLVs TLV info";
                                leaf tlv-count {
                                  type uint16;
                                  description
                                    "Number of unknown TLVs stored";
                                }
    
                                leaf received-buffer-length {
                                  type uint32;
                                  description
                                    "Received length of unknown TLVs";
                                }
    
                                list tl-vs-buffer {
                                  description
                                    "Limited buffer of unknown TLVs";
                                  leaf entry {
                                    type uint8;
                                    description
                                      "Limited buffer of unknown TLVs";
                                  }
                                }  // list tl-vs-buffer
                              }  // container prefix-sid-unk-tlvs
    
                              container tunnel-encap {
                                description
                                  "Tunnel Encapsulation attribute";
                                container sr-policy {
                                  description
                                    "Tunnel encap type SR policy";
                                  container binding-sid {
                                    description
                                      "SR Policy incoming Binding sid";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container binding-sid
    
                                  container allocated-binding-sid {
                                    description
                                      "SR Policy allocated Binding sid by the router";
                                    leaf type {
                                      type Bgp-binding-sid;
                                      description
                                        "Type";
                                    }
    
                                    leaf label {
                                      when
                                        "../type = 'label'" {
                                        description
                                          "../Type = 'label'";
                                      }
                                      type uint32;
                                      description
                                        "MPLS Label";
                                    }
    
                                    leaf ipv6-address {
                                      when
                                        "../type = 'v6'" {
                                        description
                                          "../Type = 'v6'";
                                      }
                                      type Ipv6-address;
                                      description
                                        "IPv6 Addr";
                                    }
                                  }  // container allocated-binding-sid
    
                                  leaf tunnel-encap-type {
                                    type uint16;
                                    description
                                      "Tunnel Encapsulation Type";
                                  }
    
                                  leaf preference {
                                    type uint32;
                                    description
                                      "SR Policy Preference";
                                  }
    
                                  leaf state {
                                    type boolean;
                                    description
                                      "SR Policy active state in forwarding";
                                  }
    
                                  leaf request-state {
                                    type Bgp-srpolicy-req-state;
                                    description
                                      "SR Policy programming Status";
                                  }
    
                                  leaf usable {
                                    type boolean;
                                    description
                                      "SR Policy is usable on this node";
                                  }
    
                                  list segment-list {
                                    description
                                      "SR Policy Segment Lists";
                                    leaf weight {
                                      type uint8;
                                      description
                                        "Weight of segment list";
                                    }
    
                                    list segment {
                                      description
                                        "Segments in segment list";
                                      leaf type {
                                        type Sr-sid;
                                        description
                                          "Type";
                                      }
    
                                      leaf label {
                                        when
                                          "../type = 'label'" {
                                          description
                                            "../Type = 'Label'";
                                        }
                                        type uint32;
                                        description
                                          "MPLS Label value";
                                      }
    
                                      leaf ipv4-address {
                                        when
                                          "../type = 'ipv4'" {
                                          description
                                            "../Type = 'IPv4'";
                                        }
                                        type inet:ipv4-address;
                                        description
                                          "IPv4 Address value";
                                      }
    
                                      leaf ipv6-address {
                                        when
                                          "../type = 'ipv6'" {
                                          description
                                            "../Type = 'IPv6'";
                                        }
                                        type Ipv6-address;
                                        description
                                          "IPv6 address value";
                                      }
                                    }  // list segment
                                  }  // list segment-list
                                }  // container sr-policy
                              }  // container tunnel-encap
    
                              leaf is-metric-present {
                                type boolean;
                                description
                                  "Metric attribute present";
                              }
    
                              leaf is-local-pref-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP local preference
    attribute is present";
                              }
    
                              leaf is-atomic-aggregate-present {
                                type boolean;
                                description
                                  "Flag to indicate if Atomic aggregate attribute
    present";
                              }
    
                              leaf is-aggregator-present {
                                type boolean;
                                description
                                  "Flag to indicate if Aggregator attribute present";
                              }
    
                              leaf is-origin-present {
                                type boolean;
                                description
                                  "Flag to indicate if Origin attribute is present";
                              }
    
                              leaf is-as-path-present {
                                type boolean;
                                description
                                  "AS path attribute present";
                              }
    
                              leaf is-community-present {
                                type boolean;
                                description
                                  "Community attribute present";
                              }
    
                              leaf is-extended-community-present {
                                type boolean;
                                description
                                  "Extended community attribute present";
                              }
    
                              leaf is-ssa-present {
                                type boolean;
                                description
                                  "Flag to indicate if SSA attribute is present";
                              }
    
                              leaf is-connector-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP attribute Connector is
    present";
                              }
    
                              leaf is-pmsi-present {
                                type boolean;
                                description
                                  "PMSI Attribute  present";
                              }
    
                              leaf is-pppmp-present {
                                type boolean;
                                description
                                  "PPMP Attribute  present";
                              }
    
                              leaf is-aigp-present {
                                type boolean;
                                description
                                  "AIGP Present";
                              }
    
                              leaf is-pe-distinguisher-label-present {
                                type boolean;
                                description
                                  "PE distinguisher label  attribute present";
                              }
    
                              leaf is-ls-attribute-present {
                                type boolean;
                                description
                                  "Flag to indicate if BGP link-state attribute
    information is present";
                              }
    
                              leaf is-label-index-present {
                                type boolean;
                                description
                                  "Label Index attribute - present - deprecated";
                              }
    
                              leaf is-prefix-sid-label-index-present {
                                type boolean;
                                description
                                  "Prefix-SID LabelIndex present";
                              }
    
                              leaf is-prefix-sid-orig-srgb-present {
                                type boolean;
                                description
                                  "Prefix-SID OrigSRGB present";
                              }
    
                              leaf is-prefix-sid-srv6-layer3-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L3SVC present";
                              }
    
                              leaf is-prefix-sid-srv6-layer2-svc-present {
                                type boolean;
                                description
                                  "Prefix-SID SRv6L2SVC present";
                              }
    
                              leaf is-prefix-sid-unk-tlvs-present {
                                type boolean;
                                description
                                  "Prefix-SID UnkTLVs present";
                              }
    
                              leaf neighbor-as {
                                type uint32;
                                description
                                  "Neighbor AS number";
                              }
    
                              leaf aggregator-as {
                                type uint32;
                                description
                                  "AS where aggregation was last performed";
                              }
    
                              leaf aggregator-address {
                                type inet:ipv4-address;
                                description
                                  "Address where aggregation was performed ";
                              }
    
                              leaf metric {
                                type uint32;
                                description
                                  "Metric associated with BGP attribute ";
                              }
    
                              leaf local-preference {
                                type uint32;
                                description
                                  "Flag to indicate BGP attribute is local";
                              }
    
                              leaf origin {
                                type uint16;
                                description
                                  "BGP common attribute Origin ";
                              }
    
                              leaf as-path {
                                type string;
                                description
                                  "BGP Atonomous system path attribute";
                              }
    
                              leaf extended-community-flags {
                                type uint8;
                                description
                                  "BGP attribute Extended community Flags";
                              }
    
                              leaf originator {
                                type inet:ipv4-address;
                                description
                                  "Originator attribute";
                              }
    
                              leaf l2tpv3-session-id {
                                type uint32;
                                description
                                  "BGP attribute Layer2 tunneling protocol version
    3 session id";
                              }
    
                              leaf connector-type {
                                type uint16;
                                description
                                  "BGP attribute Connector Type";
                              }
    
                              leaf aigp-metric-value {
                                type uint64;
                                description
                                  "AIGP metric value";
                              }
    
                              leaf pmsi-type {
                                type uint16;
                                description
                                  "PMSI Type";
                              }
    
                              leaf pmsi-flags {
                                type uint8;
                                description
                                  "PMSI Value";
                              }
    
                              leaf pmsi-label {
                                type uint32;
                                description
                                  "PMSI label";
                              }
    
                              leaf ppm-pvalue {
                                type uint32;
                                description
                                  "PPMP Value";
                              }
    
                              leaf is-large-community-present {
                                type boolean;
                                description
                                  "Large Community attribute present";
                              }
    
                              list community {
                                description
                                  "Community attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Community attribute";
                                }
                              }  // list community
    
                              list extended-community {
                                description
                                  "Extended community attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Extended community attribute";
                                }
                              }  // list extended-community
    
                              list unknown-attribute {
                                description
                                  "BGP common set of unknown attributes ";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP common set of unknown attributes ";
                                }
                              }  // list unknown-attribute
    
                              list cluster {
                                description
                                  "Cluster list attribute";
                                leaf entry {
                                  type uint32;
                                  description
                                    "Cluster list attribute";
                                }
                              }  // list cluster
    
                              list l2tpv3-cookie {
                                description
                                  "L2TPv3 Cookie";
                                leaf entry {
                                  type uint8;
                                  description
                                    "L2TPv3 Cookie";
                                }
                              }  // list l2tpv3-cookie
    
                              list connector-value {
                                description
                                  "BGP attribute Connector Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP attribute Connector Value";
                                }
                              }  // list connector-value
    
                              list pmsi-value {
                                description
                                  "PMSI Value";
                                leaf entry {
                                  type uint8;
                                  description
                                    "PMSI Value";
                                }
                              }  // list pmsi-value
    
                              list ls-attr {
                                description
                                  "BGP LS attribute";
                                leaf entry {
                                  type uint8;
                                  description
                                    "BGP LS attribute";
                                }
                              }  // list ls-attr
    
                              list pe-distinguisher-label {
                                description
                                  "PE distinguisher label attribute";
                                leaf pe-address {
                                  type inet:ipv4-address;
                                  description
                                    " PE address";
                                }
    
                                leaf label {
                                  type uint32;
                                  description
                                    "Label";
                                }
                              }  // list pe-distinguisher-label
    
                              list large-community {
                                description
                                  "Large Community attribute";
                                leaf global-admin {
                                  type uint32;
                                  description
                                    "Global Administrator";
                                }
    
                                leaf local-data1 {
                                  type uint32;
                                  description
                                    "Local Data 1";
                                }
    
                                leaf local-data2 {
                                  type uint32;
                                  description
                                    "Local Data 2";
                                }
                              }  // list large-community
                            }  // container attr-set
    
                            container rnh-addr {
                              description
                                "RNH Address";
                              leaf len {
                                type Bgp-rnh-addr-len;
                                description
                                  "len";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../len = 'v4'" {
                                  description
                                    "../len = 'v4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../len = 'v6'" {
                                  description
                                    "../len = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
    
                              leaf mac-address {
                                when
                                  "../len = 'mac'" {
                                  description
                                    "../len = 'Mac'";
                                }
                                type Mac-address;
                                description
                                  "MAC Addr";
                              }
                            }  // container rnh-addr
    
                            container ribrnh-ip {
                              description
                                "RIB RNH IP Address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container ribrnh-ip
    
                            leaf is-as-path2-byte {
                              type boolean;
                              description
                                "AS path encoded as 2-byte";
                            }
    
                            leaf is-application-gateway-present {
                              type boolean;
                              description
                                "Flag to indicate if BGP application gateway is
    present";
                            }
    
                            leaf is-attr-set-present {
                              type boolean;
                              description
                                "BGP ATTR_SET attribute present";
                            }
    
                            leaf set-aigp-inbound-igp {
                              type boolean;
                              description
                                "AIGP set by policy inbound IGP ";
                            }
    
                            leaf set-aigp-inbound-metric {
                              type boolean;
                              description
                                "AIGP set by policy inbound metric";
                            }
    
                            leaf is-rnh-present {
                              type boolean;
                              description
                                "RNH Attribute  present";
                            }
    
                            leaf is-ribrnh-present {
                              type boolean;
                              description
                                "RIB RNH Attribute  present";
                            }
    
                            leaf attribute-key-number {
                              type uint32;
                              description
                                "Number which is stored per bgp routing table on
    attribute key";
                            }
    
                            leaf attribute-reuse-id-config {
                              type boolean;
                              description
                                "Attribute reuse ID Configured";
                            }
    
                            leaf attribute-reuse-id-max-id {
                              type uint32;
                              description
                                "Attribute reuse ID maximum ID";
                            }
    
                            leaf attribute-reuse-id-node {
                              type uint32;
                              description
                                "BGP Attribute reuse ID nodes";
                            }
    
                            leaf attribute-reuse-id-current {
                              type uint32;
                              description
                                "BGP Attribute reuse ID current ID";
                            }
    
                            leaf attribute-reuse-id-keys {
                              type uint32;
                              description
                                "Attribute reuse ID allocated keys";
                            }
    
                            leaf attribute-reuse-id-recover-sec {
                              type uint32;
                              units "second";
                              description
                                "Attribute reuse ID timer in seconds";
                            }
    
                            leaf vpn-distinguisher {
                              type uint32;
                              description
                                "VPN Distinguisher";
                            }
    
                            leaf rnh-type {
                              type uint16;
                              description
                                "RNH Type";
                            }
    
                            leaf rnh-len {
                              type uint8;
                              description
                                "RNH Length";
                            }
    
                            leaf rnh-addr-len {
                              type uint32;
                              description
                                "RNH Address Length";
                            }
    
                            leaf ribrnh-table {
                              type uint32;
                              description
                                "RIB RNH Table";
                            }
    
                            leaf ribrnh-mac {
                              type Mac-address;
                              description
                                "RIB RNH MAC Address";
                            }
    
                            leaf ribrnhip-table {
                              type uint32;
                              description
                                "RIB RNH IP Table";
                            }
    
                            leaf ribrnh-vni {
                              type uint32;
                              description
                                "RIB RNH Vni";
                            }
    
                            leaf ribrnh-encap {
                              type uint8;
                              description
                                "RIB RNH Encapsulation Type";
                            }
                          }  // container attribute-info
    
                          leaf process-instance-id {
                            type uint8;
                            description
                              "BGP attribute process instance ID";
                          }
    
                          leaf attribute-instance-id {
                            type uint8;
                            description
                              "Instance ID for BGP attribute context ";
                          }
    
                          leaf attribute-structure-id {
                            type uint32;
                            description
                              "BGP ID of attribute structure information";
                          }
    
                          leaf attribute-structure-hash-value {
                            type uint32;
                            description
                              "Hash value for attribute structure";
                          }
    
                          leaf reference-count {
                            type uint32;
                            description
                              "Number of paths which use this attribute
    structure";
                          }
                        }  // list attribute
                      }  // container attributes
                    }  // list af
                  }  // container afs
    
                  container information {
                    description
                      "Meta data for VRF";
                    leaf route-distinguisher {
                      type xr:Route-dist;
                      description
                        "BGP virtual routing and forwardingroute
    distinguisher";
                    }
                  }  // container information
    
                  container update-inbound-filter-vrf {
                    description
                      "Update inbound filtering information for the VRF";
                    container last-update-filtered-timestamp {
                      description
                        "Last Filtered messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                      leaf seconds {
                        type uint32;
                        units "second";
                        description
                          "Seconds part of time value";
                      }
    
                      leaf nanoseconds {
                        type uint32;
                        units "nanosecond";
                        description
                          "Nanoseconds part of time value";
                      }
                    }  // container last-update-filtered-timestamp
    
                    leaf update-vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf update-filtered-message-count {
                      type uint32;
                      description
                        "Number of filtered messages";
                    }
    
                    leaf update-filtered-neighbor-count {
                      type uint32;
                      description
                        "Count of neighbors that received filtered
    messages";
                    }
    
                    leaf last-update-filtered-age {
                      type uint32;
                      units "second";
                      description
                        "Time since last filtered messages received event
    (in seconds)";
                    }
                  }  // container update-inbound-filter-vrf
    
                  container postits {
                    description
                      "The BGP Neighbor table";
                    list postit {
                      key "neighbor-address";
                      description
                        "A BGP Postit table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container neighbors-address {
                        description
                          "Neighbor Addr";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbors-address
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf connect-state {
                        type uint32;
                        description "State";
                      }
    
                      leaf start-time {
                        type uint32;
                        description "StartTime";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      list neighbor-af {
                        min-elements 25;
                        max-elements 25;
                        description
                          "Neighbor Afi";
                        leaf entry {
                          type boolean;
                          description
                            "Array entry.";
                        }
                      }  // list neighbor-af
    
                      list postit-info {
                        description
                          "BGP neighbor postit rounting information";
                        container postit-notification {
                          description
                            "Time since last notification was sent or
    received";
                          leaf time-since-last-notification {
                            type uint32;
                            units "second";
                            description
                              "Time since the last notification was sent or
    received (seconds)";
                          }
    
                          leaf notification-error-code {
                            type uint8;
                            description
                              "Error code in last notification";
                          }
    
                          leaf notification-error-subcode {
                            type uint8;
                            description
                              "Error subcode in last notification";
                          }
    
                          list last-notification-data {
                            description
                              "Message data in last notification";
                            leaf entry {
                              type uint8;
                              description
                                "Message data in last notification";
                            }
                          }  // list last-notification-data
                        }  // container postit-notification
    
                        leaf postit-type {
                          type uint32;
                          description
                            "Type of the event for post-it";
                        }
    
                        leaf postit-subtype {
                          type uint32;
                          description
                            "BGP Postit Subtype";
                        }
    
                        leaf postit-flags {
                          type uint8;
                          description
                            "Flags associated with post-it";
                        }
    
                        leaf postit-af-name {
                          type Bgp-afi;
                          description
                            "Postit Afi";
                        }
    
                        leaf postit-ts {
                          type uint64;
                          description
                            "Postit TS";
                        }
    
                        leaf postit-direction {
                          type uint8;
                          description
                            "BGP postit inbound oroutbound direction";
                        }
    
                        leaf postit-id {
                          type uint32;
                          description
                            "Postit ID";
                        }
    
                        leaf peer-id {
                          type uint32;
                          description "Peer ID";
                        }
    
                        leaf postit-policy {
                          type string;
                          description "Policy";
                        }
    
                        leaf postit-reset {
                          type Bgp-reset-reason-index;
                          description "Reset";
                        }
                      }  // list postit-info
                    }  // list postit
                  }  // container postits
    
                  container global-process-info {
                    description
                      "The Global Process information table";
                    container global {
                      description
                        "Global information";
                      container gshut-nbr-all-ts {
                        description
                          "BGP gshut nbr all timestamp";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container gshut-nbr-all-ts
    
                      container gshut-nbr-all-age {
                        description
                          "BGP gshut nbr all age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container gshut-nbr-all-age
    
                      leaf in-standalone-mode {
                        type boolean;
                        description
                          "Standalone or Distributed mode";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local autonomous system number";
                      }
    
                      leaf instance-name {
                        type string;
                        description
                          "Name of BGP instance";
                      }
    
                      leaf restart-count {
                        type uint32;
                        description
                          "No of times BGP has started";
                      }
    
                      leaf update-delay {
                        type uint32;
                        units "second";
                        description
                          "Update delay timeout time (in seconds)";
                      }
    
                      leaf generic-scan-period {
                        type uint16;
                        units "second";
                        description
                          "Period (in seconds) of generic scanner runs";
                      }
    
                      leaf confederation-id {
                        type uint32;
                        description
                          "BGP global process confederation ID";
                      }
    
                      leaf cluster-id {
                        type uint32;
                        description "Cluster ID";
                      }
    
                      leaf configured-cluster-id {
                        type uint32;
                        description
                          "BGP global process configuredcluster ID";
                      }
    
                      leaf is-cluster-id-specified-as-ip {
                        type boolean;
                        description
                          "Cluster ID specified as an IP address";
                      }
    
                      leaf asn-format {
                        type uint32;
                        description
                          "BGP AS Number Format";
                      }
    
                      leaf srgb-start-configured {
                        type uint32;
                        description
                          "Configured segment-routing Global Block start
    value";
                      }
    
                      leaf srgb-end-configured {
                        type uint32;
                        description
                          "Configured segment-routing Global Block end
    value";
                      }
    
                      leaf srgb-start {
                        type uint32;
                        description
                          "In use segment-routing Global Block start value";
                      }
    
                      leaf srgb-end {
                        type uint32;
                        description
                          "In use Segment-routing Global Block end value";
                      }
    
                      leaf srlb-start-configured {
                        type uint32;
                        description
                          "Configured segment-routing Local Block start
    value";
                      }
    
                      leaf srlb-end-configured {
                        type uint32;
                        description
                          "Configured segment-routing Local Block end value";
                      }
    
                      leaf srlb-start {
                        type uint32;
                        description
                          "In use segment-routing Local Block start value";
                      }
    
                      leaf srlb-end {
                        type uint32;
                        description
                          "In use Segment-routing Local Block end value";
                      }
    
                      leaf mix-srte-native {
                        type boolean;
                        description
                          "Platform support mix of SR-TE and Native IGP
    Nexthop";
                      }
    
                      leaf graceful-maintenance {
                        type boolean;
                        description
                          "Graceful shutdown activated for allneighbors";
                      }
    
                      leaf graceful-maint-all-nbrs {
                        type boolean;
                        description
                          "Graceful Maintenance also for neighbors without
    GM configuration";
                      }
    
                      leaf graceful-maint-retain-routes {
                        type boolean;
                        description
                          "Retaining routes in RIB when BGP process stops
    while in Graceful Maintenance";
                      }
    
                      leaf process-rlimit {
                        type uint64;
                        description
                          "Platform RLIMIT max for the process";
                      }
    
                      leaf bmp-maximum-buffer-size {
                        type uint64;
                        description
                          "Maximum limit user can configure for
    max-buffer-size command under bmp-server";
                      }
    
                      leaf bmp-default-buffer-size {
                        type uint64;
                        description
                          "Default value for BMP buffer limit when a value
    is not configured";
                      }
    
                      leaf bmp-current-buffer-size {
                        type uint64;
                        description
                          "Current value for BMP buffer ";
                      }
    
                      leaf bmp-cur-maximum-buffer-size {
                        type uint64;
                        description
                          "Maximum limit user has configure using
    max-buffer-size command under bmp-server";
                      }
    
                      leaf gbl-srv6-locator {
                        type string;
                        description
                          "Global Srv6 Locator Name";
                      }
    
                      list cluster-id-entry {
                        description
                          "All configured Cluster IDs";
                        leaf cluster-id-val {
                          type uint32;
                          description
                            "Cluster ID ";
                        }
    
                        leaf cluster-id-type {
                          type uint8;
                          description
                            "Cluster ID type: number or IPv4 address";
                        }
                      }  // list cluster-id-entry
    
                      list color-id {
                        description
                          "All configured Color IDs";
                        leaf color-id-val {
                          type uint32;
                          description
                            "Color ID ";
                        }
                      }  // list color-id
                    }  // container global
    
                    container vrf {
                      description
                        "VRF information";
                      leaf vrf-is-active {
                        type boolean;
                        description "VRF state";
                      }
    
                      leaf route-distinguisher {
                        type yang:hex-string;
                        description
                          "BGP global process route distinguisher";
                      }
    
                      leaf router-id {
                        type inet:ipv4-address;
                        description
                          "Router ID for the VRF";
                      }
    
                      leaf configured-router-id {
                        type inet:ipv4-address;
                        description
                          "BGP global process configured router ID";
                      }
    
                      leaf is-redistribute-ibgp-to-ig-ps-enabled {
                        type boolean;
                        description
                          "Redistribute iBGP into IGPs enabled";
                      }
    
                      leaf is-fast-external-fallover-enabled {
                        type boolean;
                        description
                          "Flag to indicate if fast external fallover is
    enabled";
                      }
    
                      leaf is-bestpath-missing-med-is-worst-enabled {
                        type boolean;
                        description
                          "Bestpath: Treat missing MED as worst";
                      }
    
                      leaf is-bestpath-always-compare-med-enabled {
                        type boolean;
                        description
                          "Bestpath: Always compare MED";
                      }
    
                      leaf is-bestpath-ignore-as-path-enabled {
                        type boolean;
                        description
                          "Bestpath: Ignore AS path";
                      }
    
                      leaf is-bestpath-as-path-mpath-relax-enabled {
                        type boolean;
                        description
                          "Bestpath: Relax AS path for mpath";
                      }
    
                      leaf is-bestpath-compare-med-from-confed-peer-enabled {
                        type boolean;
                        description
                          "Bestpath: Compare MED from confed peer";
                      }
    
                      leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled {
                        type boolean;
                        description
                          "Bestpath: Compare routerID for eBGP peers";
                      }
    
                      leaf is-bestpath-aigp-ignore-enabled {
                        type boolean;
                        description
                          "Bestpath: Ignore AIGP unless both paths have
    AIGP attribute";
                      }
    
                      leaf is-bestpath-igp-metric-ignore-enabled {
                        type boolean;
                        description
                          "Bestpath: Ignore IGP metric";
                      }
    
                      leaf is-bestpath-igp-metric-sr-policy-enabled {
                        type boolean;
                        description
                          "Bestpath: Prefer SR-Policy admin/metric of
    color-extcomm Nexthop as IGP metric";
                      }
    
                      leaf is-multipath-as-path-ignore-onwards-enabled {
                        type boolean;
                        description
                          "Multipath: Ignore everything AS path onwards for
    mpath";
                      }
    
                      leaf is-multipath-section-use-cluster-list-length {
                        type boolean;
                        description
                          "Multipath: Use Cluster-List Length Criteria";
                      }
    
                      leaf is-bestpath-sr-policy-prefer-enabled {
                        type boolean;
                        description
                          "Bestpath: Pefer SR policy path";
                      }
    
                      leaf is-enforce-first-as-enabled {
                        type boolean;
                        description
                          "Enforce first AS";
                      }
    
                      leaf default-local-preference {
                        type uint32;
                        description
                          "BGP global process default local preference";
                      }
    
                      leaf keep-alive-time {
                        type uint16;
                        units "second";
                        description
                          "Default keepalive timer (seconds)";
                      }
    
                      leaf hold-time {
                        type uint16;
                        units "second";
                        description
                          "Default hold timer (seconds)";
                      }
    
                      leaf min-acceptable-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Default min acceptable hold time from
    neighbor(seconds)";
                      }
    
                      leaf is-neighbor-logging {
                        type boolean;
                        description
                          "Neighbor logging enabled";
                      }
    
                      leaf is-default-metric-configured {
                        type boolean;
                        description
                          "Flag to indicate if default metric is configured";
                      }
    
                      leaf default-metric {
                        type uint32;
                        description
                          "BGP global process virtual routingand forwarding
    default metric";
                      }
    
                      leaf is-default-originate-configured {
                        type boolean;
                        description
                          "Flag to indicate if default route originate is
    configured";
                      }
    
                      leaf is-graceful-restart {
                        type boolean;
                        description
                          "Graceful restart enabled";
                      }
    
                      leaf is-nsr {
                        type boolean;
                        description
                          "Non-stop routing enabled";
                      }
    
                      leaf slow-peer-detection-enabled {
                        type boolean;
                        description
                          "Slow peer detection status";
                      }
    
                      leaf nexthop-validation-disabled {
                        type boolean;
                        description
                          "Color-Extcomm Nexthop validation disabled";
                      }
    
                      leaf nexthop-validation-srte {
                        type boolean;
                        description
                          "Color-Extcomm Nexthop validation SR-Policy";
                      }
    
                      leaf restart-time {
                        type uint32;
                        units "second";
                        description
                          "Restart time (in seconds)";
                      }
    
                      leaf stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Stale path timeout time (in seconds)";
                      }
    
                      leaf rib-purge-timeout {
                        type uint32;
                        units "second";
                        description
                          "RIB purge timeout time (in seconds)";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Use RPKI validity for bestpath calculation";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Allow invalid paths";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Signal RPKI validity to iBGP peers";
                      }
                    }  // container vrf
    
                    leaf vrf-name {
                      type string;
                      description
                        "Name of the VRF";
                    }
    
                    leaf vrfid {
                      type uint32;
                      description "VRF ID";
                    }
                  }  // container global-process-info
    
                  container update-inbound-error-neighbors {
                    description
                      "Update inbound error information for all
    neighbors";
                    list update-inbound-error-neighbor {
                      key "neighbor-address";
                      description
                        "Update inbound error information for neighbor";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container update-neighbor-address {
                        description
                          "Neighbor address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container update-neighbor-address
    
                      container first-update-malformed-timestamp {
                        description
                          "First malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-malformed-timestamp
    
                      container last-update-malformed-timestamp {
                        description
                          "Last malformed message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-malformed-timestamp
    
                      container first-update-memory-allocation-fail-timestamp {
                        description
                          "First memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-memory-allocation-fail-timestamp
    
                      container last-update-memory-allocation-fail-timestamp {
                        description
                          "Last memory allocation failure time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-memory-allocation-fail-timestamp
    
                      container first-update-error-handling-reset-timestamp {
                        description
                          "First error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-error-handling-reset-timestamp
    
                      container last-error-handling-reset-timestamp {
                        description
                          "Last error-handling reset time: time elapsed
    since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-error-handling-reset-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-error-handling-avoid-reset {
                        type boolean;
                        description
                          "Configure error-handling to avoid resets";
                      }
    
                      leaf total-update-message-count {
                        type uint32;
                        description
                          "The total number of update messages encoutered
    so far";
                      }
    
                      leaf update-malformed-message-count {
                        type uint32;
                        description
                          "The toatl number of malform update messages so
    far";
                      }
    
                      leaf last-update-malformed-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last malformed message received event
    (in seconds)";
                      }
    
                      leaf update-memory-allocation-fail-count {
                        type uint32;
                        description
                          "Total number of memory allocation failures";
                      }
    
                      leaf last-update-memory-allocation-fail-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last memory allocation failure event
    (in seconds)";
                      }
    
                      leaf update-error-handling-reset-count {
                        type uint32;
                        description
                          "Total number of neighbor reset due to
    error-handling";
                      }
    
                      leaf last-error-handling-reset-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last error-handling reset event (in
    seconds)";
                      }
    
                      leaf update-error-message-list-count {
                        type uint32;
                        description
                          "Malformed messages list count";
                      }
    
                      leaf update-attribute-discard-count {
                        type uint32;
                        description
                          "Discarded attribute count";
                      }
    
                      leaf establishment-total-update-message-count {
                        type uint32;
                        description
                          "Total update messages count since session
    establishment";
                      }
    
                      list establishment-action-count {
                        max-elements 7;
                        description
                          "Number of occurence of each action type since
    
    session establishment";
                        leaf entry {
                          type uint32;
                          description
                            "Number of occurence of each action type since
    
    session establishment";
                        }
                      }  // list establishment-action-count
    
                      list update-error-message {
                        description
                          "List of malformed messages";
                        container update-message-timestamp {
                          description
                            "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container update-message-timestamp
    
                        container update-message-reset-data {
                          description
                            "Reset data";
                          leaf update-error-reset-reason {
                            type Bgp-reset-reason-index;
                            description
                              "Reset Reason";
                          }
    
                          leaf update-error-reset-notification-code {
                            type uint8;
                            description
                              "Notification code";
                          }
    
                          leaf update-error-reset-notification-sub-code {
                            type uint16;
                            description
                              "Notification sub code";
                          }
    
                          leaf update-error-reset-notification-data {
                            type yang:hex-string;
                            description
                              "Notification data";
                          }
    
                          leaf update-error-reset-notification-data-length {
                            type uint16;
                            description
                              "Notification data length";
                          }
                        }  // container update-message-reset-data
    
                        leaf update-error-final-action {
                          type Bgp-bag-upd-err-action;
                          description
                            "Error final action";
                        }
    
                        leaf update-attribute-discard-count {
                          type uint32;
                          description
                            "Discarded attribute count";
                        }
    
                        leaf update-error-nlri-address-family {
                          type Bgp-afi;
                          description
                            "NLRI address-family";
                        }
    
                        leaf update-error-nlri-string {
                          type string;
                          description
                            "List of NLRIs in string format";
                        }
    
                        leaf update-error-nlri-string-truncated {
                          type boolean;
                          description
                            "Indicates whether NLRI string was truncated due
    to lack of space";
                        }
    
                        list update-message-data {
                          description
                            "Raw Message data in binary format";
                          leaf entry {
                            type uint8;
                            description
                              "Raw Message data in binary format";
                          }
                        }  // list update-message-data
    
                        list update-error-element {
                          max-elements 3;
                          description
                            "Error element list";
                          leaf update-attribute-flags {
                            type uint8;
                            description
                              "Attribute Flags [RFC4271: BGP4]";
                          }
    
                          leaf update-attribute-code {
                            type uint8;
                            description
                              "Attribute code [RFC4271: BGP4]";
                          }
    
                          leaf update-attribute-length {
                            type uint16;
                            description
                              "Attribute Length [RFC4271: BGP4]";
                          }
    
                          leaf update-error-data {
                            type yang:hex-string;
                            description
                              "Error data";
                          }
    
                          leaf update-error-data-length {
                            type uint16;
                            description
                              "Error data length";
                          }
    
                          leaf update-error-action {
                            type Bgp-bag-upd-err-action;
                            description
                              "Error action";
                          }
                        }  // list update-error-element
                      }  // list update-error-message
                    }  // list update-inbound-error-neighbor
                  }  // container update-inbound-error-neighbors
    
                  container update-inbound-filter-neighbors {
                    description
                      "Update inbound filtering information for all
    neighbors";
                    list update-inbound-filter-neighbor {
                      key "neighbor-address";
                      description
                        "Update inbound filtering information for
    neighbor";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container update-neighbor-address {
                        description
                          "Neighbor address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container update-neighbor-address
    
                      container first-update-filtered-timestamp {
                        description
                          "First filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container first-update-filtered-timestamp
    
                      container last-update-filtered-timestamp {
                        description
                          "Last filtered message received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container last-update-filtered-timestamp
    
                      leaf update-vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf update-filter-logging-enabled {
                        type boolean;
                        description
                          "Logging is enabled";
                      }
    
                      leaf configured-update-filter-message-buffer-count {
                        type uint32;
                        description
                          "Total number of configured update filter
    messagebuffer size";
                      }
    
                      leaf operational-update-filter-message-buffer-count {
                        type uint32;
                        description
                          "Number of messages in the message buffer";
                      }
    
                      leaf update-filter-message-buffer-circular {
                        type boolean;
                        description
                          "Indicates if the message buffers are circular";
                      }
    
                      leaf update-attribute-filter-group-name {
                        type string;
                        description
                          "String format BGP attribute-filter group name";
                      }
    
                      leaf operational-update-attribute-filtering-enabled {
                        type boolean;
                        description
                          "Attribute filtering is enabled";
                      }
    
                      leaf message-update-attribute-filtering-enabled {
                        type boolean;
                        description
                          "Attribute filtering is enabled for the current
    message being parsed";
                      }
    
                      leaf total-filter-update-message-count {
                        type uint32;
                        description
                          "Total number of filtered messages encoutered";
                      }
    
                      leaf establishment-total-filter-update-message-count {
                        type uint32;
                        description
                          "Total update messages count since session
    establishment";
                      }
    
                      leaf update-filtered-message-count {
                        type uint32;
                        description
                          "Total number of filtered messages encountered so
    far";
                      }
    
                      leaf establishment-update-filtered-message-count {
                        type uint32;
                        description
                          "Filtered messages count since session
    establishment";
                      }
    
                      leaf last-update-filtered-age {
                        type uint32;
                        units "second";
                        description
                          "Time since last filtered message received event
    (in seconds)";
                      }
    
                      leaf update-filter-message-list-count {
                        type uint32;
                        description
                          "Filtered messages list count";
                      }
    
                      list update-attribute-filter-attributes {
                        description
                          "List of attributes that can be filtered";
                        container last-update-filter-match-timestamp {
                          description
                            "Last attribute filtered time: time elapsed since
    00:00:00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container last-update-filter-match-timestamp
    
                        leaf update-internal-attribute-code {
                          type uint32;
                          description
                            "Internal attribute code [RFC4271: BGP4]";
                        }
    
                        leaf update-filter-action {
                          type Bgp-bag-upd-filter-action;
                          description
                            "Filtering action";
                        }
    
                        leaf update-filter-match-count {
                          type uint32;
                          description
                            "Filter match counter";
                        }
    
                        leaf establishment-update-filter-match-count {
                          type uint32;
                          description
                            "Filter match counter since last session
    establishment";
                        }
    
                        leaf last-update-filter-match-age {
                          type uint32;
                          units "second";
                          description
                            "Time since this attribute was last filtered (in
    seconds)";
                        }
                      }  // list update-attribute-filter-attributes
    
                      list update-filter-message {
                        description
                          "List of filtered messages";
                        container update-filter-message-timestamp {
                          description
                            "Message timestamp: time elapsed since 00:00:00
    UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container update-filter-message-timestamp
    
                        leaf update-filtered-attribute-count {
                          type uint32;
                          description
                            "Total number of attributes filtered in
    thismessage";
                        }
    
                        leaf update-filter-final-action {
                          type Bgp-bag-upd-filter-action;
                          description
                            "Filtering final action";
                        }
    
                        leaf update-filter-nlri-address-family {
                          type Bgp-afi;
                          description
                            "NLRI address-family";
                        }
    
                        leaf update-filter-nlri-string {
                          type string;
                          description
                            "List of NLRIs in string format";
                        }
    
                        leaf update-filter-nlri-string-truncated {
                          type boolean;
                          description
                            "Indicates whether NLRI string was truncated due
    to lack of space";
                        }
    
                        list update-filter-message-data {
                          description
                            "Raw Message data in binary format";
                          leaf entry {
                            type uint8;
                            description
                              "Raw Message data in binary format";
                          }
                        }  // list update-filter-message-data
    
                        list update-filter-element {
                          max-elements 3;
                          description
                            "Filtering element list";
                          leaf update-attribute-flags {
                            type uint8;
                            description
                              "Attribute Flags [RFC4271: BGP4]";
                          }
    
                          leaf update-attribute-code {
                            type uint8;
                            description
                              "Attribute code [RFC4271: BGP4]";
                          }
    
                          leaf update-filter-action {
                            type Bgp-bag-upd-filter-action;
                            description
                              "Filtering action";
                          }
                        }  // list update-filter-element
                      }  // list update-filter-message
                    }  // list update-inbound-filter-neighbor
                  }  // container update-inbound-filter-neighbors
    
                  container bmp {
                    description
                      "BMP related Operational Data";
                    container server-summaries {
                      description
                        "Table of BMP Servers";
                      list server-summary {
                        key "server-id";
                        description
                          "Summary Information about BMP server";
                        leaf server-id {
                          type uint32 {
                            range "1..8";
                          }
                          description
                            "BMP Server ID";
                        }
    
                        container bmp-server-state-age {
                          description
                            "Age of current state of BMP Server";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-server-state-age
    
                        container bmp-server-state-time-spec {
                          description
                            "Timespec of current state of BMP Server";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-server-state-time-spec
    
                        container bmp-server-last-discon-time {
                          description
                            "Timespec of Last Disconnect event received from
    BMP server";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container bmp-server-last-discon-time
    
                        container update-source-address {
                          description
                            "Address of Interface configured as Update Source";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container update-source-address
    
                        leaf bmp-server-id {
                          type uint8;
                          description
                            "BMP Server ID";
                        }
    
                        leaf bmp-server-host-name {
                          type string;
                          description
                            "BMP Server Hostname";
                        }
    
                        leaf bmp-server-port {
                          type uint32;
                          description
                            "BMP Server Port Number";
                        }
    
                        leaf bmp-server-state {
                          type Bgp-bmp-state;
                          description
                            "Connection state of the BMP server";
                        }
    
                        leaf bmp-server-is-flapping {
                          type boolean;
                          description
                            "Connection to the BMP server Flapping";
                        }
    
                        leaf bmp-server-nbr-count {
                          type uint32;
                          description
                            "Neighbor count for the BMP Server";
                        }
    
                        leaf bmp-init-msg-count {
                          type uint32;
                          description
                            "Number of Initiation Msgs sent by this BMP
    Server";
                        }
    
                        leaf bmp-termination-msg-count {
                          type uint32;
                          description
                            "Number of Termination Messages sent by this BMP
    Server";
                        }
    
                        leaf bmp-status-report-count {
                          type uint32;
                          description
                            "Number of Status ReportMessages sent by this BMP
    Server";
                        }
    
                        leaf bmp-per-peer-msg-count {
                          type uint32;
                          description
                            "Total number of per peer messages sent";
                        }
    
                        leaf bmp-peer-msg-drop-count {
                          type uint32;
                          description
                            "Total number of messages dropped";
                        }
    
                        leaf bmp-peer-msg-pending-count {
                          type uint32;
                          description
                            "Total number of bmpQ msgs pending";
                        }
    
                        leaf tos-type {
                          type uint8;
                          description
                            "Precedence (0) or DSCP (1) type";
                        }
    
                        leaf tos-value {
                          type uint8;
                          description
                            "Precedence or DSCP value";
                        }
    
                        leaf update-source-interface-name {
                          type string;
                          description
                            "Interface configured as Update Source";
                        }
    
                        leaf update-source-vrf-id {
                          type uint32;
                          description
                            "VRF ID of interface configured as Update Source";
                        }
    
                        leaf bmp-vrf-name {
                          type string;
                          description
                            "VRF Name configured";
                        }
    
                        leaf bmp-vrf-id {
                          type uint32;
                          description
                            "VRF ID for the vrf name configured";
                        }
    
                        leaf bmp-update-mode {
                          type Bgp-bmp-upd-mode;
                          description
                            "Update sending mode configured for this BMP
    server";
                        }
    
                        leaf tcp-keep-alive-interval {
                          type uint32;
                          description
                            "TCP Keep alive interval configured";
                        }
    
                        leaf tcp-maximum-segment-size {
                          type uint32;
                          description
                            "TCP Maximum Segments size configured";
                        }
    
                        leaf tcp-write-cb-pending {
                          type uint32;
                          description
                            "Are we waiting for TCP write callback ?";
                        }
    
                        leaf tcp-last-write-result {
                          type uint32;
                          description
                            "Last TCP Socket write status";
                        }
    
                        leaf tcp-last-write-cb-time {
                          type uint64;
                          description
                            "Last TCP Write CB time";
                        }
    
                        leaf tcp-last-write-time {
                          type uint64;
                          description
                            "Last TCP Write time";
                        }
    
                        leaf bmpq-last-write-pulse-sent-time {
                          type uint64;
                          description
                            "Last BMPQ write pulse Sent time";
                        }
    
                        leaf bmpq-last-all-write-pulse-sent-time {
                          type uint64;
                          description
                            "Last BMPQ write pulse Sent for all BMP servers ";
                        }
    
                        leaf bmpq-last-write-pulse-cb-time {
                          type uint64;
                          description
                            "Last BMPQ write pulse callback time";
                        }
    
                        leaf path-update-count {
                          type uint32;
                          description
                            "Number of path update sent ";
                        }
    
                        leaf path-withdraw-count {
                          type uint32;
                          description
                            "Number of path wdraw sent";
                        }
    
                        leaf path-update-drop {
                          type uint32;
                          description
                            "Number of path update drop ";
                        }
    
                        leaf path-withdraw-drop {
                          type uint32;
                          description
                            "Number of path wdraw drop ";
                        }
    
                        leaf bmp-peer-msg-pending-count-max {
                          type uint32;
                          description
                            "Total bmpQ msgs pending max";
                        }
    
                        leaf bmp-peer-msg-pending-count-hwts {
                          type uint64;
                          description
                            "Total bmpQ msgs pending max time";
                        }
    
                        leaf bmp-bytes-written-tcp {
                          type uint64;
                          units "byte";
                          description
                            "Total bytes sent to TCP";
                        }
    
                        leaf tcp-write-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sending msg to
    TCP(milliseconds)";
                        }
    
                        leaf bmpr-mon-upd-messages {
                          type uint32;
                          description
                            "Total bmpQ update msgs ";
                        }
    
                        leaf bmpr-mon-wdraw-messages {
                          type uint32;
                          description
                            "Total bmpQ withdraw msgs ";
                        }
    
                        leaf bmp-messages-wdraw-discarded {
                          type uint32;
                          description
                            "Total bmpQ wdraw msgs discarded because of peer
    down";
                        }
    
                        leaf bmp-pfx-wdraw-discarded {
                          type uint32;
                          description
                            "Total bmpQ wdraw pfxes discarded because of peer
    down";
                        }
    
                        leaf bmp-per-peer-msg-route-mon-count {
                          type uint32;
                          description
                            "Total number of per peer route mon messages sent";
                        }
    
                        leaf bmpr-mon-update-gen-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent in update generation(milliseconds)";
                        }
    
                        leaf bmpr-mon-eo-rmessages {
                          type uint32;
                          description
                            "Total bmpQ EOR update msgs ";
                        }
    
                        leaf bmp-rmon-cur-buffer-size {
                          type uint64;
                          description
                            "Current Buffer usage per BMP Route Mon";
                        }
    
                        leaf bmp-maximum-buffer-size-route-mon {
                          type uint64;
                          description
                            "Buffer limit used for route mon";
                        }
    
                        leaf bmp-server-up-count {
                          type uint32;
                          description
                            "Number of BMP server that are UP";
                        }
    
                        leaf bmp-upd-gen-in-progress {
                          type boolean;
                          description
                            "Update generation in progress";
                        }
    
                        leaf bmp-reset-walk-in-progress {
                          type boolean;
                          description
                            "Flag to indicate if BGP monitoring protocol
    server reset walk is in progress";
                        }
    
                        list bmpafi-info {
                          description
                            "AFI specific info for BMP server";
                          container bmp-resume-prefix {
                            description
                              "BMP Resume prefix";
                            container prefix {
                              description
                                "The Prefix from whichto get the address";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container prefix
    
                            leaf prefix-length {
                              type uint16;
                              description
                                "BGP prefix length of the route";
                            }
                          }  // container bmp-resume-prefix
    
                          container bmp-filter-neighbor-address {
                            description
                              "Filter Neighbor Address";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container bmp-filter-neighbor-address
    
                          leaf bmpaf-name {
                            type Bgp-afi;
                            description
                              "BMP Address family identifier";
                          }
    
                          leaf bmp-resume-prefix-len {
                            type uint32;
                            description
                              "BMP Resume prefix Len";
                          }
    
                          leaf bmp-upd-gen-resume-start-version {
                            type uint32;
                            description
                              "Update Gen ResumeWalk start version";
                          }
    
                          leaf bmp-upd-gen-resume-end-version {
                            type uint32;
                            description
                              "Update Gen ResumeWalk end version";
                          }
    
                          leaf bmp-upd-gen-walk-stopped {
                            type boolean;
                            description
                              "Update Gen WalkStopped";
                          }
    
                          leaf bmp-upd-gen-resume-net-version {
                            type uint32;
                            description
                              "Update Gen ResumeWalk Net version";
                          }
    
                          leaf bmp-upd-gen-walk-run-time-stamp {
                            type uint64;
                            description
                              "Last Update Gen Run time stamp";
                          }
    
                          leaf bmp-upd-gen-walk-run-count {
                            type uint64;
                            description
                              "Number of times Update Gen ran";
                          }
    
                          leaf bmp-upd-gen-walk-stop-time-stamp {
                            type uint64;
                            description
                              "Last Update Gen Stop time stamp";
                          }
    
                          leaf bmp-upd-gen-walk-stop-count {
                            type uint64;
                            description
                              "Number of times Update Gen Stopped";
                          }
    
                          leaf bmp-init-eor-end-version {
                            type uint32;
                            description
                              "Version to reach to send EOR";
                          }
    
                          leaf bmp-init-eor-pending-cnt {
                            type uint32;
                            description
                              "Count for pending EOR";
                          }
    
                          leaf bmp-filter-neighbor-address-set {
                            type boolean;
                            description
                              "Filter Neighbor Address Set ?";
                          }
    
                          leaf bmp-filter-nbr-cnt {
                            type uint32;
                            description
                              "Filter nbr Count for this AFI";
                          }
    
                          leaf bmp-send-version {
                            type uint32;
                            description
                              "Table Version that this BMP server has caught
    upto";
                          }
                        }  // list bmpafi-info
                      }  // list server-summary
                    }  // container server-summaries
    
                    container server-neighbors {
                      description
                        "Table of Neighbors for a BMP Server";
                      list server-neighbor {
                        key "server-id";
                        description
                          "BMP Server under which neighbor info are
    needed";
                        container monitored-neighbors {
                          description
                            "List of Neighbors under which BMP Server is
    configured";
                          list monitored-neighbor {
                            description
                              "Information about a neighbor monitored by
    BMP server";
                            leaf neighbor-address {
                              type inet:ip-address-no-zone;
                              description
                                "IPv4 or IPv6 Address of the BGP Neighbor";
                            }
    
                            leaf vrf-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Name of VRF, the neighbor belongs to";
                            }
    
                            container bmp-neighbor-address {
                              description
                                "Address of Nbr that logs to BMP server";
                              container l2vpn-vpls-address {
                                when
                                  "../afi = 'l2vpn-vpls'" {
                                  description
                                    "../AFI = 'L2VPN_VPLS'";
                                }
                                description
                                  "L2VPN VPLS Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the protocol BGP";
                                }
                              }  // container l2vpn-vpls-address
    
                              container l2vpn-evpn-address {
                                when
                                  "../afi = 'l2vpn-evpn'" {
                                  description
                                    "../AFI = 'L2VPN_EVPN'";
                                }
                                description
                                  "L2VPN EVPN Addr";
                                leaf l2vpn-evpn-address {
                                  type yang:hex-string;
                                  description
                                    "l2vpn evpn address";
                                }
                              }  // container l2vpn-evpn-address
    
                              container l2vpn-mspw-address {
                                when
                                  "../afi = 'l2vpn-mspw'" {
                                  description
                                    "../AFI = 'L2VPN_MSPW'";
                                }
                                description
                                  "L2VPN MSPW Addr";
                                leaf l2vpn-address {
                                  type yang:hex-string;
                                  description
                                    "L2vpn address of the BGP mspw";
                                }
                              }  // container l2vpn-mspw-address
    
                              container ipv4-sr-policy-address {
                                when
                                  "../afi = 'ipv4-sr-policy'" {
                                  description
                                    "../AFI = 'IPv4SRPolicy'";
                                }
                                description
                                  "IPV4 Policy Addr";
                                leaf ipv4-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv4 address of thesrpolicy";
                                }
                              }  // container ipv4-sr-policy-address
    
                              container ipv6-sr-policy-address {
                                when
                                  "../afi = 'ipv6-sr-policy'" {
                                  description
                                    "../AFI = 'IPv6SRPolicy'";
                                }
                                description
                                  "IPV6 Policy Addr";
                                leaf ipv6-srpolicy-address {
                                  type yang:hex-string;
                                  description
                                    "IPv6 address of thesrpolicy";
                                }
                              }  // container ipv6-sr-policy-address
    
                              leaf afi {
                                type Bgp-afi;
                                description
                                  "AFI";
                              }
    
                              leaf ipv4-address {
                                when
                                  "../afi = 'ipv4'" {
                                  description
                                    "../AFI = 'IPv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Addr";
                              }
    
                              leaf ipv4-mcast-address {
                                when
                                  "../afi = 'ipv4-multicast'" {
                                  description
                                    "../AFI = 'IPv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Mcast Addr";
                              }
    
                              leaf ipv4-label-address {
                                when
                                  "../afi = 'ipv4-labeled'" {
                                  description
                                    "../AFI = 'IPv4Labeled'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 Label Addr";
                              }
    
                              leaf ipv4-tunnel-address {
                                when
                                  "../afi = 'ipv4-tunnel'" {
                                  description
                                    "../AFI = 'IPv4Tunnel'";
                                }
                                type Ipv4-tunnel-address;
                                description
                                  "IPv4 Tunnel";
                              }
    
                              leaf ipv4-mdt-address {
                                when
                                  "../afi = 'ipv4-mdt'" {
                                  description
                                    "../AFI = 'IPv4MDT'";
                                }
                                type Ipv4-mdt-address;
                                description
                                  "IPv4 MDT Addr";
                              }
    
                              leaf ipv4vpn-address {
                                when
                                  "../afi = 'vpnv4'" {
                                  description
                                    "../AFI = 'VPNv4'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Addr";
                              }
    
                              leaf ipv4vpna-mcastddress {
                                when
                                  "../afi = 'vpnv4-multicast'" {
                                  description
                                    "../AFI = 'VPNv4Multicast'";
                                }
                                type inet:ipv4-address;
                                description
                                  "IPv4 VPN Mcast Addr";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../afi = 'ipv6'" {
                                  description
                                    "../AFI = 'IPv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Addr";
                              }
    
                              leaf ipv6-mcast-address {
                                when
                                  "../afi = 'ipv6-multicast'" {
                                  description
                                    "../AFI = 'IPv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPV6 Mcast Addr";
                              }
    
                              leaf ipv6-label-address {
                                when
                                  "../afi = 'ipv6-labeled'" {
                                  description
                                    "../AFI = 'IPv6Labeled'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Label Addr";
                              }
    
                              leaf ipv6vpn-address {
                                when
                                  "../afi = 'vpnv6'" {
                                  description
                                    "../AFI = 'VPNv6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Addr";
                              }
    
                              leaf ipv6vpn-mcast-address {
                                when
                                  "../afi = 'vpnv6-multicast'" {
                                  description
                                    "../AFI = 'VPNv6Multicast'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 VPN Mcast Addr";
                              }
    
                              leaf rt-constraint-address {
                                when
                                  "../afi = 'rt-constraint'" {
                                  description
                                    "../AFI = 'RTConstraint'";
                                }
                                type Rt-constraint-address;
                                description
                                  "RT Constrt Addr";
                              }
    
                              leaf ipv6mvpn-address {
                                when
                                  "../afi = 'ipv6-mvpn'" {
                                  description
                                    "../AFI = 'IPv6MVPN'";
                                }
                                type Ipv6mvpn-address;
                                description
                                  "MVPN addr";
                              }
    
                              leaf ipv4mvpn-address {
                                when
                                  "../afi = 'ipv4-mvpn'" {
                                  description
                                    "../AFI = 'IPv4MVPN'";
                                }
                                type Ipv4mvpn-address;
                                description
                                  "MVPN4 addr";
                              }
    
                              leaf ls-ls-address {
                                when
                                  "../afi = 'ls-ls'" {
                                  description
                                    "../AFI = 'LS_LS'";
                                }
                                type Ls-ls-address;
                                description
                                  "LINKSTATE LINKSTATE Addr";
                              }
    
                              leaf ipv4-flowspec-address {
                                when
                                  "../afi = 'ipv4-flowspec'" {
                                  description
                                    "../AFI = 'IPv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 Flowspec Addr";
                              }
    
                              leaf ipv6-flowspec-address {
                                when
                                  "../afi = 'ipv6-flowspec'" {
                                  description
                                    "../AFI = 'IPv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 Flowspec Addr";
                              }
    
                              leaf ipv4vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv4-flowspec'" {
                                  description
                                    "../AFI = 'VPNv4Flowspec'";
                                }
                                type Ipv4-flowspec-address;
                                description
                                  "IPV4 VPN Flowspec Addr";
                              }
    
                              leaf ipv6vpn-flowspec-address {
                                when
                                  "../afi = 'vpnv6-flowspec'" {
                                  description
                                    "../AFI = 'VPNv6Flowspec'";
                                }
                                type Ipv6-flowspec-address;
                                description
                                  "IPV6 VPN Flowspec Addr";
                              }
                            }  // container bmp-neighbor-address
    
                            leaf bmp-neighbor-msg-pending {
                              type uint32;
                              description
                                "Number of messages pending to be sent to BMP
    Server from this Neighbor";
                            }
    
                            leaf bmp-neighbor-msg-dropped {
                              type uint32;
                              description
                                "Number of messages dropped sent from this
    neighbor";
                            }
    
                            leaf bmp-neighbor-peer-up-sent {
                              type uint32;
                              description
                                "Number of Peer UP Messages sent from this
    neighbor";
                            }
    
                            leaf bmp-neighbor-peer-down-sent {
                              type uint32;
                              description
                                "Number of Peer DOWN Messages sent from this
    neighbor";
                            }
    
                            leaf bmp-neighbor-route-monitor-sent {
                              type uint32;
                              description
                                "Number of Route Monitor Messages sent";
                            }
    
                            leaf bmp-neighbor-route-monitor-eor-sent {
                              type uint32;
                              description
                                "Number of Route Monitor EOR Messages sent";
                            }
    
                            leaf bmp-neighbor-path-update-sent {
                              type uint32;
                              description
                                "Number of Path UpdateMessages sent";
                            }
    
                            leaf bmp-neighbor-path-withdraw-sent {
                              type uint32;
                              description
                                "Number of Path WithdrawMessages sent";
                            }
    
                            leaf bmp-neighbor-path-update-drop {
                              type uint32;
                              description
                                "Number of path update drop ";
                            }
    
                            leaf bmp-neighbor-path-withdraw-drop {
                              type uint32;
                              description
                                "Number of path wdraw drop ";
                            }
    
                            leaf bmp-neighbor-upd-msg-sent {
                              type uint32;
                              description
                                "Number of update message sent";
                            }
    
                            leaf bmp-neighbor-wdraw-msg-sent {
                              type uint32;
                              description
                                "Number of withdraw message sent";
                            }
                          }  // list monitored-neighbor
                        }  // container monitored-neighbors
    
                        leaf server-id {
                          type uint32 {
                            range "1..8";
                          }
                          description
                            "BMP Server ID";
                        }
                      }  // list server-neighbor
                    }  // container server-neighbors
                  }  // container bmp
    
                  container neighbor-missing-eor-table {
                    description
                      "The BGP Neighbor missing eor table";
                    list neighbor {
                      key "neighbor-address";
                      description
                        "A BGP Neighbor table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      container send-notification-info {
                        description
                          "Information on the last notification sent";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container send-notification-info
    
                      container received-notification-info {
                        description
                          "Information on the last notification received";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container received-notification-info
    
                      container performance-statistics {
                        description
                          "BGP neighbor performance statistics";
                        leaf read-throttles {
                          type uint32;
                          description
                            "Number of partial read throttles";
                        }
    
                        leaf low-throttled-read {
                          type uint32;
                          description
                            "Num socket reads after nbrs crossed low
    threshold";
                        }
    
                        leaf high-throttled-read {
                          type uint32;
                          description
                            "Num of socket reads after nbr crossed high
    threshold";
                        }
    
                        leaf time-since-last-throttled-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read after being
    throttled";
                        }
    
                        leaf read-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to read inbound data";
                        }
    
                        leaf read-messages-count {
                          type uint32;
                          description
                            "Number of BGP messages read";
                        }
    
                        leaf data-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "No. of bytes of data read";
                        }
    
                        leaf io-read-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent reading inbound data (milliseconds)";
                        }
    
                        leaf write-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to write outbound data";
                        }
    
                        leaf data-bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes that havesent to peers";
                        }
    
                        leaf io-write-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent writing outbound data (milliseconds)";
                        }
    
                        leaf last-sent-seq-no {
                          type uint32;
                          description
                            "Seq No of the last sent byte";
                        }
    
                        leaf write-subgroup-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process sub-group
    message list";
                        }
    
                        leaf write-subgroup-messages-count {
                          type uint32;
                          description
                            "Number of sub-group msgs processed";
                        }
    
                        leaf subgroup-list-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sub-group message list
    (milliseconds)";
                        }
    
                        leaf write-queue-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process write queue";
                        }
    
                        leaf write-queue-messages-count {
                          type uint32;
                          description
                            "Number of write queue messages processed";
                        }
    
                        leaf write-queue-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing write queue (milliseconds)";
                        }
    
                        leaf inbound-update-messages {
                          type uint32;
                          description
                            "Number of inbound update messages processed";
                        }
    
                        leaf inbound-update-messages-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing inbound update messages
    (milliseconds)";
                        }
    
                        leaf maximum-read-size {
                          type uint32;
                          units "millisecond";
                          description
                            "Size of largest socket (milliseconds)";
                        }
    
                        leaf actives {
                          type uint32;
                          description
                            "Number of retried Active opens for this neighbor";
                        }
    
                        leaf failed-post-actives {
                          type uint32;
                          description
                            "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                        }
    
                        leaf passives {
                          type uint32;
                          description
                            "Number of retried Passive opens for this
    neighbor";
                        }
    
                        leaf rejected-passives {
                          type uint32;
                          description
                            "Number of rejected Passive opens for this
    neighbor";
                        }
    
                        leaf active-collision {
                          type uint32;
                          description
                            "Number of Closed Active connections for this
    neighbor due to collision ";
                        }
    
                        leaf passive-collision {
                          type uint32;
                          description
                            "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                        }
    
                        leaf control-to-read-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger read
    thread";
                        }
    
                        leaf control-to-write-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger write
    thread";
                        }
    
                        leaf network-status {
                          type uint32;
                          description
                            "Socket status, TRUE if socket closed";
                        }
    
                        leaf reset-flags {
                          type uint32;
                          description
                            "Reset flags, per thread";
                        }
    
                        leaf nbr-flags {
                          type uint32;
                          description
                            "Nbr flags, per thread";
                        }
    
                        leaf nbr-fd {
                          type int32;
                          description
                            "Primary FD, per nbr";
                        }
    
                        leaf reset-retries {
                          type uint8;
                          description
                            "Reset Retries, per nbr";
                        }
    
                        leaf sync-flags {
                          type uint32;
                          description
                            "Sync flags, per nbr";
                        }
    
                        leaf nsr-oper-down-count {
                          type uint32;
                          description
                            "Number of times NSR scoped sync has been done";
                        }
    
                        leaf last-nsr-scoped-sync {
                          type uint32;
                          description
                            "Last time NSR scoped syncwas done for the
    neighbor";
                        }
                      }  // container performance-statistics
    
                      container message-statistics {
                        description
                          "BGP neighbor message statistics";
                        container open {
                          description "Open";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container open
    
                        container notification {
                          description
                            "BGP neighbor messagestatistics notification";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container notification
    
                        container update {
                          description
                            "BGP neighbor message statisticsupdate";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container update
    
                        container keepalive {
                          description
                            "Message sent between BGP neighborsto check the
    link between is operating";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container keepalive
    
                        container route-refresh {
                          description
                            "BGP neighbor message statisticsroute refresh";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container route-refresh
    
                        container total {
                          description "Total";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container total
                      }  // container message-statistics
    
                      container tcp-init-sync-time-spec {
                        description
                          "Time When neighbor entered TCP Init Sync";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-time-spec
    
                      container tcp-init-sync-phase-two-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Phase
    Two";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-phase-two-time-spec
    
                      container tcp-init-sync-done-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Done";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-done-time-spec
    
                      container graceful-maintenance {
                        description
                          "Globally activated BGp neighborfor graceful
    shutdown";
                        leaf gshut-exists {
                          type boolean;
                          description
                            "Graceful Maintenance enabled";
                        }
    
                        leaf gshut-local-active {
                          type boolean;
                          description
                            "Graceful Maintenance locally activated";
                        }
    
                        leaf gshut-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated";
                        }
    
                        leaf gshut-locpref-set {
                          type boolean;
                          description
                            "Graceful Maintenance Local Preference set";
                        }
    
                        leaf gshut-locpref {
                          type uint32;
                          description
                            "Graceful Maintenance Local Preference";
                        }
    
                        leaf gshut-prepends {
                          type uint8;
                          description
                            "Graceful Maintenance number of AS prepends";
                        }
    
                        leaf gshut-interface-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Interface";
                        }
    
                        leaf gshut-location-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Location";
                        }
                      }  // container graceful-maintenance
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP neighbor description";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf has-internal-link {
                        type boolean;
                        description
                          "Internal link to neighbor";
                      }
    
                      leaf is-external-neighbor-not-directly-connected {
                        type boolean;
                        description
                          "Flag to indicate neighbor is external and not
    directly connected";
                      }
    
                      leaf messages-received {
                        type uint32;
                        description
                          "Number of messages received";
                      }
    
                      leaf messages-sent {
                        type uint32;
                        description
                          "Number of messages sent";
                      }
    
                      leaf update-messages-in {
                        type uint32;
                        description
                          "No. of update msgs received";
                      }
    
                      leaf update-messages-out {
                        type uint32;
                        description
                          "No. of update messages sent";
                      }
    
                      leaf messages-queued-in {
                        type uint32;
                        description
                          "No. of msgs on receive queue";
                      }
    
                      leaf messages-queued-out {
                        type uint32;
                        description
                          "No. of messages on send queue";
                      }
    
                      leaf connection-established-time {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) that the connection has been
    established";
                      }
    
                      leaf connection-state {
                        type Bgp-conn-state;
                        description
                          "State of connection";
                      }
    
                      leaf previous-connection-state {
                        type uint32;
                        description
                          "Previous state of connection";
                      }
    
                      leaf connection-admin-status {
                        type uint32;
                        description
                          "Administrative status of connection";
                      }
    
                      leaf open-check-error-code {
                        type Bgp-open-check-err;
                        description
                          "Error code for open check failure forBGP
    neighbor";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf connection-local-port {
                        type uint32;
                        description
                          "Local port for the connection";
                      }
    
                      leaf connection-remote-port {
                        type uint32;
                        description
                          "Remote port for the connection";
                      }
    
                      leaf neighbor-interface-handle {
                        type uint32;
                        description
                          "Interface Handle of Neighbor";
                      }
    
                      leaf reset-notification-sent {
                        type boolean;
                        description
                          "Notification was sent during last reset";
                      }
    
                      leaf is-administratively-shut-down {
                        type boolean;
                        description
                          "Flag to indicate if BGP neighbor is
    administratively shut down";
                      }
    
                      leaf is-neighbor-max-prefix-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down because it exceeded max prfx
    count";
                      }
    
                      leaf is-out-of-memory-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down during a SEVERE low memory
    condition";
                      }
    
                      leaf is-out-of-memory-forced-up {
                        type boolean;
                        description
                          "Neighbor forced up during a low memory condition";
                      }
    
                      leaf is-ebgp-peer-as-league {
                        type boolean;
                        description
                          "EBGP peer belongs to AS League";
                      }
    
                      leaf is-ebgp-peer-common-admin {
                        type boolean;
                        description
                          "EBGP peer with common administation";
                      }
    
                      leaf ttl-security-enabled {
                        type boolean;
                        description
                          "TTL Security enabled";
                      }
    
                      leaf suppress4-byte-as {
                        type boolean;
                        description
                          "Suppress 4byteas capability";
                      }
    
                      leaf bfd-session-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-created-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-enable-mode {
                        type Bgp-bfd-enable-mode;
                        description
                          "BFD enable mode for this peer";
                      }
    
                      leaf bfd-minintervalval {
                        type uint32;
                        description
                          "BFD Mininterval for this peer";
                      }
    
                      leaf bfd-multiplierval {
                        type uint32;
                        description
                          "BFD Multiplier for this peer";
                      }
    
                      leaf bfd-state-ts {
                        type uint64;
                        description
                          "Timestamp since when nbr is in this bfd state";
                      }
    
                      leaf router-id {
                        type inet:ipv4-address;
                        description
                          "Router ID for the neighbor";
                      }
    
                      leaf negotiated-protocol-version {
                        type uint16;
                        description
                          "Negotiated protocol version with the BGP
    neighbor";
                      }
    
                      leaf ebgp-time-to-live {
                        type uint32;
                        description
                          "Maximum number of hops for external BGP neighbor";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf tcpmss {
                        type uint32;
                        description
                          "Neighbor TCP Maximum Segment
    size";
                      }
    
                      leaf msg-log-in {
                        type uint32;
                        description
                          "Message in log count";
                      }
    
                      leaf msg-log-out {
                        type uint32;
                        description
                          "Message out log count";
                      }
    
                      leaf neighbor-local-as {
                        type uint32;
                        description
                          "Local AS configured on the neighbor";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Option to not prepend the Local AS to
    announcements";
                      }
    
                      leaf is-capability-negotiation-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                      }
    
                      leaf is-capability-negotiation-performed {
                        type boolean;
                        description
                          "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                      }
    
                      leaf is-route-refresh-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh was received";
                      }
    
                      leaf is-route-refresh-old-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                      }
    
                      leaf is-gr-aware {
                        type boolean;
                        description
                          "GR awareness received";
                      }
    
                      leaf is4-byte-as-capability-received {
                        type boolean;
                        description
                          "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                      }
    
                      leaf is4-byte-as-capability-sent {
                        type boolean;
                        description
                          "4-byte AScapability Snt";
                      }
    
                      leaf multi-protocol-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if multi-protocol capability
    has been received";
                      }
    
                      leaf hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) negotiated for this
    connection";
                      }
    
                      leaf keep-alive-time {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) negotiated for this
    connection";
                      }
    
                      leaf configured-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-keepalive {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-min-acc-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                      }
    
                      leaf min-advertise-interval {
                        type uint32;
                        units "second";
                        description
                          "Minimum advertisement interval, secs part";
                      }
    
                      leaf min-advertise-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement interval, msecs part";
                      }
    
                      leaf min-origination-interval {
                        type uint16;
                        units "second";
                        description
                          "Minimum origination interval (in secs)";
                      }
    
                      leaf connect-retry-interval {
                        type uint16;
                        units "second";
                        description
                          "Time (in secs) for connect retry timer";
                      }
    
                      leaf time-since-last-update {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last update message was
    received";
                      }
    
                      leaf time-since-last-read {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read";
                      }
    
                      leaf time-since-last-read-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read before last reset";
                      }
    
                      leaf time-last-cb {
                        type uint64;
                        description "CB";
                      }
    
                      leaf time-last-cb-reset {
                        type uint32;
                        description
                          "Last CB before reset";
                      }
    
                      leaf time-last-fb {
                        type uint64;
                        description "FB";
                      }
    
                      leaf count-last-write {
                        type uint32;
                        description "Count";
                      }
    
                      leaf time-since-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write";
                      }
    
                      leaf attempted-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of last write";
                      }
    
                      leaf actual-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of last write";
                      }
    
                      leaf time-since-second-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in seconds) elapsed since the second last
    write event";
                      }
    
                      leaf attempted-second-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write";
                      }
    
                      leaf actual-second-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of second last write";
                      }
    
                      leaf time-since-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of last write before reset";
                      }
    
                      leaf actual-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of last write before reset";
                      }
    
                      leaf time-since-second-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write before reset";
                      }
    
                      leaf actual-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of second last write before reset";
                      }
    
                      leaf last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write thread event";
                      }
    
                      leaf second-last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last write thread
    event";
                      }
    
                      leaf last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last KA timer expiry before
    reset";
                      }
    
                      leaf second-last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last KA timer expiry
    before reset";
                      }
    
                      leaf last-k-anotsent-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that KA was
    not sent before reset";
                      }
    
                      leaf last-k-aerror-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                      }
    
                      leaf last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the last KA timer start
    before reset";
                      }
    
                      leaf second-last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the second last KA timer
    start before reset";
                      }
    
                      leaf connection-up-count {
                        type uint32;
                        description
                          "Number of times the connection was established";
                      }
    
                      leaf connection-down-count {
                        type uint32;
                        description
                          "Number of times connection was dropped";
                      }
    
                      leaf time-since-connection-last-dropped {
                        type uint32;
                        units "second";
                        description
                          "Time since the connection last went down
    (seconds)";
                      }
    
                      leaf reset-reason {
                        type Bgp-reset-reason-index;
                        description
                          "Reason for last connection reset";
                      }
    
                      leaf peer-reset-reason {
                        type Bgp-peer-reset-reason-index;
                        description
                          "Reason for last peer close event";
                      }
    
                      leaf peer-error-code {
                        type uint32;
                        description
                          "If peer closed, error received from transport";
                      }
    
                      leaf last-notify-error-code {
                        type uint8;
                        description
                          "Code for the last error notification seen on the
    connection";
                      }
    
                      leaf last-notify-error-subcode {
                        type uint8;
                        description
                          "Error subcode of the last error notification
    seen on the connection";
                      }
    
                      leaf error-notifies-received {
                        type uint32;
                        description
                          "Number of error notifications received on the
    connection";
                      }
    
                      leaf error-notifies-sent {
                        type uint32;
                        description
                          "Number of error notifications sent on the
    connection";
                      }
    
                      leaf remote-as-number {
                        type uint32;
                        description
                          "Remote AS number of BGP neighbor";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Bandwidth of link to single-hop eBGP peer";
                      }
    
                      leaf ebgp-recv-dmz {
                        type boolean;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Ebgp send dmz link bw mode";
                      }
    
                      leaf tos-type {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf tcp-session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "The TCP mode to be used to set up BGP session
    with the neighbor";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf standby-rp {
                        type boolean;
                        description
                          "Standby RP socket inited for Active Open";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf graceful-restart-enabled-nbr {
                        type boolean;
                        description
                          "Neighbor supports graceful-restart";
                      }
    
                      leaf gr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor restart time (in seconds)";
                      }
    
                      leaf gr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor stale-path time (in seconds)";
                      }
    
                      leaf fssn-offset {
                        type uint32;
                        description
                          "First standby SeqNo offset";
                      }
    
                      leaf fpbsn-offset {
                        type uint32;
                        description
                          "First standby PDU boundary SeqNo offset";
                      }
    
                      leaf last-ackd-seq-no {
                        type uint32;
                        description
                          "SeqNo of the last Ackd byte";
                      }
    
                      leaf bytes-written {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes written by write thread";
                      }
    
                      leaf bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes read";
                      }
    
                      leaf socket-read-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Total read bytes value insocket-lib";
                      }
    
                      leaf is-read-disabled {
                        type boolean;
                        description
                          "If true, socket read isdisabled";
                      }
    
                      leaf update-bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total number of bytes readcorresponding to
    update messages";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      leaf is-passive-close {
                        type boolean;
                        description
                          "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                      }
    
                      leaf nbr-enforce-first-as {
                        type boolean;
                        description
                          "Neighbor enforce first AS";
                      }
    
                      leaf active-bmp-servers {
                        type uint8;
                        description
                          "BMP Servers to which the neighbor sends logs";
                      }
    
                      leaf nbr-cluster-id {
                        type uint32;
                        description "Cluster id";
                      }
    
                      leaf nbr-in-cluster {
                        type uint8;
                        description
                          "Type of cluster_id:undefined/number/Ip address";
                      }
    
                      leaf ignore-connected {
                        type boolean;
                        description
                          "If true, the VPN client isan IBGP CE peer";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf io-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for io
    control";
                      }
    
                      leaf read-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for read";
                      }
    
                      leaf write-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for write";
                      }
    
                      leaf discard-data-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Remaining discard data (bytes) on Standby";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
    
                      leaf local-as-dual-as-mode-native {
                        type boolean;
                        description
                          "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                      }
    
                      leaf egress-peer-engineering-enabled {
                        type boolean;
                        description
                          "Indicates if Egress Peer Engineering is enabled";
                      }
    
                      leaf discard-as4-path {
                        type uint32;
                        description
                          "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                      }
    
                      leaf rpki-disable {
                        type boolean;
                        description
                          "Prefix validation disabled";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Prefix v. use validity";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Prefix v. allow invalid";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Prefix v. signal ibgp";
                      }
    
                      leaf dynamic-neighbor {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                      }
    
                      leaf merge-inbound-safi1and4-updates {
                        type boolean;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf is-capability-enhe-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                      }
    
                      leaf delete-time-remaining {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) remaining for deletion";
                      }
    
                      leaf sn-bfd-discriminator {
                        type uint32;
                        description
                          "Local Discriminator for the associated BFD
    session";
                      }
    
                      list af-data {
                        max-elements 25;
                        description
                          "Address family specific neighbor data";
                        container neighbor-af-performance-statistics {
                          description
                            "Neighbor AF statistics";
                          leaf sub-group-pending-message-count {
                            type uint32;
                            description
                              "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                          }
    
                          leaf processed-messages {
                            type uint32;
                            description
                              "Number of messages processed from the neighbor's
    write queue";
                          }
    
                          leaf sent-messages {
                            type uint32;
                            description
                              "Number of messages sent from the neighbor's
    write queue";
                          }
    
                          leaf split-horizon-update-transmit {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-update-blocked {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were blocked";
                          }
    
                          leaf split-horizon-withdraw-transmit {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-withdraw-blocked {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were blocked";
                          }
                        }  // container neighbor-af-performance-statistics
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf is-neighbor-route-reflector-client {
                          type boolean;
                          description
                            "Nbr is a route reflector client";
                        }
    
                        leaf is-legacy-pe-rt {
                          type boolean;
                          description
                            "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                        }
    
                        leaf is-neighbor-af-capable {
                          type boolean;
                          description
                            "Address family capability received from neighbor";
                        }
    
                        leaf is-soft-reconfiguration-inbound-allowed {
                          type boolean;
                          description
                            "Inbound soft reconfiguration allowed";
                        }
    
                        leaf is-use-soft-reconfiguration-always-on {
                          type boolean;
                          description
                            "Soft reconf overrides route refresh";
                        }
    
                        leaf remove-private-as-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to this
    nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                        }
    
                        leaf remove-private-as-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                        }
    
                        leaf flowspec-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                        }
    
                        leaf flowspec-redirect-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                        }
    
                        leaf orr-group-name {
                          type string;
                          description
                            "ORR Group Name";
                        }
    
                        leaf orr-group-index {
                          type uint32;
                          description
                            "ORR Group Index";
                        }
    
                        leaf is-orr-root-address-configured {
                          type boolean;
                          description
                            "ORR Root address configuredfor the neighbor
    connection";
                        }
    
                        leaf advertise-afi {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-reorg {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-disable {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf encapsulation-type {
                          type uint32;
                          description
                            "BGP neighbor address-familyencapsulation type";
                        }
    
                        leaf advertise-rt-type {
                          type uint8;
                          description
                            "BGP neighbor address-familyadvertise route
    target type";
                        }
    
                        leaf advertise-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of default VRF import disable";
                        }
    
                        leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 default VRF import disable";
                        }
    
                        leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 default VRF import disable";
                        }
    
                        leaf advertise-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of VRF re-import disable";
                        }
    
                        leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 VRF re-import disable";
                        }
    
                        leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 VRF re-import disable";
                        }
    
                        leaf advertise-afi-eo-r-ready {
                          type boolean;
                          description
                            "EoR Can be sent for Advertise AFI";
                        }
    
                        leaf always-use-next-hop-local {
                          type boolean;
                          description
                            "Local router always used for next-hop";
                        }
    
                        leaf sent-community-to-neighbor {
                          type boolean;
                          description
                            "Community attribute sent to neighbor";
                        }
    
                        leaf sent-gshut-community-to-neighbor {
                          type boolean;
                          description
                            "GSHUT Community attribute sent to neighbor";
                        }
    
                        leaf sent-extended-community-to-neighbor {
                          type boolean;
                          description
                            "Extended community attribute sent to neighbor";
                        }
    
                        leaf default-originate-vpn-index {
                          type uint32;
                          description
                            "Default orig vpn indexto find bitfield for a nbr
    af";
                        }
    
                        leaf neighbor-default-originate {
                          type boolean;
                          description
                            "Neighbor originates default";
                        }
    
                        leaf is-orf-sent {
                          type boolean;
                          description
                            "Outbound route filter sent to neighbor";
                        }
    
                        leaf is-update-deferred {
                          type boolean;
                          description
                            "Update deferred until ORF/route refresh received";
                        }
    
                        leaf is-orf-send-scheduled {
                          type boolean;
                          description
                            "Scheduled to send prefix based ORF";
                        }
    
                        leaf update-group-number {
                          type uint32;
                          description
                            "Update group index";
                        }
    
                        leaf filter-group-index {
                          type uint32;
                          description
                            "BGP neighbor address-familyfilter group index";
                        }
    
                        leaf is-update-throttled {
                          type boolean;
                          description
                            "Updates Throttled becausewrite limit is reached";
                        }
    
                        leaf is-update-leaving {
                          type boolean;
                          description
                            "Nbr leaving update-groupto another";
                        }
    
                        leaf vpn-update-gen-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf vpn-update-gen-trigger-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf is-addpath-send-operational {
                          type boolean;
                          description
                            "Addpath is operational on send-side";
                        }
    
                        leaf is-addpath-receive-operational {
                          type boolean;
                          description
                            "Addpath is operational on receive-side";
                        }
    
                        leaf neighbor-version {
                          type uint32;
                          description
                            "BGP neighbor version for theaddress-family";
                        }
    
                        leaf weight {
                          type uint32;
                          description
                            "Weight for this AF";
                        }
    
                        leaf max-prefix-limit {
                          type uint32;
                          description
                            "Max limit for # of prefixes";
                        }
    
                        leaf use-max-prefix-warning-only {
                          type boolean;
                          description
                            "Warning only when maximum prefix limit reached";
                        }
    
                        leaf max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths when prefix limit reached";
                        }
    
                        leaf max-prefix-exceed-discard-paths {
                          type boolean;
                          description
                            "Did we discard extra paths when prefix limit
    reached";
                        }
    
                        leaf max-prefix-threshold-percent {
                          type uint8;
                          units "percentage";
                          description
                            "Percentage of maximum no. of prefixes at which
    to generate warning";
                        }
    
                        leaf max-prefix-discard-paths-count {
                          type uint32;
                          description
                            "Number of discarded paths after prefix limit
    reached";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint16;
                          units "minute";
                          description
                            "Time interval (in minutes) after which peering
    session will be reestablished";
                        }
    
                        leaf prefixes-accepted {
                          type uint32;
                          description
                            "Number of prefixes acceptedfrom this BGP
    neighbor";
                        }
    
                        leaf prefixes-synced {
                          type uint32;
                          description
                            "Number of prefixes synced to standby";
                        }
    
                        leaf prefixes-withdrawn-not-found {
                          type uint32;
                          description
                            "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                        }
    
                        leaf prefixes-denied {
                          type uint32;
                          description
                            "Number of prefixes denied forthis BGP neighbor";
                        }
    
                        leaf prefixes-denied-no-policy {
                          type uint32;
                          description
                            "No. of prefixes denied because there was no
    inbound policy";
                        }
    
                        leaf prefixes-denied-rt-permit {
                          type uint32;
                          description
                            "No. of prefixes denied because RT extended
    community is not imported";
                        }
    
                        leaf prefixes-denied-orf-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by prefix based ORF
    policy";
                        }
    
                        leaf prefixes-denied-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by inbound policy";
                        }
    
                        leaf number-of-bestpaths {
                          type uint32;
                          description
                            "No. of bestpaths from this neighbor";
                        }
    
                        leaf number-of-best-externalpaths {
                          type uint32;
                          description
                            "No. of best-external paths from this neighbor";
                        }
    
                        leaf prefixes-advertised {
                          type uint32;
                          description
                            "Number of prefixes advertisedfor this BGP
    neighbor";
                        }
    
                        leaf prefixes-be-advertised {
                          type uint32;
                          description
                            "Number of BE prefixes advertised";
                        }
    
                        leaf prefixes-suppressed {
                          type uint32;
                          description
                            "Number of prefixes suppressed";
                        }
    
                        leaf prefixes-withdrawn {
                          type uint32;
                          description
                            "Number of prefixes withdrawn";
                        }
    
                        leaf is-peer-orf-capable {
                          type boolean;
                          description
                            "Peer has outbound route filter capability";
                        }
    
                        leaf is-advertised-orf-send {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability advertised";
                        }
    
                        leaf is-received-orf-send-capable {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability received";
                        }
    
                        leaf is-advertised-orf-receive {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    advertised";
                        }
    
                        leaf is-received-orf-receive-capable {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    received";
                        }
    
                        leaf is-advertised-graceful-restart {
                          type boolean;
                          description
                            "Graceful Restart Capability advertised";
                        }
    
                        leaf is-graceful-restart-state-flag {
                          type boolean;
                          description
                            "Restart state flag enabled";
                        }
    
                        leaf is-received-graceful-restart-capable {
                          type boolean;
                          description
                            "Graceful Restart Capability received";
                        }
    
                        leaf is-add-path-send-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                        }
    
                        leaf is-add-path-send-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability
    received from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-received {
                          type boolean;
                          description
                            "Flag to indicate addpath receive capability
    received from BGPneighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-received {
                          type boolean;
                          description
                            "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-sent {
                          type boolean;
                          description
                            "Extended nexhop encoding capability Sent";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time advertised (seconds)";
                        }
    
                        leaf local-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Local Restart time (seconds)";
                        }
    
                        leaf stale-path-timeout {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout-value {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf neighbor-preserved-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate neighbor preserved in
    forwarding state";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-configured {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-sent {
                          type uint32;
                          units "second";
                          description
                            "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          units "second";
                          description
                            "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-capability-received {
                          type boolean;
                          description
                            "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-received {
                          type uint32;
                          units "second";
                          description
                            "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                        }
    
                        leaf neighbor-preserved-long-lived-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-capable {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-time-remaining {
                          type uint32;
                          description
                            "Remaining long-lived graceful-restart time";
                        }
    
                        leaf route-refreshes-received {
                          type uint32;
                          description
                            "Number of route refresh requests received";
                        }
    
                        leaf route-refreshes-sent {
                          type uint32;
                          description
                            "Number of route refresh requests sent";
                        }
    
                        leaf refresh-target-version {
                          type uint32;
                          description
                            "Target version for refresh update generation";
                        }
    
                        leaf refresh-version {
                          type uint32;
                          description
                            "Version till which refresh updates have been
    generated";
                        }
    
                        leaf refresh-acked-version {
                          type uint32;
                          description
                            "Version acked by the peer for refresh updates
    sent";
                        }
    
                        leaf is-prefix-orf-present {
                          type boolean;
                          description
                            "Outbound route filter prefix ORF present";
                        }
    
                        leaf orf-entries-received {
                          type uint32;
                          description
                            "Number of outbound route filter entries received";
                        }
    
                        leaf is-default-originate-sent {
                          type boolean;
                          description
                            "Default origination update sent";
                        }
    
                        leaf route-policy-prefix-orf {
                          type string;
                          description
                            "Prefix based ORF for incoming updates";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Incoming route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outgoing route policy name";
                        }
    
                        leaf route-policy-default-originate {
                          type string;
                          description
                            "Default-originate route policy name";
                        }
    
                        leaf is-neighbor-ebgp-without-inbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured inbound policy";
                        }
    
                        leaf is-neighbor-ebgp-without-outbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured outbound policy";
                        }
    
                        leaf is-upd-orig-loopchk-disable-set {
                          type boolean;
                          description
                            "Flag to indicate if update out originator
    loopcheck is disabled";
                        }
    
                        leaf is-as-override-set {
                          type boolean;
                          description
                            "Flag to indicate as override set for BGP
    neighbor";
                        }
    
                        leaf is-allow-as-in-set {
                          type boolean;
                          description
                            "Allowas-in set ";
                        }
    
                        leaf allow-as-in-count {
                          type uint32;
                          description
                            "Allowas-in count config";
                        }
    
                        leaf address-family-long-lived-time {
                          type uint32;
                          description
                            "AF specific Long-lived-time config";
                        }
    
                        leaf eo-r-received-in-read-only {
                          type boolean;
                          description
                            "An EoR was received while in read-only mode";
                        }
    
                        leaf acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo";
                        }
    
                        leaf synced-acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf outstanding-version {
                          type uint32;
                          description
                            "No. of all outstanding version objects waiting
    for ack from the peer";
                        }
    
                        leaf outstanding-refresh-version {
                          type uint32;
                          description
                            "No. of only refresh version objects waiting for
    ack from the peer";
                        }
    
                        leaf outstanding-version-max {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf is-aigp-set {
                          type boolean;
                          description
                            "AIGP set ";
                        }
    
                        leaf is-rt-present {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf is-rt-present-standby {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf accept-own-enabled {
                          type boolean;
                          description
                            "Flag to indicate if Accept-Own is enabled";
                        }
    
                        leaf selective-multipath-eligible {
                          type boolean;
                          description
                            "Flag to indicate if selective multipath is
    eligible";
                        }
    
                        leaf afrpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf afrpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf afrpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf afrpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf is-advertise-permanent-network {
                          type boolean;
                          description
                            "Flag to indicate if advertise is permanent
    network";
                        }
    
                        leaf is-send-mcast-attr {
                          type boolean;
                          description
                            "Send Mcast Attr";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Import Stitching enabled";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Import Reoriginate enabled";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Import Reoriginate Stitching enabled";
                        }
    
                        leaf advertise-v4-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV4";
                        }
    
                        leaf advertise-v6-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV6";
                        }
    
                        leaf advertise-local-labeled-route-unicast {
                          type boolean;
                          description
                            "Advertise routes with ";
                        }
    
                        leaf prefixes-denied-non-cumulative {
                          type uint32;
                          description
                            "No. of prefixes exactly denied (non cumulative)";
                        }
    
                        leaf enable-label-stack {
                          type boolean;
                          description
                            "Flag to indicate if label stack is enabled";
                        }
    
                        leaf ot-prov-track-enable {
                          type boolean;
                          description
                            "OT Provider Tracking enabled";
                        }
    
                        leaf ot-prov-track-state {
                          type Bgp-track-state;
                          description
                            "OT Provider Tracking state";
                        }
    
                        leaf ot-prov-track-in-gr-state {
                          type boolean;
                          description
                            "OT Provider Track in GR State";
                        }
    
                        leaf ot-prov-track-eor-tmr-running {
                          type boolean;
                          description
                            "OT Provider Track EOR timer running";
                        }
    
                        leaf slow-peer-flags {
                          type uint8;
                          description
                            "Slow Peer Flags ";
                        }
    
                        leaf slow-peer-static {
                          type boolean;
                          description
                            "Static Slow Peer ";
                        }
    
                        leaf slow-peer-dynamic {
                          type boolean;
                          description
                            "Dynamic Slow Peer";
                        }
    
                        leaf slow-peer-permanent {
                          type boolean;
                          description
                            "Permanent Slow Peer";
                        }
    
                        leaf slow-peer-count {
                          type uint16;
                          description
                            "Slow peer count";
                        }
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list extended-community-standby {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community-standby
                      }  // list af-data
                    }  // list neighbor
                  }  // container neighbor-missing-eor-table
    
                  container process-info {
                    description
                      "A Process instance table entry";
                    container global {
                      description
                        "Global information";
                      leaf process-instance-node {
                        type string;
                        description
                          "Node the process instance is on";
                      }
    
                      leaf restart-count {
                        type uint32;
                        description
                          "No. of times BGP has started";
                      }
    
                      leaf path-attributes-entry-count {
                        type uint32;
                        description
                          "No. of path attribute entries";
                      }
    
                      leaf path-attribute-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (bytes) used by path attribute entries";
                      }
    
                      leaf as-path-entry-count {
                        type uint32;
                        description
                          "Number of AS-path entries";
                      }
    
                      leaf as-path-entries-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by AS-path entries";
                      }
    
                      leaf community-entry-count {
                        type uint32;
                        description
                          "Number of community entries";
                      }
    
                      leaf community-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by community entries";
                      }
    
                      leaf extended-community-entry-count {
                        type uint32;
                        description
                          "Number of extended community entries";
                      }
    
                      leaf extended-community-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by extended community
    entries";
                      }
    
                      leaf pe-distinguisher-label-entry-count {
                        type uint32;
                        description
                          "Number of PE distinguisher label entries";
                      }
    
                      leaf pe-distinguisher-label-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by PE distinguisher
    labels entries";
                      }
    
                      leaf pta-entry-count {
                        type uint32;
                        description
                          "Number of PTA entries";
                      }
    
                      leaf pta-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by PTA entries";
                      }
    
                      leaf tunnel-encap-entry-count {
                        type uint32;
                        description
                          "Number of Tunnel encap entries";
                      }
    
                      leaf tunnel-encap-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by tunnel encap entries";
                      }
    
                      leaf ribrnh-entry-count {
                        type uint32;
                        description
                          "Number of RIBRNH entries";
                      }
    
                      leaf ribrnh-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by RIBRNH entries";
                      }
    
                      leaf ppmp-entry-count {
                        type uint32;
                        description
                          "Number of PPMP entries";
                      }
    
                      leaf ppmp-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by PPMP entries";
                      }
    
                      leaf route-reflectors {
                        type uint32;
                        description
                          "Number of route reflector info entries";
                      }
    
                      leaf route-reflector-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by route reflector info
    entries";
                      }
    
                      leaf nexthop-count {
                        type uint32;
                        description
                          "Number of nexthop attribute info entries";
                      }
    
                      leaf nexthop-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by nexthop attribute info
    entries";
                      }
    
                      leaf lsattr-entry-count {
                        type uint32;
                        description
                          "Number of LASATTR entries";
                      }
    
                      leaf lsattr-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by LSATTR entries";
                      }
    
                      leaf attr-set-entry-count {
                        type uint32;
                        description
                          "Number of ATTRSET entries";
                      }
    
                      leaf attr-set-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by ATTRSET entries";
                      }
    
                      leaf prefix-sid-label-index-count {
                        type uint32;
                        description
                          "Number of Prefix-SID LabelIndex entries";
                      }
    
                      leaf prefix-sid-label-index-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID LabelIndex
    entries";
                      }
    
                      leaf prefix-sid-orig-srgb-count {
                        type uint32;
                        description
                          "Number of Prefix-SID OrigSRGB entries";
                      }
    
                      leaf prefix-sid-orig-srgb-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID OrigSRGB
    entries";
                      }
    
                      leaf prefix-sid-srv6-layer3-svc-count {
                        type uint32;
                        description
                          "Number of Prefix-SID SRv6L3SVC entries";
                      }
    
                      leaf prefix-sid-srv6-layer3-svc-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID SRv6L3SVC
    entries";
                      }
    
                      leaf prefix-sid-srv6-layer2-svc-count {
                        type uint32;
                        description
                          "Number of Prefix-SID SRv6L2SVC entries";
                      }
    
                      leaf prefix-sid-srv6-layer2-svc-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID SRv6L2SVC
    entries";
                      }
    
                      leaf prefix-sid-unk-tl-vs-count {
                        type uint32;
                        description
                          "Number of Prefix-SID UnkTLVs entries";
                      }
    
                      leaf prefix-sid-unk-tl-vs-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by Prefix-SID UnkTLVs
    entries";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local autonomous system number";
                      }
    
                      leaf total-vrf-count {
                        type uint32;
                        description
                          "Total count of VRFs";
                      }
    
                      leaf neighbors-count-total {
                        type uint32;
                        description
                          "Total number of neighbors";
                      }
    
                      leaf established-neighbors-count-total {
                        type uint32;
                        description
                          "Total number of neighbors in established state";
                      }
    
                      leaf sn-num-non-dflt-vrf-nbrs {
                        type uint32;
                        description
                          "Number of neighbors in all non-default VRFs";
                      }
    
                      leaf sn-num-non-dflt-vrf-nbrs-estab {
                        type uint32;
                        description
                          "Number of established neighbors in all
    non-default VRFs";
                      }
    
                      leaf large-community-entry-count {
                        type uint32;
                        description
                          "Number of large community entries";
                      }
    
                      leaf large-community-memory {
                        type uint32;
                        units "byte";
                        description
                          "Memory (in bytes) used by large community
    entries";
                      }
    
                      list pool-size {
                        max-elements 15;
                        description
                          "BGP process maximum pool size";
                        leaf entry {
                          type uint32;
                          description
                            "BGP process maximum pool size";
                        }
                      }  // list pool-size
    
                      list pool-alloc-count {
                        max-elements 15;
                        description
                          "Number of bytes of memory forpool allocation";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memory forpool allocation";
                        }
                      }  // list pool-alloc-count
    
                      list pool-free-count {
                        max-elements 15;
                        description
                          "Number of bytes of memory freedin pool";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memory freedin pool";
                        }
                      }  // list pool-free-count
    
                      list msg-log-pool-size {
                        max-elements 5;
                        description
                          "Number of messages present in pool";
                        leaf entry {
                          type uint32;
                          description
                            "Number of messages present in pool";
                        }
                      }  // list msg-log-pool-size
    
                      list msg-log-pool-alloc-count {
                        max-elements 5;
                        description
                          "Number of messages poolallocation memory";
                        leaf entry {
                          type uint32;
                          description
                            "Number of messages poolallocation memory";
                        }
                      }  // list msg-log-pool-alloc-count
    
                      list msg-log-pool-free-count {
                        max-elements 5;
                        description
                          "Number of messages log freedfrom pool";
                        leaf entry {
                          type uint32;
                          description
                            "Number of messages log freedfrom pool";
                        }
                      }  // list msg-log-pool-free-count
    
                      list bmp-pool-size {
                        max-elements 20;
                        description
                          "BGP monitoring protocol (BMP) pool size";
                        leaf entry {
                          type uint32;
                          description
                            "BGP monitoring protocol (BMP) pool size";
                        }
                      }  // list bmp-pool-size
    
                      list bmp-pool-alloc-count {
                        max-elements 20;
                        description
                          "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memoryallocated for BGP
    
    monitoringprotocol pool";
                        }
                      }  // list bmp-pool-alloc-count
    
                      list bmp-pool-free-count {
                        max-elements 20;
                        description
                          "Number of bytes of memory freedfrom pool";
                        leaf entry {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of memory freedfrom pool";
                        }
                      }  // list bmp-pool-free-count
                    }  // container global
    
                    container vrf {
                      description
                        "VRF information";
                      leaf neighbors-count {
                        type uint32;
                        description
                          "Number of neighbors";
                      }
    
                      leaf established-neighbors-count {
                        type uint32;
                        description
                          "Number of established neighbors";
                      }
    
                      leaf update-messages-received {
                        type uint32;
                        description
                          "Count of BGP update messages received";
                      }
    
                      leaf update-messages-sent {
                        type uint32;
                        description
                          "Count of BGP update messages sent";
                      }
    
                      leaf notifications-received {
                        type uint32;
                        description
                          "Number of BGP notifications received";
                      }
    
                      leaf notifications-sent {
                        type uint32;
                        description
                          "Number of BGP notifications sent";
                      }
    
                      leaf network-count {
                        type uint32;
                        description
                          "Number of networks";
                      }
    
                      leaf path-count {
                        type uint32;
                        description
                          "Number of paths";
                      }
                    }  // container vrf
    
                    container performance-statistics {
                      description
                        "BGP process informationperformance statistics";
                      container global {
                        description
                          "Global information";
                        container ipv4rib-server {
                          description
                            "IPv4 RIB server global info";
                          container first-rib-connection-up-timestamp {
                            description
                              "First RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-up-timestamp
    
                          container last-rib-connection-up-timestamp {
                            description
                              "Last RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-up-timestamp
    
                          container first-rib-connection-down-timestamp {
                            description
                              "First RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-down-timestamp
    
                          container last-rib-connection-down-timestamp {
                            description
                              "Last RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-down-timestamp
    
                          leaf is-rib-connection-up {
                            type boolean;
                            description
                              "Is RIB Connection Up?";
                          }
    
                          leaf rib-connection-up-count {
                            type uint32;
                            description
                              "Number of RIB connection Up events";
                          }
    
                          leaf last-rib-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Up event (in
    seconds)";
                          }
    
                          leaf rib-connection-down-count {
                            type uint32;
                            description
                              "Number of RIB connection Down events";
                          }
    
                          leaf last-rib-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Down event (in
    seconds)";
                          }
                        }  // container ipv4rib-server
    
                        container ipv6rib-server {
                          description
                            "IPv6 RIB server global info";
                          container first-rib-connection-up-timestamp {
                            description
                              "First RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-up-timestamp
    
                          container last-rib-connection-up-timestamp {
                            description
                              "Last RIB connection Up event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-up-timestamp
    
                          container first-rib-connection-down-timestamp {
                            description
                              "First RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-rib-connection-down-timestamp
    
                          container last-rib-connection-down-timestamp {
                            description
                              "Last RIB connection Down event timestamp";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-rib-connection-down-timestamp
    
                          leaf is-rib-connection-up {
                            type boolean;
                            description
                              "Is RIB Connection Up?";
                          }
    
                          leaf rib-connection-up-count {
                            type uint32;
                            description
                              "Number of RIB connection Up events";
                          }
    
                          leaf last-rib-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Up event (in
    seconds)";
                          }
    
                          leaf rib-connection-down-count {
                            type uint32;
                            description
                              "Number of RIB connection Down events";
                          }
    
                          leaf last-rib-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last RIB connection Down event (in
    seconds)";
                          }
                        }  // container ipv6rib-server
    
                        container te-connection {
                          description
                            "MPLS TE server connection info";
                          container first-connection-up-timestamp {
                            description
                              "Timestamp for first connection up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-up-timestamp
    
                          container last-connection-up-timestamp {
                            description
                              "Timestamp for last connection Up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-up-timestamp
    
                          container first-connection-down-timestamp {
                            description
                              "Timestamp for first connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-down-timestamp
    
                          container last-connection-down-timestamp {
                            description
                              "Timestamp for last connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-down-timestamp
    
                          leaf is-connection-up {
                            type boolean;
                            description
                              "Is Connection Up?";
                          }
    
                          leaf connection-up-count {
                            type uint32;
                            description
                              "Number of connection Up events";
                          }
    
                          leaf last-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Up event (in seconds)";
                          }
    
                          leaf connection-down-count {
                            type uint32;
                            description
                              "Number of connection down events";
                          }
    
                          leaf last-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Down event (in
    seconds)";
                          }
                        }  // container te-connection
    
                        container lsd-connection {
                          description
                            "MPLS LSD server connection info";
                          container first-connection-up-timestamp {
                            description
                              "Timestamp for first connection up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-up-timestamp
    
                          container last-connection-up-timestamp {
                            description
                              "Timestamp for last connection Up";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-up-timestamp
    
                          container first-connection-down-timestamp {
                            description
                              "Timestamp for first connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container first-connection-down-timestamp
    
                          container last-connection-down-timestamp {
                            description
                              "Timestamp for last connection down";
                            leaf seconds {
                              type uint32;
                              units "second";
                              description
                                "Seconds part of time value";
                            }
    
                            leaf nanoseconds {
                              type uint32;
                              units "nanosecond";
                              description
                                "Nanoseconds part of time value";
                            }
                          }  // container last-connection-down-timestamp
    
                          leaf is-connection-up {
                            type boolean;
                            description
                              "Is Connection Up?";
                          }
    
                          leaf connection-up-count {
                            type uint32;
                            description
                              "Number of connection Up events";
                          }
    
                          leaf last-connection-up-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Up event (in seconds)";
                          }
    
                          leaf connection-down-count {
                            type uint32;
                            description
                              "Number of connection down events";
                          }
    
                          leaf last-connection-down-age {
                            type uint32;
                            units "second";
                            description
                              "Time since last connection Down event (in
    seconds)";
                          }
                        }  // container lsd-connection
    
                        container ds-npl {
                          description
                            "NSR related DS and NPL information";
                          leaf dir-service-conn-state {
                            type Bgp-ds-conn-state;
                            description
                              "Current Directory Service connectionstate";
                          }
    
                          leaf issu-mgr-conn-state {
                            type Bgp-ism-conn-state;
                            description
                              "Current ISSU Mgr connection state";
                          }
    
                          leaf issu-phase {
                            type string;
                            description
                              "Current ISSU Phase";
                          }
    
                          leaf issu-type-ng {
                            type boolean;
                            description
                              "ISSU type is Next Gen";
                          }
    
                          leaf issuha-option {
                            type string;
                            description
                              "Current ISSU HA option";
                          }
    
                          leaf local-ds-handle {
                            type uint64;
                            description
                              "Local Directory Service handle";
                          }
    
                          leaf service-name {
                            type string;
                            description
                              "Local DS service name";
                          }
    
                          leaf dsissu-status-flag {
                            type uint32;
                            description
                              "DS ISSU status flag";
                          }
    
                          list npl-priority-statistic {
                            max-elements 2;
                            description
                              "Stats for BGP NPL priority";
                            leaf prio-queue-level {
                              type string {
                                length "0..32";
                              }
                              description
                                "npl priority queue level";
                            }
    
                            list num-sent {
                              max-elements 5;
                              description
                                "Total sent";
                              leaf entry {
                                type uint64;
                                description
                                  "Total sent";
                              }
                            }  // list num-sent
    
                            list num-recv {
                              max-elements 6;
                              description
                                "Total recvd";
                              leaf entry {
                                type uint64;
                                description
                                  "Total recvd";
                              }
                            }  // list num-recv
    
                            list num-sent-drop {
                              max-elements 5;
                              description
                                "Sent Error/drops";
                              list nsr-pl-send-drop-array {
                                max-elements 7;
                                description
                                  "nsr pl send drop array";
                                leaf entry {
                                  type uint32;
                                  description
                                    "entry";
                                }
                              }  // list nsr-pl-send-drop-array
                            }  // list num-sent-drop
    
                            list num-recv-drop {
                              max-elements 6;
                              description
                                "Recv Errors/drops";
                              list nsr-pl-recv-drop-array {
                                max-elements
                                  16;
                                description
                                  "nsr pl recv drop array";
                                leaf entry {
                                  type uint32;
                                  description
                                    "entry";
                                }
                              }  // list nsr-pl-recv-drop-array
                            }  // list num-recv-drop
                          }  // list npl-priority-statistic
    
                          list npl-endpoint {
                            description
                              "NPL endpoint information";
                            leaf endpoint-name {
                              type string;
                              description
                                "BGP NPL endpoint name";
                            }
    
                            leaf sync-group-name {
                              type string;
                              description
                                "Syncgroup associated with this endpoint";
                            }
    
                            leaf node-id {
                              type xr:Node-id;
                              description
                                "Node ID";
                            }
    
                            leaf endpoint-handle {
                              type uint64;
                              description
                                "Handle to end-point for NCD communication";
                            }
    
                            leaf endpoint-stale-flag {
                              type boolean;
                              description
                                "Flag to indicate if endpoint is stale";
                            }
    
                            leaf endpoint-issu-role {
                              type string;
                              description
                                "Endpoint's ISSU Role. Values are 'Primary',
    'Secondary' and 'Tertiary'";
                            }
    
                            leaf endpoint-active-flag {
                              type boolean;
                              description
                                "Flag to indicate if endpoint is active";
                            }
    
                            leaf msg-size {
                              type uint32;
                              description
                                "Message size for this entity";
                            }
    
                            leaf wheel-id {
                              type uint32;
                              description
                                "Wheel ID for this endpoint";
                            }
    
                            leaf expected-sequence-num {
                              type uint32;
                              description
                                "BGP NPL sequence number expected";
                            }
    
                            leaf last-sent-sequence-num {
                              type uint32;
                              description
                                "Last sent Sequence Num";
                            }
    
                            leaf npl-initial-sequence-num {
                              type uint32;
                              description
                                "NPL Initial Sequence Num";
                            }
    
                            list endpoint {
                              description
                                "NCD endpoint bytestream";
                              leaf entry {
                                type uint8;
                                units "byte";
                                description
                                  "NCD endpoint bytestream";
                              }
                            }  // list endpoint
                          }  // list npl-endpoint
                        }  // container ds-npl
    
                        leaf configuration-items-processed {
                          type uint32;
                          description
                            "Number of config items processed";
                        }
    
                        leaf configuration-processing-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing config (milliseconds)";
                        }
    
                        leaf edm-requests-count {
                          type uint32;
                          description
                            "Number of EDM requests processed";
                        }
    
                        leaf edm-processing-time {
                          type uint32;
                          description
                            "Time spent processing EDM requests (ms)";
                        }
    
                        leaf brib-api-output-messages-sent {
                          type uint32;
                          description
                            "bRIB API output messages sent";
                        }
    
                        leaf brib-api-output-bytes-sent {
                          type uint32;
                          units "byte";
                          description
                            "bRIB API output bytes sent";
                        }
    
                        leaf brib-api-output-bytes-generated {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes generated to be sent by the BGP
    RIB API";
                        }
    
                        leaf brib-api-output-prefixes-advertised {
                          type uint32;
                          description
                            "Number of prefix advertise messagesto be sent by
    the bRIB API";
                        }
    
                        leaf brib-api-output-prefixes-withdrawn {
                          type uint32;
                          description
                            "Number of prefix withdraw messagesto be sent by
    the bRIB API";
                        }
    
                        leaf brib-api-output-sending-time {
                          type uint32;
                          description
                            "Time spent sending output to bRIB API (ms)";
                        }
    
                        leaf brib-api-output-generation-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent generating output for bRIB API
    (milliseconds)";
                        }
    
                        leaf brib-api-output-calls {
                          type uint32;
                          description
                            "bRIB API calls to generate output";
                        }
    
                        leaf brib-api-input-messages {
                          type uint32;
                          description
                            "bRIB API input messages";
                        }
    
                        leaf brib-api-input-bytes {
                          type uint32;
                          units "byte";
                          description
                            "bRIB API input bytes";
                        }
    
                        leaf brib-api-input-prefixes-received {
                          type uint32;
                          description
                            "bRIB API input advertised prefixes received";
                        }
    
                        leaf brib-api-input-withdrawn-prefixes {
                          type uint32;
                          description
                            "bRIB API input withdrawn prefixes received";
                        }
    
                        leaf brib-api-input-processing-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing input from bRIB API
    (milliseconds)";
                        }
    
                        leaf instance-node-role {
                          type boolean;
                          description
                            "Node role - active/passive";
                        }
    
                        leaf active-nsrtcp-phase-two-enter-time {
                          type uint32;
                          units "second";
                          description
                            "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                        }
    
                        leaf sec-active-nsrtcp-phase-two-enter-time {
                          type uint32;
                          units "second";
                          description
                            "Time that NSR TCP Init Sync Phase Two entered on
    active (seconds since Jan 1 1970)";
                        }
    
                        leaf proc-scoped-sync-state {
                          type Bgp-scoped-sync-state;
                          description
                            "Synchronized state of BGP process";
                        }
    
                        leaf initial-sync-sessions-added {
                          type boolean;
                          description
                            "If true, BGP has at least one established
    session when NSR initial synchronization is
    started";
                        }
    
                        leaf in-event-attach-calls {
                          type uint32;
                          description
                            "event_file_attach  calls for input";
                        }
    
                        leaf out-event-attach-calls {
                          type uint32;
                          description
                            "event_file_attach  calls for output";
                        }
    
                        leaf in-out-event-attach-calls {
                          type uint32;
                          description
                            "event_file_attach calls for input";
                        }
    
                        leaf updgen-timer-running {
                          type boolean;
                          description
                            "Flag to indicate if update generation master
    timer is running";
                        }
    
                        leaf updgen-tree-timer-left {
                          type uint64;
                          description
                            "Time left before the QNX timer would expire";
                        }
    
                        leaf updgen-tree-timer-expiry {
                          type uint64;
                          description
                            "Time as per tree->mtexptime";
                        }
    
                        leaf current-clock-time {
                          type uint64;
                          description
                            "Current time";
                        }
    
                        leaf updgen-handler-tm {
                          type uint64;
                          description
                            "Timestamp when updgen timer handler got called";
                        }
    
                        leaf io-timer-running {
                          type boolean;
                          description
                            "IO master timer Running";
                        }
    
                        leaf io-tree-timer-left {
                          type uint64;
                          description
                            "Time left before the QNX timer would expire";
                        }
    
                        leaf io-tree-timer-expiry {
                          type uint64;
                          description
                            "Time as per tree->mtexptime";
                        }
    
                        leaf io-handler-tm {
                          type uint64;
                          description
                            "Timestamp when IO timer handler got called";
                        }
    
                        leaf qad-messages-sent {
                          type uint32;
                          description
                            "Messages sent on QAD ";
                        }
    
                        leaf qadack-sent {
                          type uint32;
                          description
                            "Acks sent on QAD ";
                        }
    
                        leaf qad-send-failure {
                          type uint32;
                          description
                            "Send failure on QAD ";
                        }
    
                        leaf qad-ac-ks-failure {
                          type uint32;
                          description
                            "Ack failure on QAD ";
                        }
    
                        leaf qad-suspends {
                          type uint32;
                          description
                            "QAD send suspend";
                        }
    
                        leaf qad-resumes {
                          type uint32;
                          description
                            "QAD send resume ";
                        }
    
                        leaf qad-send-drops {
                          type uint32;
                          description
                            "Send packets dropped due to null peer ";
                        }
    
                        leaf qad-messages-received {
                          type uint32;
                          description
                            "Messages received on QAD ";
                        }
    
                        leaf qad-processed {
                          type uint32;
                          description
                            "Messages processed";
                        }
    
                        leaf qad-ac-ks-received {
                          type uint32;
                          description
                            "Acks received on QAD ";
                        }
    
                        leaf qad-timeout-received {
                          type uint32;
                          description
                            "Timeouts received on QAD ";
                        }
    
                        leaf qad-init-drops {
                          type uint32;
                          description
                            "Packets dropped on standby during initialization";
                        }
    
                        leaf qadoos-drops {
                          type uint32;
                          description
                            "Packets dropped due to  out of sequence
    packetreceived";
                        }
    
                        leaf qad-recv-drops {
                          type uint32;
                          description
                            "Received packet dropped due to null peer ";
                        }
    
                        leaf qad-timeout-recvd {
                          type uint32;
                          description
                            "Number of packet send timeouts ";
                        }
    
                        leaf nsr-last-reset-reason {
                          type uint8;
                          description
                            "Reason for last nsr state  machine reset";
                        }
    
                        leaf redcon-nsr-ready {
                          type boolean;
                          description
                            "NSR state conveyed to Redcon  by bgp - nsr
    ready/unready";
                        }
    
                        leaf redcon-state-time {
                          type uint32;
                          description
                            "Time when nsr state wasconveyed to Redcon last";
                        }
    
                        leaf active-nsr-state {
                          type uint32;
                          description
                            "Current Active BGP nsrstate";
                        }
    
                        leaf sec-active-nsr-state {
                          type uint32;
                          description
                            "Current Sec Active BGP nsrstate";
                        }
    
                        leaf total-outstanding-postits {
                          type uint32;
                          description
                            "Total outstanding postits across all neighbors";
                        }
    
                        leaf total-neighbors-with-pending-postits {
                          type uint32;
                          description
                            "Count of neighbors with postits pending";
                        }
    
                        leaf tep2p-auto-tunnel-enabled {
                          type boolean;
                          description
                            "TE support for P2P auto tunnel";
                        }
    
                        list active-nsr-mode-enter-time {
                          max-elements 26;
                          description
                            "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          leaf entry {
                            type uint32;
                            units "second";
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          }
                        }  // list active-nsr-mode-enter-time
    
                        list standby-nsr-mode-enter-time {
                          max-elements 7;
                          description
                            "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          leaf entry {
                            type uint32;
                            units "second";
                            description
                              "Time that each mode was entered (seconds since
    
    Jan 1 1970)";
                          }
                        }  // list standby-nsr-mode-enter-time
    
                        list active-nsrfo-time {
                          max-elements 10;
                          description
                            "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                          leaf entry {
                            type uint32;
                            units "second";
                            description
                              "Time that each thread isdone with its
    
    go-activeprocessing (seconds since Jan 1 1970)";
                          }
                        }  // list active-nsrfo-time
    
                        list postit-count-info {
                          description
                            "List of neighbors and their postit counts";
                          container neighbor-address {
                            description
                              "IP address of the neighbor";
                            container l2vpn-vpls-address {
                              when
                                "../afi = 'l2vpn-vpls'" {
                                description
                                  "../AFI = 'L2VPN_VPLS'";
                              }
                              description
                                "L2VPN VPLS Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the protocol BGP";
                              }
                            }  // container l2vpn-vpls-address
    
                            container l2vpn-evpn-address {
                              when
                                "../afi = 'l2vpn-evpn'" {
                                description
                                  "../AFI = 'L2VPN_EVPN'";
                              }
                              description
                                "L2VPN EVPN Addr";
                              leaf l2vpn-evpn-address {
                                type yang:hex-string;
                                description
                                  "l2vpn evpn address";
                              }
                            }  // container l2vpn-evpn-address
    
                            container l2vpn-mspw-address {
                              when
                                "../afi = 'l2vpn-mspw'" {
                                description
                                  "../AFI = 'L2VPN_MSPW'";
                              }
                              description
                                "L2VPN MSPW Addr";
                              leaf l2vpn-address {
                                type yang:hex-string;
                                description
                                  "L2vpn address of the BGP mspw";
                              }
                            }  // container l2vpn-mspw-address
    
                            container ipv4-sr-policy-address {
                              when
                                "../afi = 'ipv4-sr-policy'" {
                                description
                                  "../AFI = 'IPv4SRPolicy'";
                              }
                              description
                                "IPV4 Policy Addr";
                              leaf ipv4-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv4 address of thesrpolicy";
                              }
                            }  // container ipv4-sr-policy-address
    
                            container ipv6-sr-policy-address {
                              when
                                "../afi = 'ipv6-sr-policy'" {
                                description
                                  "../AFI = 'IPv6SRPolicy'";
                              }
                              description
                                "IPV6 Policy Addr";
                              leaf ipv6-srpolicy-address {
                                type yang:hex-string;
                                description
                                  "IPv6 address of thesrpolicy";
                              }
                            }  // container ipv6-sr-policy-address
    
                            leaf afi {
                              type Bgp-afi;
                              description "AFI";
                            }
    
                            leaf ipv4-address {
                              when
                                "../afi = 'ipv4'" {
                                description
                                  "../AFI = 'IPv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Addr";
                            }
    
                            leaf ipv4-mcast-address {
                              when
                                "../afi = 'ipv4-multicast'" {
                                description
                                  "../AFI = 'IPv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Mcast Addr";
                            }
    
                            leaf ipv4-label-address {
                              when
                                "../afi = 'ipv4-labeled'" {
                                description
                                  "../AFI = 'IPv4Labeled'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 Label Addr";
                            }
    
                            leaf ipv4-tunnel-address {
                              when
                                "../afi = 'ipv4-tunnel'" {
                                description
                                  "../AFI = 'IPv4Tunnel'";
                              }
                              type Ipv4-tunnel-address;
                              description
                                "IPv4 Tunnel";
                            }
    
                            leaf ipv4-mdt-address {
                              when
                                "../afi = 'ipv4-mdt'" {
                                description
                                  "../AFI = 'IPv4MDT'";
                              }
                              type Ipv4-mdt-address;
                              description
                                "IPv4 MDT Addr";
                            }
    
                            leaf ipv4vpn-address {
                              when
                                "../afi = 'vpnv4'" {
                                description
                                  "../AFI = 'VPNv4'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Addr";
                            }
    
                            leaf ipv4vpna-mcastddress {
                              when
                                "../afi = 'vpnv4-multicast'" {
                                description
                                  "../AFI = 'VPNv4Multicast'";
                              }
                              type inet:ipv4-address;
                              description
                                "IPv4 VPN Mcast Addr";
                            }
    
                            leaf ipv6-address {
                              when
                                "../afi = 'ipv6'" {
                                description
                                  "../AFI = 'IPv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Addr";
                            }
    
                            leaf ipv6-mcast-address {
                              when
                                "../afi = 'ipv6-multicast'" {
                                description
                                  "../AFI = 'IPv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPV6 Mcast Addr";
                            }
    
                            leaf ipv6-label-address {
                              when
                                "../afi = 'ipv6-labeled'" {
                                description
                                  "../AFI = 'IPv6Labeled'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 Label Addr";
                            }
    
                            leaf ipv6vpn-address {
                              when
                                "../afi = 'vpnv6'" {
                                description
                                  "../AFI = 'VPNv6'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Addr";
                            }
    
                            leaf ipv6vpn-mcast-address {
                              when
                                "../afi = 'vpnv6-multicast'" {
                                description
                                  "../AFI = 'VPNv6Multicast'";
                              }
                              type Ipv6-address;
                              description
                                "IPv6 VPN Mcast Addr";
                            }
    
                            leaf rt-constraint-address {
                              when
                                "../afi = 'rt-constraint'" {
                                description
                                  "../AFI = 'RTConstraint'";
                              }
                              type Rt-constraint-address;
                              description
                                "RT Constrt Addr";
                            }
    
                            leaf ipv6mvpn-address {
                              when
                                "../afi = 'ipv6-mvpn'" {
                                description
                                  "../AFI = 'IPv6MVPN'";
                              }
                              type Ipv6mvpn-address;
                              description
                                "MVPN addr";
                            }
    
                            leaf ipv4mvpn-address {
                              when
                                "../afi = 'ipv4-mvpn'" {
                                description
                                  "../AFI = 'IPv4MVPN'";
                              }
                              type Ipv4mvpn-address;
                              description
                                "MVPN4 addr";
                            }
    
                            leaf ls-ls-address {
                              when
                                "../afi = 'ls-ls'" {
                                description
                                  "../AFI = 'LS_LS'";
                              }
                              type Ls-ls-address;
                              description
                                "LINKSTATE LINKSTATE Addr";
                            }
    
                            leaf ipv4-flowspec-address {
                              when
                                "../afi = 'ipv4-flowspec'" {
                                description
                                  "../AFI = 'IPv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 Flowspec Addr";
                            }
    
                            leaf ipv6-flowspec-address {
                              when
                                "../afi = 'ipv6-flowspec'" {
                                description
                                  "../AFI = 'IPv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 Flowspec Addr";
                            }
    
                            leaf ipv4vpn-flowspec-address {
                              when
                                "../afi = 'vpnv4-flowspec'" {
                                description
                                  "../AFI = 'VPNv4Flowspec'";
                              }
                              type Ipv4-flowspec-address;
                              description
                                "IPV4 VPN Flowspec Addr";
                            }
    
                            leaf ipv6vpn-flowspec-address {
                              when
                                "../afi = 'vpnv6-flowspec'" {
                                description
                                  "../AFI = 'VPNv6Flowspec'";
                              }
                              type Ipv6-flowspec-address;
                              description
                                "IPV6 VPN Flowspec Addr";
                            }
                          }  // container neighbor-address
    
                          leaf postit-count {
                            type uint32;
                            description
                              "Count of the number of postits for this nbr";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "Name of the VRF";
                          }
                        }  // list postit-count-info
    
                        list issu-milestone {
                          description
                            "ISSU Milestones";
                          leaf milestone-name {
                            type string;
                            description
                              "Name of the in-service software upgrade (ISSU)
    milestone";
                          }
    
                          leaf milestone-start-timestamp {
                            type uint32;
                            description
                              "Timestamp for the ISSU milestone start";
                          }
    
                          leaf milestone-met-timestamp {
                            type uint32;
                            description
                              "Timestamp when ISSU milestone met";
                          }
                        }  // list issu-milestone
                      }  // container global
    
                      container vrf {
                        description
                          "VRF information";
                        leaf lpts-set-up-time {
                          type uint32;
                          description
                            "Time spent setting up LPTS socket opt (ms)";
                        }
    
                        leaf lpts-calls {
                          type uint32;
                          description
                            "Number of times LPTS socket opt set up";
                        }
    
                        leaf read-throttles-count {
                          type uint32;
                          description
                            "Number of partial read throttles";
                        }
    
                        leaf low-throttled-read-count {
                          type uint32;
                          description
                            "Number of socket reads for nbrs above low
    threshold";
                        }
    
                        leaf high-throttled-read-count {
                          type uint32;
                          description
                            "Number of socket reads for nbrs above high
    threshold";
                        }
    
                        leaf read-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to read inbound data";
                        }
    
                        leaf read-messages-count {
                          type uint32;
                          description
                            "Number of BGP messages read";
                        }
    
                        leaf data-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "No. of bytes of data read";
                        }
    
                        leaf io-read-time {
                          type uint32;
                          description
                            "Time spent reading inbound data (ms)";
                        }
    
                        leaf write-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to write outbound data";
                        }
    
                        leaf data-bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes of data written";
                        }
    
                        leaf io-write-time {
                          type uint32;
                          description
                            "Time spent writing outbound data (ms)";
                        }
    
                        leaf write-subgroup-calls-count {
                          type uint32;
                          description
                            "No. of calls to to funvction to process
    sub-group message list";
                        }
    
                        leaf write-subgroup-messages-count {
                          type uint32;
                          description
                            "Number of sub-group messages processed";
                        }
    
                        leaf subgroup-list-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sub-group message list
    (milliseconds)";
                        }
    
                        leaf write-queue-calls-count {
                          type uint32;
                          description
                            "No. of Calls to function to process write queue";
                        }
    
                        leaf write-queue-messages-count {
                          type uint32;
                          description
                            "Number of write queue messages processed";
                        }
    
                        leaf write-queue-time {
                          type uint32;
                          description
                            "Time spent processing write queue (ms)";
                        }
    
                        leaf inbound-update-messages {
                          type uint32;
                          description
                            "Number of inbound update messages processed";
                        }
    
                        leaf inbound-update-messages-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing imbound update messages
    (milliseconds)";
                        }
                      }  // container vrf
                    }  // container performance-statistics
    
                    leaf process-instance {
                      type uint8;
                      description
                        "ID for the BGP process instance";
                    }
    
                    leaf vrf-name {
                      type string;
                      description
                        "Name of the VRF";
                    }
    
                    leaf vrf-totals {
                      type boolean;
                      description
                        "per VRF counts aggregated across all VRFs";
                    }
                  }  // container process-info
    
                  container sessions {
                    description
                      "The BGP session table";
                    list session {
                      key "neighbor-address";
                      description
                        "A BGP session table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP neighbor brief description";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf messages-queued-in {
                        type uint32;
                        description
                          "No. of msgs on receive queue";
                      }
    
                      leaf messages-queued-out {
                        type uint32;
                        description
                          "No. of messages on send queue";
                      }
    
                      leaf connection-state {
                        type Bgp-conn-state;
                        description
                          "State of connection";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      leaf postit-pending {
                        type boolean;
                        description
                          "Nbr has postits pending";
                      }
    
                      leaf connection-established-time {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) that the connection has been
    established";
                      }
                    }  // list session
                  }  // container sessions
    
                  container neighbors {
                    description
                      "The BGP Neighbor table";
                    list neighbor {
                      key "neighbor-address";
                      description
                        "A BGP Neighbor table entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      container send-notification-info {
                        description
                          "Information on the last notification sent";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container send-notification-info
    
                      container received-notification-info {
                        description
                          "Information on the last notification received";
                        leaf time-since-last-notification {
                          type uint32;
                          units "second";
                          description
                            "Time since the last notification was sent or
    received (seconds)";
                        }
    
                        leaf notification-error-code {
                          type uint8;
                          description
                            "Error code in last notification";
                        }
    
                        leaf notification-error-subcode {
                          type uint8;
                          description
                            "Error subcode in last notification";
                        }
    
                        list last-notification-data {
                          description
                            "Message data in last notification";
                          leaf entry {
                            type uint8;
                            description
                              "Message data in last notification";
                          }
                        }  // list last-notification-data
                      }  // container received-notification-info
    
                      container performance-statistics {
                        description
                          "BGP neighbor performance statistics";
                        leaf read-throttles {
                          type uint32;
                          description
                            "Number of partial read throttles";
                        }
    
                        leaf low-throttled-read {
                          type uint32;
                          description
                            "Num socket reads after nbrs crossed low
    threshold";
                        }
    
                        leaf high-throttled-read {
                          type uint32;
                          description
                            "Num of socket reads after nbr crossed high
    threshold";
                        }
    
                        leaf time-since-last-throttled-read {
                          type uint32;
                          units "second";
                          description
                            "Time (in secs) since last read after being
    throttled";
                        }
    
                        leaf read-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to read inbound data";
                        }
    
                        leaf read-messages-count {
                          type uint32;
                          description
                            "Number of BGP messages read";
                        }
    
                        leaf data-bytes-read {
                          type uint32;
                          units "byte";
                          description
                            "No. of bytes of data read";
                        }
    
                        leaf io-read-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent reading inbound data (milliseconds)";
                        }
    
                        leaf write-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to write outbound data";
                        }
    
                        leaf data-bytes-written {
                          type uint32;
                          units "byte";
                          description
                            "Number of bytes that havesent to peers";
                        }
    
                        leaf io-write-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent writing outbound data (milliseconds)";
                        }
    
                        leaf last-sent-seq-no {
                          type uint32;
                          description
                            "Seq No of the last sent byte";
                        }
    
                        leaf write-subgroup-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process sub-group
    message list";
                        }
    
                        leaf write-subgroup-messages-count {
                          type uint32;
                          description
                            "Number of sub-group msgs processed";
                        }
    
                        leaf subgroup-list-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing sub-group message list
    (milliseconds)";
                        }
    
                        leaf write-queue-calls-count {
                          type uint32;
                          description
                            "No. of calls to function to process write queue";
                        }
    
                        leaf write-queue-messages-count {
                          type uint32;
                          description
                            "Number of write queue messages processed";
                        }
    
                        leaf write-queue-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing write queue (milliseconds)";
                        }
    
                        leaf inbound-update-messages {
                          type uint32;
                          description
                            "Number of inbound update messages processed";
                        }
    
                        leaf inbound-update-messages-time {
                          type uint32;
                          units "millisecond";
                          description
                            "Time spent processing inbound update messages
    (milliseconds)";
                        }
    
                        leaf maximum-read-size {
                          type uint32;
                          units "millisecond";
                          description
                            "Size of largest socket (milliseconds)";
                        }
    
                        leaf actives {
                          type uint32;
                          description
                            "Number of retried Active opens for this neighbor";
                        }
    
                        leaf failed-post-actives {
                          type uint32;
                          description
                            "Number of Active Opens that failed in the Post
    Active State for this neighbor";
                        }
    
                        leaf passives {
                          type uint32;
                          description
                            "Number of retried Passive opens for this
    neighbor";
                        }
    
                        leaf rejected-passives {
                          type uint32;
                          description
                            "Number of rejected Passive opens for this
    neighbor";
                        }
    
                        leaf active-collision {
                          type uint32;
                          description
                            "Number of Closed Active connections for this
    neighbor due to collision ";
                        }
    
                        leaf passive-collision {
                          type uint32;
                          description
                            "Number of Closed Remote opens for this
    neighborneighbor due to collision ";
                        }
    
                        leaf control-to-read-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger read
    thread";
                        }
    
                        leaf control-to-write-thread-trigger {
                          type uint32;
                          description
                            "Number of times io-control thread trigger write
    thread";
                        }
    
                        leaf network-status {
                          type uint32;
                          description
                            "Socket status, TRUE if socket closed";
                        }
    
                        leaf reset-flags {
                          type uint32;
                          description
                            "Reset flags, per thread";
                        }
    
                        leaf nbr-flags {
                          type uint32;
                          description
                            "Nbr flags, per thread";
                        }
    
                        leaf nbr-fd {
                          type int32;
                          description
                            "Primary FD, per nbr";
                        }
    
                        leaf reset-retries {
                          type uint8;
                          description
                            "Reset Retries, per nbr";
                        }
    
                        leaf sync-flags {
                          type uint32;
                          description
                            "Sync flags, per nbr";
                        }
    
                        leaf nsr-oper-down-count {
                          type uint32;
                          description
                            "Number of times NSR scoped sync has been done";
                        }
    
                        leaf last-nsr-scoped-sync {
                          type uint32;
                          description
                            "Last time NSR scoped syncwas done for the
    neighbor";
                        }
                      }  // container performance-statistics
    
                      container message-statistics {
                        description
                          "BGP neighbor message statistics";
                        container open {
                          description "Open";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container open
    
                        container notification {
                          description
                            "BGP neighbor messagestatistics notification";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container notification
    
                        container update {
                          description
                            "BGP neighbor message statisticsupdate";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container update
    
                        container keepalive {
                          description
                            "Message sent between BGP neighborsto check the
    link between is operating";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container keepalive
    
                        container route-refresh {
                          description
                            "BGP neighbor message statisticsroute refresh";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container route-refresh
    
                        container total {
                          description "Total";
                          container tx {
                            description
                              "Transmit";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container tx
    
                          container rx {
                            description
                              "Receive";
                            container last-time-spec {
                              description
                                "BGP neighbor message statisticslast timespec";
                              leaf seconds {
                                type uint32;
                                units "second";
                                description
                                  "Seconds part of time value";
                              }
    
                              leaf nanoseconds {
                                type uint32;
                                units
                                  "nanosecond";
                                description
                                  "Nanoseconds part of time value";
                              }
                            }  // container last-time-spec
    
                            leaf count {
                              type uint32;
                              description
                                "Count";
                            }
                          }  // container rx
                        }  // container total
                      }  // container message-statistics
    
                      container tcp-init-sync-time-spec {
                        description
                          "Time When neighbor entered TCP Init Sync";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-time-spec
    
                      container tcp-init-sync-phase-two-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Phase
    Two";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-phase-two-time-spec
    
                      container tcp-init-sync-done-time-spec {
                        description
                          "Time when neighbor entered TCP Init Sync Done";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container tcp-init-sync-done-time-spec
    
                      container graceful-maintenance {
                        description
                          "Globally activated BGp neighborfor graceful
    shutdown";
                        leaf gshut-exists {
                          type boolean;
                          description
                            "Graceful Maintenance enabled";
                        }
    
                        leaf gshut-local-active {
                          type boolean;
                          description
                            "Graceful Maintenance locally activated";
                        }
    
                        leaf gshut-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated";
                        }
    
                        leaf gshut-locpref-set {
                          type boolean;
                          description
                            "Graceful Maintenance Local Preference set";
                        }
    
                        leaf gshut-locpref {
                          type uint32;
                          description
                            "Graceful Maintenance Local Preference";
                        }
    
                        leaf gshut-prepends {
                          type uint8;
                          description
                            "Graceful Maintenance number of AS prepends";
                        }
    
                        leaf gshut-interface-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Interface";
                        }
    
                        leaf gshut-location-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Location";
                        }
                      }  // container graceful-maintenance
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "BGP neighbor description";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf has-internal-link {
                        type boolean;
                        description
                          "Internal link to neighbor";
                      }
    
                      leaf is-external-neighbor-not-directly-connected {
                        type boolean;
                        description
                          "Flag to indicate neighbor is external and not
    directly connected";
                      }
    
                      leaf messages-received {
                        type uint32;
                        description
                          "Number of messages received";
                      }
    
                      leaf messages-sent {
                        type uint32;
                        description
                          "Number of messages sent";
                      }
    
                      leaf update-messages-in {
                        type uint32;
                        description
                          "No. of update msgs received";
                      }
    
                      leaf update-messages-out {
                        type uint32;
                        description
                          "No. of update messages sent";
                      }
    
                      leaf messages-queued-in {
                        type uint32;
                        description
                          "No. of msgs on receive queue";
                      }
    
                      leaf messages-queued-out {
                        type uint32;
                        description
                          "No. of messages on send queue";
                      }
    
                      leaf connection-established-time {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) that the connection has been
    established";
                      }
    
                      leaf connection-state {
                        type Bgp-conn-state;
                        description
                          "State of connection";
                      }
    
                      leaf previous-connection-state {
                        type uint32;
                        description
                          "Previous state of connection";
                      }
    
                      leaf connection-admin-status {
                        type uint32;
                        description
                          "Administrative status of connection";
                      }
    
                      leaf open-check-error-code {
                        type Bgp-open-check-err;
                        description
                          "Error code for open check failure forBGP
    neighbor";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf connection-local-port {
                        type uint32;
                        description
                          "Local port for the connection";
                      }
    
                      leaf connection-remote-port {
                        type uint32;
                        description
                          "Remote port for the connection";
                      }
    
                      leaf neighbor-interface-handle {
                        type uint32;
                        description
                          "Interface Handle of Neighbor";
                      }
    
                      leaf reset-notification-sent {
                        type boolean;
                        description
                          "Notification was sent during last reset";
                      }
    
                      leaf is-administratively-shut-down {
                        type boolean;
                        description
                          "Flag to indicate if BGP neighbor is
    administratively shut down";
                      }
    
                      leaf is-neighbor-max-prefix-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down because it exceeded max prfx
    count";
                      }
    
                      leaf is-out-of-memory-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down during a SEVERE low memory
    condition";
                      }
    
                      leaf is-out-of-memory-forced-up {
                        type boolean;
                        description
                          "Neighbor forced up during a low memory condition";
                      }
    
                      leaf is-ebgp-peer-as-league {
                        type boolean;
                        description
                          "EBGP peer belongs to AS League";
                      }
    
                      leaf is-ebgp-peer-common-admin {
                        type boolean;
                        description
                          "EBGP peer with common administation";
                      }
    
                      leaf ttl-security-enabled {
                        type boolean;
                        description
                          "TTL Security enabled";
                      }
    
                      leaf suppress4-byte-as {
                        type boolean;
                        description
                          "Suppress 4byteas capability";
                      }
    
                      leaf bfd-session-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-created-state {
                        type Bgp-bfd-state;
                        description
                          "BFD state for this peer";
                      }
    
                      leaf bfd-session-enable-mode {
                        type Bgp-bfd-enable-mode;
                        description
                          "BFD enable mode for this peer";
                      }
    
                      leaf bfd-minintervalval {
                        type uint32;
                        description
                          "BFD Mininterval for this peer";
                      }
    
                      leaf bfd-multiplierval {
                        type uint32;
                        description
                          "BFD Multiplier for this peer";
                      }
    
                      leaf bfd-state-ts {
                        type uint64;
                        description
                          "Timestamp since when nbr is in this bfd state";
                      }
    
                      leaf router-id {
                        type inet:ipv4-address;
                        description
                          "Router ID for the neighbor";
                      }
    
                      leaf negotiated-protocol-version {
                        type uint16;
                        description
                          "Negotiated protocol version with the BGP
    neighbor";
                      }
    
                      leaf ebgp-time-to-live {
                        type uint32;
                        description
                          "Maximum number of hops for external BGP neighbor";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf tcpmss {
                        type uint32;
                        description
                          "Neighbor TCP Maximum Segment
    size";
                      }
    
                      leaf msg-log-in {
                        type uint32;
                        description
                          "Message in log count";
                      }
    
                      leaf msg-log-out {
                        type uint32;
                        description
                          "Message out log count";
                      }
    
                      leaf neighbor-local-as {
                        type uint32;
                        description
                          "Local AS configured on the neighbor";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Option to not prepend the Local AS to
    announcements";
                      }
    
                      leaf is-capability-negotiation-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability negotiation is
    disabled for this BGP neighbor";
                      }
    
                      leaf is-capability-negotiation-performed {
                        type boolean;
                        description
                          "Flag to indicate if capability negotiation is
    performed for BGP neighbor";
                      }
    
                      leaf is-route-refresh-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh was received";
                      }
    
                      leaf is-route-refresh-old-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor supports
    route-refresh old capability was received";
                      }
    
                      leaf is-gr-aware {
                        type boolean;
                        description
                          "GR awareness received";
                      }
    
                      leaf is4-byte-as-capability-received {
                        type boolean;
                        description
                          "Flag to ndicate if neighbor supports 4-byte AS
    capability received";
                      }
    
                      leaf is4-byte-as-capability-sent {
                        type boolean;
                        description
                          "4-byte AScapability Snt";
                      }
    
                      leaf multi-protocol-capability-received {
                        type boolean;
                        description
                          "Flag to indicate if multi-protocol capability
    has been received";
                      }
    
                      leaf hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) negotiated for this
    connection";
                      }
    
                      leaf keep-alive-time {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) negotiated for this
    connection";
                      }
    
                      leaf configured-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-keepalive {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-min-acc-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                      }
    
                      leaf min-advertise-interval {
                        type uint32;
                        units "second";
                        description
                          "Minimum advertisement interval, secs part";
                      }
    
                      leaf min-advertise-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement interval, msecs part";
                      }
    
                      leaf min-origination-interval {
                        type uint16;
                        units "second";
                        description
                          "Minimum origination interval (in secs)";
                      }
    
                      leaf connect-retry-interval {
                        type uint16;
                        units "second";
                        description
                          "Time (in secs) for connect retry timer";
                      }
    
                      leaf time-since-last-update {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last update message was
    received";
                      }
    
                      leaf time-since-last-read {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read";
                      }
    
                      leaf time-since-last-read-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last read before last reset";
                      }
    
                      leaf time-last-cb {
                        type uint64;
                        description "CB";
                      }
    
                      leaf time-last-cb-reset {
                        type uint32;
                        description
                          "Last CB before reset";
                      }
    
                      leaf time-last-fb {
                        type uint64;
                        description "FB";
                      }
    
                      leaf count-last-write {
                        type uint32;
                        description "Count";
                      }
    
                      leaf time-since-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write";
                      }
    
                      leaf attempted-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of last write";
                      }
    
                      leaf actual-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of last write";
                      }
    
                      leaf time-since-second-last-write {
                        type uint32;
                        units "second";
                        description
                          "Time (in seconds) elapsed since the second last
    write event";
                      }
    
                      leaf attempted-second-last-write-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write";
                      }
    
                      leaf actual-second-last-write-bytes {
                        type uint32;
                        description
                          "Actual size of second last write";
                      }
    
                      leaf time-since-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of last write before reset";
                      }
    
                      leaf actual-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of last write before reset";
                      }
    
                      leaf time-since-second-last-write-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write before last
    reset";
                      }
    
                      leaf attempted-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Attempted size of second last write before reset";
                      }
    
                      leaf actual-second-last-write-reset-bytes {
                        type uint32;
                        description
                          "Actual size of second last write before reset";
                      }
    
                      leaf last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last write thread event";
                      }
    
                      leaf second-last-write-event {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last write thread
    event";
                      }
    
                      leaf last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since last KA timer expiry before
    reset";
                      }
    
                      leaf second-last-k-aexpiry-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since second last KA timer expiry
    before reset";
                      }
    
                      leaf last-k-anotsent-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that KA was
    not sent before reset";
                      }
    
                      leaf last-k-aerror-reset {
                        type uint32;
                        units "second";
                        description
                          "Duration (in secs) since last time that an error
    was encountered after KA expiry";
                      }
    
                      leaf last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the last KA timer start
    before reset";
                      }
    
                      leaf second-last-k-astart-reset {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) since the second last KA timer
    start before reset";
                      }
    
                      leaf connection-up-count {
                        type uint32;
                        description
                          "Number of times the connection was established";
                      }
    
                      leaf connection-down-count {
                        type uint32;
                        description
                          "Number of times connection was dropped";
                      }
    
                      leaf time-since-connection-last-dropped {
                        type uint32;
                        units "second";
                        description
                          "Time since the connection last went down
    (seconds)";
                      }
    
                      leaf reset-reason {
                        type Bgp-reset-reason-index;
                        description
                          "Reason for last connection reset";
                      }
    
                      leaf peer-reset-reason {
                        type Bgp-peer-reset-reason-index;
                        description
                          "Reason for last peer close event";
                      }
    
                      leaf peer-error-code {
                        type uint32;
                        description
                          "If peer closed, error received from transport";
                      }
    
                      leaf last-notify-error-code {
                        type uint8;
                        description
                          "Code for the last error notification seen on the
    connection";
                      }
    
                      leaf last-notify-error-subcode {
                        type uint8;
                        description
                          "Error subcode of the last error notification
    seen on the connection";
                      }
    
                      leaf error-notifies-received {
                        type uint32;
                        description
                          "Number of error notifications received on the
    connection";
                      }
    
                      leaf error-notifies-sent {
                        type uint32;
                        description
                          "Number of error notifications sent on the
    connection";
                      }
    
                      leaf remote-as-number {
                        type uint32;
                        description
                          "Remote AS number of BGP neighbor";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Bandwidth of link to single-hop eBGP peer";
                      }
    
                      leaf ebgp-recv-dmz {
                        type boolean;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Ebgp send dmz link bw mode";
                      }
    
                      leaf tos-type {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf tcp-session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "The TCP mode to be used to set up BGP session
    with the neighbor";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf standby-rp {
                        type boolean;
                        description
                          "Standby RP socket inited for Active Open";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf graceful-restart-enabled-nbr {
                        type boolean;
                        description
                          "Neighbor supports graceful-restart";
                      }
    
                      leaf gr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor restart time (in seconds)";
                      }
    
                      leaf gr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor stale-path time (in seconds)";
                      }
    
                      leaf fssn-offset {
                        type uint32;
                        description
                          "First standby SeqNo offset";
                      }
    
                      leaf fpbsn-offset {
                        type uint32;
                        description
                          "First standby PDU boundary SeqNo offset";
                      }
    
                      leaf last-ackd-seq-no {
                        type uint32;
                        description
                          "SeqNo of the last Ackd byte";
                      }
    
                      leaf bytes-written {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes written by write thread";
                      }
    
                      leaf bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total bytes read";
                      }
    
                      leaf socket-read-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Total read bytes value insocket-lib";
                      }
    
                      leaf is-read-disabled {
                        type boolean;
                        description
                          "If true, socket read isdisabled";
                      }
    
                      leaf update-bytes-read {
                        type uint32;
                        units "byte";
                        description
                          "Total number of bytes readcorresponding to
    update messages";
                      }
    
                      leaf nsr-state {
                        type Bgp-sync-nbr-nsr-state;
                        description "NSR state";
                      }
    
                      leaf is-passive-close {
                        type boolean;
                        description
                          "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                      }
    
                      leaf nbr-enforce-first-as {
                        type boolean;
                        description
                          "Neighbor enforce first AS";
                      }
    
                      leaf active-bmp-servers {
                        type uint8;
                        description
                          "BMP Servers to which the neighbor sends logs";
                      }
    
                      leaf nbr-cluster-id {
                        type uint32;
                        description "Cluster id";
                      }
    
                      leaf nbr-in-cluster {
                        type uint8;
                        description
                          "Type of cluster_id:undefined/number/Ip address";
                      }
    
                      leaf ignore-connected {
                        type boolean;
                        description
                          "If true, the VPN client isan IBGP CE peer";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf io-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for io
    control";
                      }
    
                      leaf read-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for read";
                      }
    
                      leaf write-armed {
                        type boolean;
                        description
                          "If true, socket has beenauto-armed for write";
                      }
    
                      leaf discard-data-bytes {
                        type uint32;
                        units "byte";
                        description
                          "Remaining discard data (bytes) on Standby";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
    
                      leaf local-as-dual-as-mode-native {
                        type boolean;
                        description
                          "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                      }
    
                      leaf egress-peer-engineering-enabled {
                        type boolean;
                        description
                          "Indicates if Egress Peer Engineering is enabled";
                      }
    
                      leaf discard-as4-path {
                        type uint32;
                        description
                          "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                      }
    
                      leaf rpki-disable {
                        type boolean;
                        description
                          "Prefix validation disabled";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Prefix v. use validity";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Prefix v. allow invalid";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Prefix v. signal ibgp";
                      }
    
                      leaf dynamic-neighbor {
                        type boolean;
                        description
                          "Flag to indicate if the neighbor specifically
    defining the neighborsis a dynamic neighbor";
                      }
    
                      leaf merge-inbound-safi1and4-updates {
                        type boolean;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf is-capability-enhe-suppressed {
                        type boolean;
                        description
                          "Flag to indicate if Capability
    extended-nexthop-encoding is disabled for this
    BGP neighbor";
                      }
    
                      leaf delete-time-remaining {
                        type uint32;
                        units "second";
                        description
                          "Time (in secs) remaining for deletion";
                      }
    
                      leaf sn-bfd-discriminator {
                        type uint32;
                        description
                          "Local Discriminator for the associated BFD
    session";
                      }
    
                      list af-data {
                        max-elements 25;
                        description
                          "Address family specific neighbor data";
                        container neighbor-af-performance-statistics {
                          description
                            "Neighbor AF statistics";
                          leaf sub-group-pending-message-count {
                            type uint32;
                            description
                              "No. of sub-group messages waiting to be sent out
    on this neighbor -- DEPRECATED -- ";
                          }
    
                          leaf processed-messages {
                            type uint32;
                            description
                              "Number of messages processed from the neighbor's
    write queue";
                          }
    
                          leaf sent-messages {
                            type uint32;
                            description
                              "Number of messages sent from the neighbor's
    write queue";
                          }
    
                          leaf split-horizon-update-transmit {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-update-blocked {
                            type uint32;
                            description
                              "No. of update messages with split-horizon flag
    that were blocked";
                          }
    
                          leaf split-horizon-withdraw-transmit {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were sent out";
                          }
    
                          leaf split-horizon-withdraw-blocked {
                            type uint32;
                            description
                              "No. of withdraw messages with split-horizon flag
    that were blocked";
                          }
                        }  // container neighbor-af-performance-statistics
    
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf is-neighbor-route-reflector-client {
                          type boolean;
                          description
                            "Nbr is a route reflector client";
                        }
    
                        leaf is-legacy-pe-rt {
                          type boolean;
                          description
                            "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                        }
    
                        leaf is-neighbor-af-capable {
                          type boolean;
                          description
                            "Address family capability received from neighbor";
                        }
    
                        leaf is-soft-reconfiguration-inbound-allowed {
                          type boolean;
                          description
                            "Inbound soft reconfiguration allowed";
                        }
    
                        leaf is-use-soft-reconfiguration-always-on {
                          type boolean;
                          description
                            "Soft reconf overrides route refresh";
                        }
    
                        leaf remove-private-as-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to this
    nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                        }
    
                        leaf remove-private-as-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                        }
    
                        leaf flowspec-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if bgp neighbor address-family
    flowspec validation is disabled";
                        }
    
                        leaf flowspec-redirect-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec redirect nexthop
    validation is disabled";
                        }
    
                        leaf orr-group-name {
                          type string;
                          description
                            "ORR Group Name";
                        }
    
                        leaf orr-group-index {
                          type uint32;
                          description
                            "ORR Group Index";
                        }
    
                        leaf is-orr-root-address-configured {
                          type boolean;
                          description
                            "ORR Root address configuredfor the neighbor
    connection";
                        }
    
                        leaf advertise-afi {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-reorg {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-disable {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf encapsulation-type {
                          type uint32;
                          description
                            "BGP neighbor address-familyencapsulation type";
                        }
    
                        leaf advertise-rt-type {
                          type uint8;
                          description
                            "BGP neighbor address-familyadvertise route
    target type";
                        }
    
                        leaf advertise-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of default VRF import disable";
                        }
    
                        leaf advertise-evpnv4-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 default VRF import disable";
                        }
    
                        leaf advertise-evpnv6-afi-def-vrf-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 default VRF import disable";
                        }
    
                        leaf advertise-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of VRF re-import disable";
                        }
    
                        leaf advertise-evpnv4-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v4 VRF re-import disable";
                        }
    
                        leaf advertise-evpnv6-afi-vrf-re-imp-disable {
                          type boolean;
                          description
                            "Advertise of v6 VRF re-import disable";
                        }
    
                        leaf advertise-afi-eo-r-ready {
                          type boolean;
                          description
                            "EoR Can be sent for Advertise AFI";
                        }
    
                        leaf always-use-next-hop-local {
                          type boolean;
                          description
                            "Local router always used for next-hop";
                        }
    
                        leaf sent-community-to-neighbor {
                          type boolean;
                          description
                            "Community attribute sent to neighbor";
                        }
    
                        leaf sent-gshut-community-to-neighbor {
                          type boolean;
                          description
                            "GSHUT Community attribute sent to neighbor";
                        }
    
                        leaf sent-extended-community-to-neighbor {
                          type boolean;
                          description
                            "Extended community attribute sent to neighbor";
                        }
    
                        leaf default-originate-vpn-index {
                          type uint32;
                          description
                            "Default orig vpn indexto find bitfield for a nbr
    af";
                        }
    
                        leaf neighbor-default-originate {
                          type boolean;
                          description
                            "Neighbor originates default";
                        }
    
                        leaf is-orf-sent {
                          type boolean;
                          description
                            "Outbound route filter sent to neighbor";
                        }
    
                        leaf is-update-deferred {
                          type boolean;
                          description
                            "Update deferred until ORF/route refresh received";
                        }
    
                        leaf is-orf-send-scheduled {
                          type boolean;
                          description
                            "Scheduled to send prefix based ORF";
                        }
    
                        leaf update-group-number {
                          type uint32;
                          description
                            "Update group index";
                        }
    
                        leaf filter-group-index {
                          type uint32;
                          description
                            "BGP neighbor address-familyfilter group index";
                        }
    
                        leaf is-update-throttled {
                          type boolean;
                          description
                            "Updates Throttled becausewrite limit is reached";
                        }
    
                        leaf is-update-leaving {
                          type boolean;
                          description
                            "Nbr leaving update-groupto another";
                        }
    
                        leaf vpn-update-gen-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf vpn-update-gen-trigger-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf is-addpath-send-operational {
                          type boolean;
                          description
                            "Addpath is operational on send-side";
                        }
    
                        leaf is-addpath-receive-operational {
                          type boolean;
                          description
                            "Addpath is operational on receive-side";
                        }
    
                        leaf neighbor-version {
                          type uint32;
                          description
                            "BGP neighbor version for theaddress-family";
                        }
    
                        leaf weight {
                          type uint32;
                          description
                            "Weight for this AF";
                        }
    
                        leaf max-prefix-limit {
                          type uint32;
                          description
                            "Max limit for # of prefixes";
                        }
    
                        leaf use-max-prefix-warning-only {
                          type boolean;
                          description
                            "Warning only when maximum prefix limit reached";
                        }
    
                        leaf max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths when prefix limit reached";
                        }
    
                        leaf max-prefix-exceed-discard-paths {
                          type boolean;
                          description
                            "Did we discard extra paths when prefix limit
    reached";
                        }
    
                        leaf max-prefix-threshold-percent {
                          type uint8;
                          units "percentage";
                          description
                            "Percentage of maximum no. of prefixes at which
    to generate warning";
                        }
    
                        leaf max-prefix-discard-paths-count {
                          type uint32;
                          description
                            "Number of discarded paths after prefix limit
    reached";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint16;
                          units "minute";
                          description
                            "Time interval (in minutes) after which peering
    session will be reestablished";
                        }
    
                        leaf prefixes-accepted {
                          type uint32;
                          description
                            "Number of prefixes acceptedfrom this BGP
    neighbor";
                        }
    
                        leaf prefixes-synced {
                          type uint32;
                          description
                            "Number of prefixes synced to standby";
                        }
    
                        leaf prefixes-withdrawn-not-found {
                          type uint32;
                          description
                            "Number of prefixes withdrawn butnot found gor
    this BGP neighbor";
                        }
    
                        leaf prefixes-denied {
                          type uint32;
                          description
                            "Number of prefixes denied forthis BGP neighbor";
                        }
    
                        leaf prefixes-denied-no-policy {
                          type uint32;
                          description
                            "No. of prefixes denied because there was no
    inbound policy";
                        }
    
                        leaf prefixes-denied-rt-permit {
                          type uint32;
                          description
                            "No. of prefixes denied because RT extended
    community is not imported";
                        }
    
                        leaf prefixes-denied-orf-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by prefix based ORF
    policy";
                        }
    
                        leaf prefixes-denied-policy {
                          type uint32;
                          description
                            "No. of prefixes denied by inbound policy";
                        }
    
                        leaf number-of-bestpaths {
                          type uint32;
                          description
                            "No. of bestpaths from this neighbor";
                        }
    
                        leaf number-of-best-externalpaths {
                          type uint32;
                          description
                            "No. of best-external paths from this neighbor";
                        }
    
                        leaf prefixes-advertised {
                          type uint32;
                          description
                            "Number of prefixes advertisedfor this BGP
    neighbor";
                        }
    
                        leaf prefixes-be-advertised {
                          type uint32;
                          description
                            "Number of BE prefixes advertised";
                        }
    
                        leaf prefixes-suppressed {
                          type uint32;
                          description
                            "Number of prefixes suppressed";
                        }
    
                        leaf prefixes-withdrawn {
                          type uint32;
                          description
                            "Number of prefixes withdrawn";
                        }
    
                        leaf is-peer-orf-capable {
                          type boolean;
                          description
                            "Peer has outbound route filter capability";
                        }
    
                        leaf is-advertised-orf-send {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability advertised";
                        }
    
                        leaf is-received-orf-send-capable {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability received";
                        }
    
                        leaf is-advertised-orf-receive {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    advertised";
                        }
    
                        leaf is-received-orf-receive-capable {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    received";
                        }
    
                        leaf is-advertised-graceful-restart {
                          type boolean;
                          description
                            "Graceful Restart Capability advertised";
                        }
    
                        leaf is-graceful-restart-state-flag {
                          type boolean;
                          description
                            "Restart state flag enabled";
                        }
    
                        leaf is-received-graceful-restart-capable {
                          type boolean;
                          description
                            "Graceful Restart Capability received";
                        }
    
                        leaf is-add-path-send-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability sent
    to BGPneighbor";
                        }
    
                        leaf is-add-path-send-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability
    received from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath receive capability
    advertised from BGP neighbor";
                        }
    
                        leaf is-add-path-receive-capability-received {
                          type boolean;
                          description
                            "Flag to indicate addpath receive capability
    received from BGPneighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-received {
                          type boolean;
                          description
                            "Flag to indicate extended nexthop encoding
    capability received from BGP neighbor";
                        }
    
                        leaf is-ext-nh-encoding-capability-sent {
                          type boolean;
                          description
                            "Extended nexhop encoding capability Sent";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time advertised (seconds)";
                        }
    
                        leaf local-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Local Restart time (seconds)";
                        }
    
                        leaf stale-path-timeout {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout-value {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf neighbor-preserved-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate neighbor preserved in
    forwarding state";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-configured {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor long-lived
    graceful-restart stale time is configured";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-sent {
                          type uint32;
                          units "second";
                          description
                            "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          units "second";
                          description
                            "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-capability-received {
                          type boolean;
                          description
                            "Flag to indicate long-lived graceful-restart
    capability received from the neighbor";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-received {
                          type uint32;
                          units "second";
                          description
                            "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                        }
    
                        leaf neighbor-preserved-long-lived-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate BGP neighbor preserved
    long-lived forwarding state";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-capable {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor as long-lived
    graceful-restartis capable";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-time-remaining {
                          type uint32;
                          description
                            "Remaining long-lived graceful-restart time";
                        }
    
                        leaf route-refreshes-received {
                          type uint32;
                          description
                            "Number of route refresh requests received";
                        }
    
                        leaf route-refreshes-sent {
                          type uint32;
                          description
                            "Number of route refresh requests sent";
                        }
    
                        leaf refresh-target-version {
                          type uint32;
                          description
                            "Target version for refresh update generation";
                        }
    
                        leaf refresh-version {
                          type uint32;
                          description
                            "Version till which refresh updates have been
    generated";
                        }
    
                        leaf refresh-acked-version {
                          type uint32;
                          description
                            "Version acked by the peer for refresh updates
    sent";
                        }
    
                        leaf is-prefix-orf-present {
                          type boolean;
                          description
                            "Outbound route filter prefix ORF present";
                        }
    
                        leaf orf-entries-received {
                          type uint32;
                          description
                            "Number of outbound route filter entries received";
                        }
    
                        leaf is-default-originate-sent {
                          type boolean;
                          description
                            "Default origination update sent";
                        }
    
                        leaf route-policy-prefix-orf {
                          type string;
                          description
                            "Prefix based ORF for incoming updates";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Incoming route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outgoing route policy name";
                        }
    
                        leaf route-policy-default-originate {
                          type string;
                          description
                            "Default-originate route policy name";
                        }
    
                        leaf is-neighbor-ebgp-without-inbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured inbound policy";
                        }
    
                        leaf is-neighbor-ebgp-without-outbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured outbound policy";
                        }
    
                        leaf is-upd-orig-loopchk-disable-set {
                          type boolean;
                          description
                            "Flag to indicate if update out originator
    loopcheck is disabled";
                        }
    
                        leaf is-as-override-set {
                          type boolean;
                          description
                            "Flag to indicate as override set for BGP
    neighbor";
                        }
    
                        leaf is-allow-as-in-set {
                          type boolean;
                          description
                            "Allowas-in set ";
                        }
    
                        leaf allow-as-in-count {
                          type uint32;
                          description
                            "Allowas-in count config";
                        }
    
                        leaf address-family-long-lived-time {
                          type uint32;
                          description
                            "AF specific Long-lived-time config";
                        }
    
                        leaf eo-r-received-in-read-only {
                          type boolean;
                          description
                            "An EoR was received while in read-only mode";
                        }
    
                        leaf acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo";
                        }
    
                        leaf synced-acked-version {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf outstanding-version {
                          type uint32;
                          description
                            "No. of all outstanding version objects waiting
    for ack from the peer";
                        }
    
                        leaf outstanding-refresh-version {
                          type uint32;
                          description
                            "No. of only refresh version objects waiting for
    ack from the peer";
                        }
    
                        leaf outstanding-version-max {
                          type uint32;
                          description
                            "Version mapped from acked seqNo that was synced
    last";
                        }
    
                        leaf is-aigp-set {
                          type boolean;
                          description
                            "AIGP set ";
                        }
    
                        leaf is-rt-present {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf is-rt-present-standby {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf accept-own-enabled {
                          type boolean;
                          description
                            "Flag to indicate if Accept-Own is enabled";
                        }
    
                        leaf selective-multipath-eligible {
                          type boolean;
                          description
                            "Flag to indicate if selective multipath is
    eligible";
                        }
    
                        leaf afrpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf afrpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf afrpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf afrpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf is-advertise-permanent-network {
                          type boolean;
                          description
                            "Flag to indicate if advertise is permanent
    network";
                        }
    
                        leaf is-send-mcast-attr {
                          type boolean;
                          description
                            "Send Mcast Attr";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Import Stitching enabled";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Import Reoriginate enabled";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Import Reoriginate Stitching enabled";
                        }
    
                        leaf advertise-v4-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV4";
                        }
    
                        leaf advertise-v6-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV6";
                        }
    
                        leaf advertise-local-labeled-route-unicast {
                          type boolean;
                          description
                            "Advertise routes with ";
                        }
    
                        leaf prefixes-denied-non-cumulative {
                          type uint32;
                          description
                            "No. of prefixes exactly denied (non cumulative)";
                        }
    
                        leaf enable-label-stack {
                          type boolean;
                          description
                            "Flag to indicate if label stack is enabled";
                        }
    
                        leaf ot-prov-track-enable {
                          type boolean;
                          description
                            "OT Provider Tracking enabled";
                        }
    
                        leaf ot-prov-track-state {
                          type Bgp-track-state;
                          description
                            "OT Provider Tracking state";
                        }
    
                        leaf ot-prov-track-in-gr-state {
                          type boolean;
                          description
                            "OT Provider Track in GR State";
                        }
    
                        leaf ot-prov-track-eor-tmr-running {
                          type boolean;
                          description
                            "OT Provider Track EOR timer running";
                        }
    
                        leaf slow-peer-flags {
                          type uint8;
                          description
                            "Slow Peer Flags ";
                        }
    
                        leaf slow-peer-static {
                          type boolean;
                          description
                            "Static Slow Peer ";
                        }
    
                        leaf slow-peer-dynamic {
                          type boolean;
                          description
                            "Dynamic Slow Peer";
                        }
    
                        leaf slow-peer-permanent {
                          type boolean;
                          description
                            "Permanent Slow Peer";
                        }
    
                        leaf slow-peer-count {
                          type uint16;
                          description
                            "Slow peer count";
                        }
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list extended-community-standby {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community-standby
                      }  // list af-data
                    }  // list neighbor
                  }  // container neighbors
    
                  container next-hop-vrf {
                    description
                      "A BGP Next-hop VRF table entry";
                    leaf total-processing-time {
                      type uint32;
                      description
                        "Total time spent in processing";
                    }
    
                    leaf max-proc-notification-time {
                      type uint32;
                      description
                        "How long since the maximum processing time
    notifcation was received";
                    }
    
                    leaf max-notification-bestpath-deletes {
                      type uint32;
                      description
                        "Number of bestpath deletes caused by
    notification which resulted in maximum
    processing";
                    }
    
                    leaf max-notification-bestpath-changes {
                      type uint32;
                      description
                        "Number of bestpath changes caused by
    notification which resulted in maximum
    processing";
                    }
    
                    leaf maximum-processing-time {
                      type uint32;
                      description
                        "Maximum time spent procesing a single batch
    notification";
                    }
    
                    leaf last-notificationication-time {
                      type uint32;
                      description
                        "Time since the last notification was received";
                    }
    
                    leaf last-notification-processing-time {
                      type uint32;
                      description
                        "Processing time for the last notification";
                    }
                  }  // container next-hop-vrf
    
                  container neighbor-ranges {
                    description
                      "The BGP Dynamic Neighbor Range table";
                    list neighbor-range {
                      key "neighbor-range-address";
                      description
                        "A BGP Neighbor Range table entry";
                      leaf neighbor-range-address {
                        type inet:ip-prefix;
                        description
                          "Neighbor Range prefix";
                      }
    
                      container connection-local-address {
                        description
                          "Local address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-local-address
    
                      container connection-remote-address {
                        description
                          "Remote address for the connection";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container connection-remote-address
    
                      container graceful-maintenance {
                        description
                          "BGP connection of graceful shutdown";
                        leaf gshut-exists {
                          type boolean;
                          description
                            "Graceful Maintenance enabled";
                        }
    
                        leaf gshut-local-active {
                          type boolean;
                          description
                            "Graceful Maintenance locally activated";
                        }
    
                        leaf gshut-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated";
                        }
    
                        leaf gshut-locpref-set {
                          type boolean;
                          description
                            "Graceful Maintenance Local Preference set";
                        }
    
                        leaf gshut-locpref {
                          type uint32;
                          description
                            "Graceful Maintenance Local Preference";
                        }
    
                        leaf gshut-prepends {
                          type uint8;
                          description
                            "Graceful Maintenance number of AS prepends";
                        }
    
                        leaf gshut-interface-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Interface";
                        }
    
                        leaf gshut-location-active {
                          type boolean;
                          description
                            "Graceful Maintenance activated at Location";
                        }
                      }  // container graceful-maintenance
    
                      container cfg-local-address {
                        description
                          "Configured local address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container cfg-local-address
    
                      container local-address-subnet {
                        description
                          "Subnet for the BGP local address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container local-address-subnet
    
                      leaf speaker-id {
                        type uint8;
                        description
                          "Speaker this neighbor is allocated to";
                      }
    
                      leaf description {
                        type string;
                        description
                          "Description of the BGP neighbor";
                      }
    
                      leaf local-as {
                        type uint32;
                        description
                          "Local AS number";
                      }
    
                      leaf remote-as {
                        type uint32;
                        description
                          "Remote AS number";
                      }
    
                      leaf has-internal-link {
                        type boolean;
                        description
                          "Internal link to neighbor";
                      }
    
                      leaf is-local-address-configured {
                        type boolean;
                        description
                          "Local address configured for the neighbor
    connection";
                      }
    
                      leaf neighbor-range-prefix-length {
                        type uint8;
                        description
                          "Length of the BGP neighbor prefix";
                      }
    
                      leaf is-administratively-shut-down {
                        type boolean;
                        description
                          "Flag to indicate if neighbor is administratively
    shutdown";
                      }
    
                      leaf is-neighbor-max-prefix-shutdown {
                        type boolean;
                        description
                          "Neighbor shut down because it exceeded max prfx
    count";
                      }
    
                      leaf is-out-of-memory-forced-up {
                        type boolean;
                        description
                          "Neighbor forced up during a low memory condition";
                      }
    
                      leaf ttl-security-enabled {
                        type boolean;
                        description
                          "TTL Security enabled";
                      }
    
                      leaf suppress4-byte-as {
                        type boolean;
                        description
                          "Suppress 4byteas capability";
                      }
    
                      leaf bfd-session-enable-mode {
                        type Bgp-bfd-enable-mode;
                        description
                          "BFD enable mode for this peer";
                      }
    
                      leaf bfd-minintervalval {
                        type uint32;
                        description
                          "BFD Mininterval for this peer";
                      }
    
                      leaf bfd-multiplierval {
                        type uint32;
                        description
                          "BFD Multiplier for this peer";
                      }
    
                      leaf ebgp-time-to-live {
                        type uint32;
                        description
                          "Maximum number of hops for external BGP neighbor";
                      }
    
                      leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
                        type boolean;
                        description
                          "If true, MPLS and NULL rewrite is disabled; if
    false, it is enabled";
                      }
    
                      leaf tcpmss {
                        type uint32;
                        description
                          "Neighbor TCP Maximum Segment
    size";
                      }
    
                      leaf msg-log-in {
                        type uint32;
                        description
                          "Message in log count";
                      }
    
                      leaf msg-log-out {
                        type uint32;
                        description
                          "Message out log count";
                      }
    
                      leaf neighbor-local-as {
                        type uint32;
                        description
                          "Local AS configured on the neighbor";
                      }
    
                      leaf local-as-no-prepend {
                        type boolean;
                        description
                          "Option to not prepend the Local AS to
    announcements";
                      }
    
                      leaf merge-inbound-safi1and4-updates {
                        type boolean;
                        description
                          "Merge SAFI-1 and SAFI-4 updates from neighbor";
                      }
    
                      leaf is-capability-negotiation-performed {
                        type boolean;
                        description
                          "Flag to indicate if BGP neighbor capability
    negotiation is performed";
                      }
    
                      leaf configured-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Hold time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-keepalive {
                        type uint16;
                        units "second";
                        description
                          "Keepalive time (in secs) configured for this
    connection";
                      }
    
                      leaf configured-min-acc-hold-time {
                        type uint16;
                        units "second";
                        description
                          "Minimum acceptable hold time from neighbor (in
    secs) configured for this connection";
                      }
    
                      leaf min-advertise-interval {
                        type uint32;
                        units "second";
                        description
                          "Minimum advertisement interval, secs part";
                      }
    
                      leaf min-advertise-interval-msecs {
                        type uint32;
                        units "millisecond";
                        description
                          "Minimum advertisement interval, msecs part";
                      }
    
                      leaf min-origination-interval {
                        type uint16;
                        units "second";
                        description
                          "Minimum origination interval (in secs)";
                      }
    
                      leaf remote-as-number {
                        type uint32;
                        description
                          "AS number of the neighbor";
                      }
    
                      leaf dmz-link-bandwidth {
                        type uint32;
                        description
                          "Bandwidth of link to single-hop eBGP peer";
                      }
    
                      leaf ebgp-recv-dmz {
                        type boolean;
                        description
                          "Receive Bandwidth of link to single-hop eBGP
    peer";
                      }
    
                      leaf ebgp-send-dmz-mode {
                        type Bgp-ebgp-send-dmz-enable-mode;
                        description
                          "Ebgp send dmz link bw mode";
                      }
    
                      leaf tos-type {
                        type uint8;
                        description
                          "Precedence or DSCP type";
                      }
    
                      leaf tos-value {
                        type uint8;
                        description
                          "Precedence or DSCP value";
                      }
    
                      leaf tcp-session-open-mode {
                        type Bgp-tcp-mode;
                        description
                          "The TCP mode to be used to set up BGP session
    with the neighbor";
                      }
    
                      leaf vrf-name {
                        type string;
                        description
                          "Name of the VRF";
                      }
    
                      leaf standby-rp {
                        type boolean;
                        description
                          "Standby RP socket inited for Active Open";
                      }
    
                      leaf nsr-enabled {
                        type boolean;
                        description
                          "Neighbor supports NSR";
                      }
    
                      leaf graceful-restart-enabled-nbr {
                        type boolean;
                        description
                          "Neighbor supports graceful-restart";
                      }
    
                      leaf gr-restart-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor restart time (in seconds)";
                      }
    
                      leaf gr-stale-path-time {
                        type uint32;
                        units "second";
                        description
                          "Neighbor stale-path time (in seconds)";
                      }
    
                      leaf is-passive-close {
                        type boolean;
                        description
                          "If true, active socket canbe closed if passive
    openis received for a GRcapable neighbor";
                      }
    
                      leaf nbr-enforce-first-as {
                        type boolean;
                        description
                          "Neighbor enforce first AS";
                      }
    
                      leaf active-bmp-servers {
                        type uint8;
                        description
                          "BMP Servers to which the neighbor sends logs";
                      }
    
                      leaf nbr-cluster-id {
                        type uint32;
                        description "Cluster id";
                      }
    
                      leaf nbr-in-cluster {
                        type uint8;
                        description
                          "Type of cluster_id:undefined/number/Ip address";
                      }
    
                      leaf ignore-connected {
                        type boolean;
                        description
                          "If true, the VPN client isan IBGP CE peer";
                      }
    
                      leaf internal-vpn-client {
                        type boolean;
                        description
                          "If true, don't do NHconnected check for nbr";
                      }
    
                      leaf local-as-replace-as {
                        type boolean;
                        description
                          "Local AS Replace-AS option";
                      }
    
                      leaf local-as-dual-as {
                        type boolean;
                        description
                          "Local AS Dual-AS option";
                      }
    
                      leaf local-as-dual-as-mode-native {
                        type boolean;
                        description
                          "Applies only if Local AS Dual-AS option is
    enabled. Indicates if Dual-AS mode is native.";
                      }
    
                      leaf egress-peer-engineering-enabled {
                        type boolean;
                        description
                          "Indicates if Egress Peer Engineering is enabled";
                      }
    
                      leaf discard-as4-path {
                        type uint32;
                        description
                          "Discard AS4_PATH in case there is a discrepancy
    in merging AS_PATH and AS4_PATH,retain ASPATH";
                      }
    
                      leaf rpki-disable {
                        type boolean;
                        description
                          "Prefix validation disabled";
                      }
    
                      leaf rpki-use-validity {
                        type boolean;
                        description
                          "Prefix v. use validity";
                      }
    
                      leaf rpki-allow-invalid {
                        type boolean;
                        description
                          "Prefix v. allow invalid";
                      }
    
                      leaf rpki-signal-ibgp {
                        type boolean;
                        description
                          "Prefix v. signal ibgp";
                      }
    
                      leaf remote-as-list-name {
                        type string;
                        description
                          "Remote AS List Name";
                      }
    
                      leaf nbr-rcv-size {
                        type uint32;
                        description
                          "Nbr Receive Size";
                      }
    
                      leaf nbr-send-size {
                        type uint32;
                        description
                          "Nbr Send Size";
                      }
    
                      leaf islocal-address-cfg {
                        type boolean;
                        description
                          "Local address configured";
                      }
    
                      leaf update-source {
                        type string;
                        description
                          "Interface to get the local IP address for the
    BGP session";
                      }
    
                      leaf is-local-addr-subnet-cfg {
                        type boolean;
                        description
                          "Flag to indicate if local-address-subnet is
    configured";
                      }
    
                      leaf local-address-subnet-len {
                        type uint32;
                        description
                          "Length of subnet for BGP local address";
                      }
    
                      leaf addpath-send-enable {
                        type boolean;
                        description
                          "Flag to indicate if addpath send functionality
    is enabled";
                      }
    
                      leaf addpath-receive-enable {
                        type boolean;
                        description
                          "Flag to indicate if addpath receive
    functionality is enabled";
                      }
    
                      leaf addpath-send-disable {
                        type boolean;
                        description
                          "Flag to indicate addpath send functionality is
    disabled";
                      }
    
                      leaf addpath-receive-disable {
                        type boolean;
                        description
                          "Flag indicates if addpath receive functionality
    is disabled";
                      }
    
                      leaf upd-errh-noreset {
                        type boolean;
                        description
                          "Update error handling configuration for C1
    category errors";
                      }
    
                      leaf msg-buf-count {
                        type uint32;
                        description
                          "Message Buf Count";
                      }
    
                      leaf msg-bug-circular {
                        type boolean;
                        description
                          "Message Buf Circular";
                      }
    
                      leaf syslog-enable {
                        type boolean;
                        description
                          "Flag to indicate if syslog should be output when
    an attribute filter is executed";
                      }
    
                      leaf oper-attrf-enable {
                        type boolean;
                        description
                          "Flag to indicate if operational attribute filter
    is enabled";
                      }
    
                      leaf attrf-group-name {
                        type string;
                        description
                          "Name of the attribute filter group Name";
                      }
    
                      leaf max-peers {
                        type uint32;
                        description
                          "Max Dynamic nbrs in range";
                      }
    
                      leaf idle-watch-time {
                        type uint32;
                        units "second";
                        description
                          "Dynamic Neighbor idle-watch time (in seconds)";
                      }
    
                      leaf current-peers {
                        type uint32;
                        description
                          "Current Dynamic nbrs in range";
                      }
    
                      leaf range-open-match {
                        type uint32;
                        description
                          "Passive open matching range";
                      }
    
                      leaf range-open-accepted {
                        type uint32;
                        description
                          "BGP neighbor passive session accepted";
                      }
    
                      leaf range-max-drop {
                        type uint32;
                        description
                          "open drop due to max peers";
                      }
    
                      leaf range-inst-error {
                        type uint32;
                        description
                          "Error during instance creation";
                      }
    
                      list af-data {
                        max-elements 25;
                        description
                          "Address family specific neighbor data";
                        leaf af-name {
                          type Bgp-afi;
                          description
                            "Address family identifier";
                        }
    
                        leaf is-neighbor-route-reflector-client {
                          type boolean;
                          description
                            "Nbr is a route reflector client";
                        }
    
                        leaf is-legacy-pe-rt {
                          type boolean;
                          description
                            "Nbr accepts route from legacy PE for
    RT-Constraint AF ";
                        }
    
                        leaf is-neighbor-af-capable {
                          type boolean;
                          description
                            "Address family capability received from neighbor";
                        }
    
                        leaf is-soft-reconfiguration-inbound-allowed {
                          type boolean;
                          description
                            "Inbound soft reconfiguration allowed";
                        }
    
                        leaf is-use-soft-reconfiguration-always-on {
                          type boolean;
                          description
                            "Soft reconf overrides route refresh";
                        }
    
                        leaf remove-private-as-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to this
    nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates to
    thisnbr only if the aspath hasonly private ASes";
                        }
    
                        leaf remove-private-as-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr";
                        }
    
                        leaf remove-private-as-entire-aspath-from-inbound-updates {
                          type boolean;
                          description
                            "Private AS numbers removed from updates from
    this nbr only if the aspath has only private
    ASes";
                        }
    
                        leaf flowspec-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec validation is
    disabled";
                        }
    
                        leaf flowspec-redirect-validation-d-isable {
                          type boolean;
                          description
                            "Flag to indicate if flowspec redirect validation
    is disabled";
                        }
    
                        leaf orr-group-name {
                          type string;
                          description
                            "ORR Group Name";
                        }
    
                        leaf orr-group-index {
                          type uint32;
                          description
                            "ORR Group Index";
                        }
    
                        leaf is-orr-root-address-configured {
                          type boolean;
                          description
                            "ORR Root address configuredfor the neighbor
    connection";
                        }
    
                        leaf advertise-afi {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-reorg {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-local {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf advertise-afi-disable {
                          type boolean;
                          description
                            "Encode in Advertise AFI";
                        }
    
                        leaf always-use-next-hop-local {
                          type boolean;
                          description
                            "Local router always used for next-hop";
                        }
    
                        leaf next-hop-unchanged {
                          type boolean;
                          description
                            "router does not change next-hop";
                        }
    
                        leaf sent-community-to-neighbor {
                          type boolean;
                          description
                            "Community attribute sent to neighbor";
                        }
    
                        leaf sent-gshut-community-to-neighbor {
                          type boolean;
                          description
                            "GSHUT Community attribute sent to neighbor";
                        }
    
                        leaf sent-extended-community-to-neighbor {
                          type boolean;
                          description
                            "Extended community attribute sent to neighbor";
                        }
    
                        leaf neighbor-default-originate {
                          type boolean;
                          description
                            "Neighbor originates default";
                        }
    
                        leaf is-orf-sent {
                          type boolean;
                          description
                            "Outbound route filter sent to neighbor";
                        }
    
                        leaf is-update-deferred {
                          type boolean;
                          description
                            "Update deferred until ORF/route refresh received";
                        }
    
                        leaf is-orf-send-scheduled {
                          type boolean;
                          description
                            "Scheduled to send prefix based ORF";
                        }
    
                        leaf vpn-update-gen-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf vpn-update-gen-trigger-enabled {
                          type boolean;
                          description
                            "RT Nbr enabled for updategento another";
                        }
    
                        leaf is-addpath-send-operational {
                          type boolean;
                          description
                            "Addpath is operational on send-side";
                        }
    
                        leaf is-addpath-receive-operational {
                          type boolean;
                          description
                            "Addpath is operational on receive-side";
                        }
    
                        leaf weight {
                          type uint32;
                          description
                            "Weight for this AF";
                        }
    
                        leaf max-prefix-limit {
                          type uint32;
                          description
                            "Max limit for # of prefixes";
                        }
    
                        leaf use-max-prefix-warning-only {
                          type boolean;
                          description
                            "Warning only when maximum prefix limit reached";
                        }
    
                        leaf max-prefix-discard-extra-paths {
                          type boolean;
                          description
                            "Discard extra paths when prefix limit reached";
                        }
    
                        leaf max-prefix-exceed-discard-paths {
                          type boolean;
                          description
                            "Did we discard extra paths when prefix limit
    reached";
                        }
    
                        leaf max-prefix-threshold-percent {
                          type uint8;
                          units "percentage";
                          description
                            "Percentage of maximum no. of prefixes at which
    to generate warning";
                        }
    
                        leaf max-prefix-discard-paths-count {
                          type uint32;
                          description
                            "Number of discarded paths after prefix limit
    reached";
                        }
    
                        leaf max-prefix-restart-time {
                          type uint16;
                          units "minute";
                          description
                            "Time interval (in minutes) after which peering
    session will be reestablished";
                        }
    
                        leaf is-peer-orf-capable {
                          type boolean;
                          description
                            "Peer has outbound route filter capability";
                        }
    
                        leaf is-advertised-orf-send {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability advertised";
                        }
    
                        leaf is-received-orf-send-capable {
                          type boolean;
                          description
                            "Prefix based ORF send mode capability received";
                        }
    
                        leaf is-advertised-orf-receive {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    advertised";
                        }
    
                        leaf is-received-orf-receive-capable {
                          type boolean;
                          description
                            "Prefix based ORF receive mode capability
    received";
                        }
    
                        leaf is-advertised-graceful-restart {
                          type boolean;
                          description
                            "Graceful Restart Capability advertised";
                        }
    
                        leaf is-graceful-restart-state-flag {
                          type boolean;
                          description
                            "Restart state flag enabled";
                        }
    
                        leaf is-received-graceful-restart-capable {
                          type boolean;
                          description
                            "Graceful Restart Capability received";
                        }
    
                        leaf is-add-path-send-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability is
    advertised";
                        }
    
                        leaf is-add-path-send-capability-received {
                          type boolean;
                          description
                            "Flag to indicate if addpath send capability is
    received";
                        }
    
                        leaf is-add-path-receive-capability-advertised {
                          type boolean;
                          description
                            "Flag to indicate whetheraddpath receive
    capabilityadvertised";
                        }
    
                        leaf is-add-path-receive-capability-received {
                          type boolean;
                          description
                            "Flag to indicate whether addpathreceive
    capability received";
                        }
    
                        leaf restart-time {
                          type uint32;
                          units "second";
                          description
                            "Restart time advertised (seconds)";
                        }
    
                        leaf local-restart-time {
                          type uint32;
                          units "second";
                          description
                            "Local Restart time (seconds)";
                        }
    
                        leaf stale-path-timeout {
                          type uint32;
                          units "second";
                          description
                            "Stale path timeout time (in seconds)";
                        }
    
                        leaf rib-purge-timeout-value {
                          type uint32;
                          units "second";
                          description
                            "RIB purge timeout time (in seconds)";
                        }
    
                        leaf neighbor-preserved-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate if BGP neighbor is preserved in
    forwarding state";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-configured {
                          type boolean;
                          description
                            "Flag to indicate whether long-lived
    graceful-restart stale time is configured";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-sent {
                          type uint32;
                          units "second";
                          description
                            "Stale time sent in long-lived graceful-restart
    capability (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-accept {
                          type uint32;
                          units "second";
                          description
                            "Maximum long-lived graceful-restart stale time
    acceptable from the neighbor (seconds)";
                        }
    
                        leaf long-lived-graceful-restart-capability-received {
                          type boolean;
                          description
                            "Flag to indicate whether long-livedgraceful
    restart capability received from the neighbor";
                        }
    
                        leaf long-lived-graceful-restart-stale-time-received {
                          type uint32;
                          units "second";
                          description
                            "Long-lived graceful-restart stale time received
    from the neighbor (seconds)";
                        }
    
                        leaf neighbor-preserved-long-lived-forwarding-state {
                          type boolean;
                          description
                            "Flag to indicate whether neighbor preserved
    long-lived forwarding state";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-capable {
                          type boolean;
                          description
                            "Flag to indicate whether treat neighbor as
    long-lived graceful-restart capable";
                        }
    
                        leaf neighbor-long-lived-graceful-restart-time-remaining {
                          type uint32;
                          description
                            "Remaining long-lived graceful-restart time";
                        }
    
                        leaf is-prefix-orf-present {
                          type boolean;
                          description
                            "Outbound route filter prefix ORF present";
                        }
    
                        leaf orf-entries-received {
                          type uint32;
                          description
                            "Number of outbound route filter entries received";
                        }
    
                        leaf route-policy-prefix-orf {
                          type string;
                          description
                            "Prefix based ORF for incoming updates";
                        }
    
                        leaf route-policy-in {
                          type string;
                          description
                            "Incoming route policy name";
                        }
    
                        leaf route-policy-out {
                          type string;
                          description
                            "Outgoing route policy name";
                        }
    
                        leaf route-policy-default-originate {
                          type string;
                          description
                            "Default-originate route policy name";
                        }
    
                        leaf is-neighbor-ebgp-without-inbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured inbound policy";
                        }
    
                        leaf is-neighbor-ebgp-without-outbound-policy {
                          type boolean;
                          description
                            "eBGP neighbor with no configured outbound policy";
                        }
    
                        leaf is-upd-orig-loopchk-disable-set {
                          type boolean;
                          description
                            "Flag to indicate for update out originator
    loopcheck disable is set";
                        }
    
                        leaf is-as-override-set {
                          type boolean;
                          description
                            "Flag to indicate if As-override is set";
                        }
    
                        leaf is-allow-as-in-set {
                          type boolean;
                          description
                            "Allowas-in set ";
                        }
    
                        leaf allow-as-in-count {
                          type uint32;
                          description
                            "Allowas-in count config";
                        }
    
                        leaf address-family-long-lived-time {
                          type uint32;
                          description
                            "AF specific Long-lived-time config";
                        }
    
                        leaf is-aigp-set {
                          type boolean;
                          description
                            "AIGP set ";
                        }
    
                        leaf is-rt-present {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf is-rt-present-standby {
                          type boolean;
                          description
                            "RT attribute list present";
                        }
    
                        leaf accept-own-enabled {
                          type boolean;
                          description
                            "Flag to indicate if accept-Own is enabled";
                        }
    
                        leaf selective-multipath-eligible {
                          type boolean;
                          description
                            "Flag to indicate if selective multipath is
    eligible";
                        }
    
                        leaf afrpki-disable {
                          type boolean;
                          description
                            "Prefix validation disabled";
                        }
    
                        leaf afrpki-use-validity {
                          type boolean;
                          description
                            "Prefix v. use validity";
                        }
    
                        leaf afrpki-allow-invalid {
                          type boolean;
                          description
                            "Prefix v. allow invalid";
                        }
    
                        leaf afrpki-signal-ibgp {
                          type boolean;
                          description
                            "Prefix v. signal ibgp";
                        }
    
                        leaf is-advertise-permanent-network {
                          type boolean;
                          description
                            "Flag to indicate if advertise permanent network
    is enabled";
                        }
    
                        leaf is-send-mcast-attr {
                          type boolean;
                          description
                            "Send Mcast Attr";
                        }
    
                        leaf import-stitching {
                          type boolean;
                          description
                            "Import Stitching enabled";
                        }
    
                        leaf import-reoriginate {
                          type boolean;
                          description
                            "Import Reoriginate enabled";
                        }
    
                        leaf import-reoriginate-stitching {
                          type boolean;
                          description
                            "Import Reoriginate Stitching enabled";
                        }
    
                        leaf advertise-v4-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV4";
                        }
    
                        leaf advertise-v6-flags {
                          type uint32;
                          description
                            "Advertise options for VPNV6";
                        }
    
                        leaf enable-label-stack {
                          type boolean;
                          description
                            "Flag to indicate if label stack is enabled";
                        }
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list extended-community-standby {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community-standby
                      }  // list af-data
    
                      list instance {
                        description
                          "Dynamic Neighbor Instance List";
                        container neighbor-address {
                          description
                            "Dynamic Neighbor address";
                          container l2vpn-vpls-address {
                            when
                              "../afi = 'l2vpn-vpls'" {
                              description
                                "../AFI = 'L2VPN_VPLS'";
                            }
                            description
                              "L2VPN VPLS Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the protocol BGP";
                            }
                          }  // container l2vpn-vpls-address
    
                          container l2vpn-evpn-address {
                            when
                              "../afi = 'l2vpn-evpn'" {
                              description
                                "../AFI = 'L2VPN_EVPN'";
                            }
                            description
                              "L2VPN EVPN Addr";
                            leaf l2vpn-evpn-address {
                              type yang:hex-string;
                              description
                                "l2vpn evpn address";
                            }
                          }  // container l2vpn-evpn-address
    
                          container l2vpn-mspw-address {
                            when
                              "../afi = 'l2vpn-mspw'" {
                              description
                                "../AFI = 'L2VPN_MSPW'";
                            }
                            description
                              "L2VPN MSPW Addr";
                            leaf l2vpn-address {
                              type yang:hex-string;
                              description
                                "L2vpn address of the BGP mspw";
                            }
                          }  // container l2vpn-mspw-address
    
                          container ipv4-sr-policy-address {
                            when
                              "../afi = 'ipv4-sr-policy'" {
                              description
                                "../AFI = 'IPv4SRPolicy'";
                            }
                            description
                              "IPV4 Policy Addr";
                            leaf ipv4-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv4 address of thesrpolicy";
                            }
                          }  // container ipv4-sr-policy-address
    
                          container ipv6-sr-policy-address {
                            when
                              "../afi = 'ipv6-sr-policy'" {
                              description
                                "../AFI = 'IPv6SRPolicy'";
                            }
                            description
                              "IPV6 Policy Addr";
                            leaf ipv6-srpolicy-address {
                              type yang:hex-string;
                              description
                                "IPv6 address of thesrpolicy";
                            }
                          }  // container ipv6-sr-policy-address
    
                          leaf afi {
                            type Bgp-afi;
                            description "AFI";
                          }
    
                          leaf ipv4-address {
                            when
                              "../afi = 'ipv4'" {
                              description
                                "../AFI = 'IPv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Addr";
                          }
    
                          leaf ipv4-mcast-address {
                            when
                              "../afi = 'ipv4-multicast'" {
                              description
                                "../AFI = 'IPv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Mcast Addr";
                          }
    
                          leaf ipv4-label-address {
                            when
                              "../afi = 'ipv4-labeled'" {
                              description
                                "../AFI = 'IPv4Labeled'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 Label Addr";
                          }
    
                          leaf ipv4-tunnel-address {
                            when
                              "../afi = 'ipv4-tunnel'" {
                              description
                                "../AFI = 'IPv4Tunnel'";
                            }
                            type Ipv4-tunnel-address;
                            description
                              "IPv4 Tunnel";
                          }
    
                          leaf ipv4-mdt-address {
                            when
                              "../afi = 'ipv4-mdt'" {
                              description
                                "../AFI = 'IPv4MDT'";
                            }
                            type Ipv4-mdt-address;
                            description
                              "IPv4 MDT Addr";
                          }
    
                          leaf ipv4vpn-address {
                            when
                              "../afi = 'vpnv4'" {
                              description
                                "../AFI = 'VPNv4'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Addr";
                          }
    
                          leaf ipv4vpna-mcastddress {
                            when
                              "../afi = 'vpnv4-multicast'" {
                              description
                                "../AFI = 'VPNv4Multicast'";
                            }
                            type inet:ipv4-address;
                            description
                              "IPv4 VPN Mcast Addr";
                          }
    
                          leaf ipv6-address {
                            when
                              "../afi = 'ipv6'" {
                              description
                                "../AFI = 'IPv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Addr";
                          }
    
                          leaf ipv6-mcast-address {
                            when
                              "../afi = 'ipv6-multicast'" {
                              description
                                "../AFI = 'IPv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPV6 Mcast Addr";
                          }
    
                          leaf ipv6-label-address {
                            when
                              "../afi = 'ipv6-labeled'" {
                              description
                                "../AFI = 'IPv6Labeled'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 Label Addr";
                          }
    
                          leaf ipv6vpn-address {
                            when
                              "../afi = 'vpnv6'" {
                              description
                                "../AFI = 'VPNv6'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Addr";
                          }
    
                          leaf ipv6vpn-mcast-address {
                            when
                              "../afi = 'vpnv6-multicast'" {
                              description
                                "../AFI = 'VPNv6Multicast'";
                            }
                            type Ipv6-address;
                            description
                              "IPv6 VPN Mcast Addr";
                          }
    
                          leaf rt-constraint-address {
                            when
                              "../afi = 'rt-constraint'" {
                              description
                                "../AFI = 'RTConstraint'";
                            }
                            type Rt-constraint-address;
                            description
                              "RT Constrt Addr";
                          }
    
                          leaf ipv6mvpn-address {
                            when
                              "../afi = 'ipv6-mvpn'" {
                              description
                                "../AFI = 'IPv6MVPN'";
                            }
                            type Ipv6mvpn-address;
                            description
                              "MVPN addr";
                          }
    
                          leaf ipv4mvpn-address {
                            when
                              "../afi = 'ipv4-mvpn'" {
                              description
                                "../AFI = 'IPv4MVPN'";
                            }
                            type Ipv4mvpn-address;
                            description
                              "MVPN4 addr";
                          }
    
                          leaf ls-ls-address {
                            when
                              "../afi = 'ls-ls'" {
                              description
                                "../AFI = 'LS_LS'";
                            }
                            type Ls-ls-address;
                            description
                              "LINKSTATE LINKSTATE Addr";
                          }
    
                          leaf ipv4-flowspec-address {
                            when
                              "../afi = 'ipv4-flowspec'" {
                              description
                                "../AFI = 'IPv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 Flowspec Addr";
                          }
    
                          leaf ipv6-flowspec-address {
                            when
                              "../afi = 'ipv6-flowspec'" {
                              description
                                "../AFI = 'IPv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 Flowspec Addr";
                          }
    
                          leaf ipv4vpn-flowspec-address {
                            when
                              "../afi = 'vpnv4-flowspec'" {
                              description
                                "../AFI = 'VPNv4Flowspec'";
                            }
                            type Ipv4-flowspec-address;
                            description
                              "IPV4 VPN Flowspec Addr";
                          }
    
                          leaf ipv6vpn-flowspec-address {
                            when
                              "../afi = 'vpnv6-flowspec'" {
                              description
                                "../AFI = 'VPNv6Flowspec'";
                            }
                            type Ipv6-flowspec-address;
                            description
                              "IPV6 VPN Flowspec Addr";
                          }
                        }  // container neighbor-address
    
                        container neighbor-age {
                          description
                            "Age of the BGP neighbor";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container neighbor-age
    
                        container idle-watch-timer-remaining-value {
                          description
                            "Remaining time in idle watch timer";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container idle-watch-timer-remaining-value
    
                        leaf is-idle-watch-timer-running {
                          type boolean;
                          description
                            "Flag to indicate if idle watch timer is running";
                        }
    
                        leaf connection-state {
                          type Bgp-conn-state;
                          description
                            "State of connection";
                        }
                      }  // list instance
                    }  // list neighbor-range
                  }  // container neighbor-ranges
    
                  container message-logs {
                    description
                      "The BGP Neighbor Message table";
                    list message-log {
                      description
                        "A BGP Message log entry";
                      leaf neighbor-address {
                        type inet:ip-address-no-zone;
                        description
                          "IPv4 or IPv6 Address of the BGP Neighbor";
                      }
    
                      leaf direction {
                        type uint32 {
                          range "0..1";
                        }
                        description
                          "Message log Direction";
                      }
    
                      list neighbor-message {
                        description
                          "Array of Neighbor Messages in one direction";
                        container message-timestamp {
                          description
                            "message received time: time elapsed since 00:00
    :00 UTC, January 1, 1970";
                          leaf seconds {
                            type uint32;
                            units "second";
                            description
                              "Seconds part of time value";
                          }
    
                          leaf nanoseconds {
                            type uint32;
                            units "nanosecond";
                            description
                              "Nanoseconds part of time value";
                          }
                        }  // container message-timestamp
    
                        leaf message-type-received {
                          type uint8;
                          description
                            "Type of messages Received";
                        }
    
                        leaf total-logged-message-count {
                          type uint32;
                          description
                            "Number of total logged messages";
                        }
    
                        leaf message-data-length {
                          type uint16;
                          description
                            "Length of the BGP message";
                        }
    
                        list logged-message-data {
                          description
                            "Raw Message data in binary format";
                          leaf entry {
                            type uint8;
                            description
                              "Raw Message data in binary format";
                          }
                        }  // list logged-message-data
                      }  // list neighbor-message
                    }  // list message-log
                  }  // container message-logs
                }  // container default-vrf
    
                container update-inbound-filter-process {
                  description
                    "Update inbound filtering information for the
    process";
                  container last-update-filtered-timestamp {
                    description
                      "Last filtered messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description
                        "Seconds part of time value";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description
                        "Nanoseconds part of time value";
                    }
                  }  // container last-update-filtered-timestamp
    
                  leaf update-filtered-message-count {
                    type uint32;
                    description
                      "The number of messages filtered";
                  }
    
                  leaf update-filtered-neighbor-count {
                    type uint32;
                    description
                      "Count of neighbors that received filtered
    messages";
                  }
    
                  leaf last-update-filtered-age {
                    type uint32;
                    units "second";
                    description
                      "Time since last filtered messages received event
    (in seconds)";
                  }
                }  // container update-inbound-filter-process
    
                container vrfdbvr-fentry {
                  description
                    "A BGP VRF DB VRF entry";
                  container entry {
                    description "entry";
                    leaf name {
                      type string;
                      description "name";
                    }
    
                    leaf af {
                      type int32;
                      description "af";
                    }
    
                    leaf id {
                      type uint32;
                      description "id";
                    }
    
                    leaf index {
                      type uint8;
                      description "index";
                    }
    
                    leaf rsi-handle {
                      type uint64;
                      description "rsi handle";
                    }
    
                    leaf reg-pending {
                      type boolean;
                      description "reg pending";
                    }
    
                    leaf refcount {
                      type uint32;
                      description "refcount";
                    }
    
                    leaf import-policy {
                      type string;
                      description
                        "import policy";
                    }
    
                    leaf export-policy {
                      type string;
                      description
                        "export policy";
                    }
    
                    list import-rt {
                      description "import rt";
                      leaf entry {
                        type uint64;
                        description "import rt";
                      }
                    }  // list import-rt
    
                    list export-rt {
                      description "export rt";
                      leaf entry {
                        type uint64;
                        description "export rt";
                      }
                    }  // list export-rt
    
                    list import-rt-s {
                      description "import rt s";
                      leaf entry {
                        type uint64;
                        description
                          "import rt s";
                      }
                    }  // list import-rt-s
    
                    list export-rt-s {
                      description "export rt s";
                      leaf entry {
                        type uint64;
                        description
                          "export rt s";
                      }
                    }  // list export-rt-s
                  }  // container entry
                }  // container vrfdbvr-fentry
    
                container attributes {
                  description
                    "The BGP Attribute table";
                  list attribute {
                    description
                      "A BGP Attribute table entry";
                    leaf attribute-iid {
                      type uint32 {
                        range "0..255";
                      }
                      description
                        "Identifier of BGP Attribute table entry";
                    }
    
                    leaf attribute-cache-bucket {
                      type uint32 {
                        range "0..65535";
                      }
                      description
                        "Cache bucket value of BGP Attribute table
    entry";
                    }
    
                    leaf attribute-cache-id {
                      type uint32;
                      description
                        "Identifier of the BGP Attribute Cache";
                    }
    
                    container attribute-info {
                      description "Attributes";
                      container common-attributes {
                        description
                          "BGP entry to derive the attribute information";
                        container prefix-sid-label-index {
                          description
                            "Prefix-SID LabelIndex TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf label-index {
                            type uint32;
                            description
                              "LabelIndex field";
                          }
                        }  // container prefix-sid-label-index
    
                        container prefix-sid-orig-srgb {
                          description
                            "Prefix-SID OrigSRGB TLV info";
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf range-count {
                            type uint32;
                            description
                              "Number of SRGB ranges";
                          }
    
                          list range {
                            description
                              "List of SRGB ranges";
                            leaf range-start {
                              type uint32;
                              description
                                "Start of the range for BGP Segment Routing (SR)
    global block";
                            }
    
                            leaf range-end {
                              type uint32;
                              description
                                "End of the range for BGP Segment Routing
    (SR)global block";
                            }
                          }  // list range
                        }  // container prefix-sid-orig-srgb
    
                        container prefix-sid-srv6-layer2-svc {
                          description
                            "Prefix-SID SRv6L2SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of SIDs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer2-svc
    
                        container prefix-sid-srv6-layer3-svc {
                          description
                            "Prefix-SID SRv6L3SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of subtlvs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer3-svc
    
                        container prefix-sid-unk-tlvs {
                          description
                            "Prefix-SID UnkTLVs TLV info";
                          leaf tlv-count {
                            type uint16;
                            description
                              "Number of unknown TLVs stored";
                          }
    
                          leaf received-buffer-length {
                            type uint32;
                            description
                              "Received length of unknown TLVs";
                          }
    
                          list tl-vs-buffer {
                            description
                              "Limited buffer of unknown TLVs";
                            leaf entry {
                              type uint8;
                              description
                                "Limited buffer of unknown TLVs";
                            }
                          }  // list tl-vs-buffer
                        }  // container prefix-sid-unk-tlvs
    
                        container tunnel-encap {
                          description
                            "Tunnel Encapsulation attribute";
                          container sr-policy {
                            description
                              "Tunnel encap type SR policy";
                            container binding-sid {
                              description
                                "SR Policy incoming Binding sid";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container binding-sid
    
                            container allocated-binding-sid {
                              description
                                "SR Policy allocated Binding sid by the router";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container allocated-binding-sid
    
                            leaf tunnel-encap-type {
                              type uint16;
                              description
                                "Tunnel Encapsulation Type";
                            }
    
                            leaf preference {
                              type uint32;
                              description
                                "SR Policy Preference";
                            }
    
                            leaf state {
                              type boolean;
                              description
                                "SR Policy active state in forwarding";
                            }
    
                            leaf request-state {
                              type Bgp-srpolicy-req-state;
                              description
                                "SR Policy programming Status";
                            }
    
                            leaf usable {
                              type boolean;
                              description
                                "SR Policy is usable on this node";
                            }
    
                            list segment-list {
                              description
                                "SR Policy Segment Lists";
                              leaf weight {
                                type uint8;
                                description
                                  "Weight of segment list";
                              }
    
                              list segment {
                                description
                                  "Segments in segment list";
                                leaf type {
                                  type Sr-sid;
                                  description
                                    "Type";
                                }
    
                                leaf label {
                                  when
                                    "../type = 'label'" {
                                    description
                                      "../Type = 'Label'";
                                  }
                                  type uint32;
                                  description
                                    "MPLS Label value";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../type = 'ipv4'" {
                                    description
                                      "../Type = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Address value";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../type = 'ipv6'" {
                                    description
                                      "../Type = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 address value";
                                }
                              }  // list segment
                            }  // list segment-list
                          }  // container sr-policy
                        }  // container tunnel-encap
    
                        leaf is-metric-present {
                          type boolean;
                          description
                            "Metric attribute present";
                        }
    
                        leaf is-local-pref-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP local preference
    attribute is present";
                        }
    
                        leaf is-atomic-aggregate-present {
                          type boolean;
                          description
                            "Flag to indicate if Atomic aggregate attribute
    present";
                        }
    
                        leaf is-aggregator-present {
                          type boolean;
                          description
                            "Flag to indicate if Aggregator attribute present";
                        }
    
                        leaf is-origin-present {
                          type boolean;
                          description
                            "Flag to indicate if Origin attribute is present";
                        }
    
                        leaf is-as-path-present {
                          type boolean;
                          description
                            "AS path attribute present";
                        }
    
                        leaf is-community-present {
                          type boolean;
                          description
                            "Community attribute present";
                        }
    
                        leaf is-extended-community-present {
                          type boolean;
                          description
                            "Extended community attribute present";
                        }
    
                        leaf is-ssa-present {
                          type boolean;
                          description
                            "Flag to indicate if SSA attribute is present";
                        }
    
                        leaf is-connector-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP attribute Connector is
    present";
                        }
    
                        leaf is-pmsi-present {
                          type boolean;
                          description
                            "PMSI Attribute  present";
                        }
    
                        leaf is-pppmp-present {
                          type boolean;
                          description
                            "PPMP Attribute  present";
                        }
    
                        leaf is-aigp-present {
                          type boolean;
                          description
                            "AIGP Present";
                        }
    
                        leaf is-pe-distinguisher-label-present {
                          type boolean;
                          description
                            "PE distinguisher label  attribute present";
                        }
    
                        leaf is-ls-attribute-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP link-state attribute
    information is present";
                        }
    
                        leaf is-label-index-present {
                          type boolean;
                          description
                            "Label Index attribute - present - deprecated";
                        }
    
                        leaf is-prefix-sid-label-index-present {
                          type boolean;
                          description
                            "Prefix-SID LabelIndex present";
                        }
    
                        leaf is-prefix-sid-orig-srgb-present {
                          type boolean;
                          description
                            "Prefix-SID OrigSRGB present";
                        }
    
                        leaf is-prefix-sid-srv6-layer3-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L3SVC present";
                        }
    
                        leaf is-prefix-sid-srv6-layer2-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L2SVC present";
                        }
    
                        leaf is-prefix-sid-unk-tlvs-present {
                          type boolean;
                          description
                            "Prefix-SID UnkTLVs present";
                        }
    
                        leaf neighbor-as {
                          type uint32;
                          description
                            "Neighbor AS number";
                        }
    
                        leaf aggregator-as {
                          type uint32;
                          description
                            "AS where aggregation was last performed";
                        }
    
                        leaf aggregator-address {
                          type inet:ipv4-address;
                          description
                            "Address where aggregation was performed ";
                        }
    
                        leaf metric {
                          type uint32;
                          description
                            "Metric associated with BGP attribute ";
                        }
    
                        leaf local-preference {
                          type uint32;
                          description
                            "Flag to indicate BGP attribute is local";
                        }
    
                        leaf origin {
                          type uint16;
                          description
                            "BGP common attribute Origin ";
                        }
    
                        leaf as-path {
                          type string;
                          description
                            "BGP Atonomous system path attribute";
                        }
    
                        leaf extended-community-flags {
                          type uint8;
                          description
                            "BGP attribute Extended community Flags";
                        }
    
                        leaf originator {
                          type inet:ipv4-address;
                          description
                            "Originator attribute";
                        }
    
                        leaf l2tpv3-session-id {
                          type uint32;
                          description
                            "BGP attribute Layer2 tunneling protocol version
    3 session id";
                        }
    
                        leaf connector-type {
                          type uint16;
                          description
                            "BGP attribute Connector Type";
                        }
    
                        leaf aigp-metric-value {
                          type uint64;
                          description
                            "AIGP metric value";
                        }
    
                        leaf pmsi-type {
                          type uint16;
                          description
                            "PMSI Type";
                        }
    
                        leaf pmsi-flags {
                          type uint8;
                          description
                            "PMSI Value";
                        }
    
                        leaf pmsi-label {
                          type uint32;
                          description
                            "PMSI label";
                        }
    
                        leaf ppm-pvalue {
                          type uint32;
                          description
                            "PPMP Value";
                        }
    
                        leaf is-large-community-present {
                          type boolean;
                          description
                            "Large Community attribute present";
                        }
    
                        list community {
                          description
                            "Community attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Community attribute";
                          }
                        }  // list community
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list unknown-attribute {
                          description
                            "BGP common set of unknown attributes ";
                          leaf entry {
                            type uint8;
                            description
                              "BGP common set of unknown attributes ";
                          }
                        }  // list unknown-attribute
    
                        list cluster {
                          description
                            "Cluster list attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Cluster list attribute";
                          }
                        }  // list cluster
    
                        list l2tpv3-cookie {
                          description
                            "L2TPv3 Cookie";
                          leaf entry {
                            type uint8;
                            description
                              "L2TPv3 Cookie";
                          }
                        }  // list l2tpv3-cookie
    
                        list connector-value {
                          description
                            "BGP attribute Connector Value";
                          leaf entry {
                            type uint8;
                            description
                              "BGP attribute Connector Value";
                          }
                        }  // list connector-value
    
                        list pmsi-value {
                          description
                            "PMSI Value";
                          leaf entry {
                            type uint8;
                            description
                              "PMSI Value";
                          }
                        }  // list pmsi-value
    
                        list ls-attr {
                          description
                            "BGP LS attribute";
                          leaf entry {
                            type uint8;
                            description
                              "BGP LS attribute";
                          }
                        }  // list ls-attr
    
                        list pe-distinguisher-label {
                          description
                            "PE distinguisher label attribute";
                          leaf pe-address {
                            type inet:ipv4-address;
                            description
                              " PE address";
                          }
    
                          leaf label {
                            type uint32;
                            description "Label";
                          }
                        }  // list pe-distinguisher-label
    
                        list large-community {
                          description
                            "Large Community attribute";
                          leaf global-admin {
                            type uint32;
                            description
                              "Global Administrator";
                          }
    
                          leaf local-data1 {
                            type uint32;
                            description
                              "Local Data 1";
                          }
    
                          leaf local-data2 {
                            type uint32;
                            description
                              "Local Data 2";
                          }
                        }  // list large-community
                      }  // container common-attributes
    
                      container attr-set {
                        description
                          "ATTR_SET attribute";
                        container prefix-sid-label-index {
                          description
                            "Prefix-SID LabelIndex TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf label-index {
                            type uint32;
                            description
                              "LabelIndex field";
                          }
                        }  // container prefix-sid-label-index
    
                        container prefix-sid-orig-srgb {
                          description
                            "Prefix-SID OrigSRGB TLV info";
                          leaf flags {
                            type uint16;
                            description
                              "Flags field";
                          }
    
                          leaf range-count {
                            type uint32;
                            description
                              "Number of SRGB ranges";
                          }
    
                          list range {
                            description
                              "List of SRGB ranges";
                            leaf range-start {
                              type uint32;
                              description
                                "Start of the range for BGP Segment Routing (SR)
    global block";
                            }
    
                            leaf range-end {
                              type uint32;
                              description
                                "End of the range for BGP Segment Routing
    (SR)global block";
                            }
                          }  // list range
                        }  // container prefix-sid-orig-srgb
    
                        container prefix-sid-srv6-layer2-svc {
                          description
                            "Prefix-SID SRv6L2SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of SIDs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer2-svc
    
                        container prefix-sid-srv6-layer3-svc {
                          description
                            "Prefix-SID SRv6L3SVC TLV info";
                          leaf reserved {
                            type uint8;
                            description
                              "Reserved field";
                          }
    
                          leaf sub-tlv-count {
                            type uint16;
                            description
                              "Number of subtlvs";
                          }
    
                          list sub-tlv {
                            description
                              "Sub TLVs";
                            container sub-tlv-val {
                              description
                                "Sub TLV Val";
                              container sid-info {
                                description
                                  "SIDinfo field";
                                leaf reserved2 {
                                  type uint8;
                                  description
                                    "SUB TLV reserved";
                                }
    
                                leaf sid {
                                  type inet:ipv6-address;
                                  description
                                    "SID new Value";
                                }
    
                                leaf sid-flags {
                                  type uint8;
                                  description
                                    "SID Flags";
                                }
    
                                leaf sid-behavior {
                                  type uint16;
                                  description
                                    "SID ENDPT behavior";
                                }
    
                                leaf reserved3 {
                                  type uint8;
                                  description
                                    "SUB SUB TLV reserved";
                                }
    
                                leaf sub-sub-tlv-count {
                                  type uint16;
                                  description
                                    "SUB SUB TLV Count";
                                }
    
                                list sub-sub-tlv {
                                  description
                                    "List of sub sub tlvs";
                                  container sub-sub-tlv-val {
                                    description
                                      "Subsub TLV Val";
                                    container sid-struct {
                                      description
                                        "SIDStruct field";
                                      leaf loc-blk-len {
                                        type uint8;
                                        description
                                          "locator blk len";
                                      }
    
                                      leaf loc-node-len {
                                        type uint8;
                                        description
                                          "locator node len";
                                      }
    
                                      leaf func-len {
                                        type uint8;
                                        description
                                          "Function len";
                                      }
    
                                      leaf arg-len {
                                        type uint8;
                                        description
                                          "Argument len";
                                      }
    
                                      leaf transpose-len {
                                        type uint8;
                                        description
                                          "Transpose len";
                                      }
    
                                      leaf transpose-offset {
                                        type uint8;
                                        description
                                          "Transpose offset";
                                      }
                                    }  // container sid-struct
    
                                    list unknown-buf {
                                      description
                                        "Unknown buff";
                                      leaf entry {
                                        type uint8;
                                        description
                                          "Unknown buff";
                                      }
                                    }  // list unknown-buf
                                  }  // container sub-sub-tlv-val
    
                                  leaf type {
                                    type uint8;
                                    description
                                      "SUBSUBtlv Type";
                                  }
    
                                  leaf length {
                                    type uint16;
                                    description
                                      "SUBSUBTLv length";
                                  }
                                }  // list sub-sub-tlv
                              }  // container sid-info
    
                              list unknown-buf {
                                description
                                  "Unknown buff";
                                leaf entry {
                                  type uint8;
                                  description
                                    "Unknown buff";
                                }
                              }  // list unknown-buf
                            }  // container sub-tlv-val
    
                            leaf type {
                              type uint8;
                              description
                                "Type field";
                            }
    
                            leaf len {
                              type uint16;
                              description
                                "length of SUB_TLVs";
                            }
                          }  // list sub-tlv
                        }  // container prefix-sid-srv6-layer3-svc
    
                        container prefix-sid-unk-tlvs {
                          description
                            "Prefix-SID UnkTLVs TLV info";
                          leaf tlv-count {
                            type uint16;
                            description
                              "Number of unknown TLVs stored";
                          }
    
                          leaf received-buffer-length {
                            type uint32;
                            description
                              "Received length of unknown TLVs";
                          }
    
                          list tl-vs-buffer {
                            description
                              "Limited buffer of unknown TLVs";
                            leaf entry {
                              type uint8;
                              description
                                "Limited buffer of unknown TLVs";
                            }
                          }  // list tl-vs-buffer
                        }  // container prefix-sid-unk-tlvs
    
                        container tunnel-encap {
                          description
                            "Tunnel Encapsulation attribute";
                          container sr-policy {
                            description
                              "Tunnel encap type SR policy";
                            container binding-sid {
                              description
                                "SR Policy incoming Binding sid";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container binding-sid
    
                            container allocated-binding-sid {
                              description
                                "SR Policy allocated Binding sid by the router";
                              leaf type {
                                type Bgp-binding-sid;
                                description
                                  "Type";
                              }
    
                              leaf label {
                                when
                                  "../type = 'label'" {
                                  description
                                    "../Type = 'label'";
                                }
                                type uint32;
                                description
                                  "MPLS Label";
                              }
    
                              leaf ipv6-address {
                                when
                                  "../type = 'v6'" {
                                  description
                                    "../Type = 'v6'";
                                }
                                type Ipv6-address;
                                description
                                  "IPv6 Addr";
                              }
                            }  // container allocated-binding-sid
    
                            leaf tunnel-encap-type {
                              type uint16;
                              description
                                "Tunnel Encapsulation Type";
                            }
    
                            leaf preference {
                              type uint32;
                              description
                                "SR Policy Preference";
                            }
    
                            leaf state {
                              type boolean;
                              description
                                "SR Policy active state in forwarding";
                            }
    
                            leaf request-state {
                              type Bgp-srpolicy-req-state;
                              description
                                "SR Policy programming Status";
                            }
    
                            leaf usable {
                              type boolean;
                              description
                                "SR Policy is usable on this node";
                            }
    
                            list segment-list {
                              description
                                "SR Policy Segment Lists";
                              leaf weight {
                                type uint8;
                                description
                                  "Weight of segment list";
                              }
    
                              list segment {
                                description
                                  "Segments in segment list";
                                leaf type {
                                  type Sr-sid;
                                  description
                                    "Type";
                                }
    
                                leaf label {
                                  when
                                    "../type = 'label'" {
                                    description
                                      "../Type = 'Label'";
                                  }
                                  type uint32;
                                  description
                                    "MPLS Label value";
                                }
    
                                leaf ipv4-address {
                                  when
                                    "../type = 'ipv4'" {
                                    description
                                      "../Type = 'IPv4'";
                                  }
                                  type inet:ipv4-address;
                                  description
                                    "IPv4 Address value";
                                }
    
                                leaf ipv6-address {
                                  when
                                    "../type = 'ipv6'" {
                                    description
                                      "../Type = 'IPv6'";
                                  }
                                  type Ipv6-address;
                                  description
                                    "IPv6 address value";
                                }
                              }  // list segment
                            }  // list segment-list
                          }  // container sr-policy
                        }  // container tunnel-encap
    
                        leaf is-metric-present {
                          type boolean;
                          description
                            "Metric attribute present";
                        }
    
                        leaf is-local-pref-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP local preference
    attribute is present";
                        }
    
                        leaf is-atomic-aggregate-present {
                          type boolean;
                          description
                            "Flag to indicate if Atomic aggregate attribute
    present";
                        }
    
                        leaf is-aggregator-present {
                          type boolean;
                          description
                            "Flag to indicate if Aggregator attribute present";
                        }
    
                        leaf is-origin-present {
                          type boolean;
                          description
                            "Flag to indicate if Origin attribute is present";
                        }
    
                        leaf is-as-path-present {
                          type boolean;
                          description
                            "AS path attribute present";
                        }
    
                        leaf is-community-present {
                          type boolean;
                          description
                            "Community attribute present";
                        }
    
                        leaf is-extended-community-present {
                          type boolean;
                          description
                            "Extended community attribute present";
                        }
    
                        leaf is-ssa-present {
                          type boolean;
                          description
                            "Flag to indicate if SSA attribute is present";
                        }
    
                        leaf is-connector-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP attribute Connector is
    present";
                        }
    
                        leaf is-pmsi-present {
                          type boolean;
                          description
                            "PMSI Attribute  present";
                        }
    
                        leaf is-pppmp-present {
                          type boolean;
                          description
                            "PPMP Attribute  present";
                        }
    
                        leaf is-aigp-present {
                          type boolean;
                          description
                            "AIGP Present";
                        }
    
                        leaf is-pe-distinguisher-label-present {
                          type boolean;
                          description
                            "PE distinguisher label  attribute present";
                        }
    
                        leaf is-ls-attribute-present {
                          type boolean;
                          description
                            "Flag to indicate if BGP link-state attribute
    information is present";
                        }
    
                        leaf is-label-index-present {
                          type boolean;
                          description
                            "Label Index attribute - present - deprecated";
                        }
    
                        leaf is-prefix-sid-label-index-present {
                          type boolean;
                          description
                            "Prefix-SID LabelIndex present";
                        }
    
                        leaf is-prefix-sid-orig-srgb-present {
                          type boolean;
                          description
                            "Prefix-SID OrigSRGB present";
                        }
    
                        leaf is-prefix-sid-srv6-layer3-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L3SVC present";
                        }
    
                        leaf is-prefix-sid-srv6-layer2-svc-present {
                          type boolean;
                          description
                            "Prefix-SID SRv6L2SVC present";
                        }
    
                        leaf is-prefix-sid-unk-tlvs-present {
                          type boolean;
                          description
                            "Prefix-SID UnkTLVs present";
                        }
    
                        leaf neighbor-as {
                          type uint32;
                          description
                            "Neighbor AS number";
                        }
    
                        leaf aggregator-as {
                          type uint32;
                          description
                            "AS where aggregation was last performed";
                        }
    
                        leaf aggregator-address {
                          type inet:ipv4-address;
                          description
                            "Address where aggregation was performed ";
                        }
    
                        leaf metric {
                          type uint32;
                          description
                            "Metric associated with BGP attribute ";
                        }
    
                        leaf local-preference {
                          type uint32;
                          description
                            "Flag to indicate BGP attribute is local";
                        }
    
                        leaf origin {
                          type uint16;
                          description
                            "BGP common attribute Origin ";
                        }
    
                        leaf as-path {
                          type string;
                          description
                            "BGP Atonomous system path attribute";
                        }
    
                        leaf extended-community-flags {
                          type uint8;
                          description
                            "BGP attribute Extended community Flags";
                        }
    
                        leaf originator {
                          type inet:ipv4-address;
                          description
                            "Originator attribute";
                        }
    
                        leaf l2tpv3-session-id {
                          type uint32;
                          description
                            "BGP attribute Layer2 tunneling protocol version
    3 session id";
                        }
    
                        leaf connector-type {
                          type uint16;
                          description
                            "BGP attribute Connector Type";
                        }
    
                        leaf aigp-metric-value {
                          type uint64;
                          description
                            "AIGP metric value";
                        }
    
                        leaf pmsi-type {
                          type uint16;
                          description
                            "PMSI Type";
                        }
    
                        leaf pmsi-flags {
                          type uint8;
                          description
                            "PMSI Value";
                        }
    
                        leaf pmsi-label {
                          type uint32;
                          description
                            "PMSI label";
                        }
    
                        leaf ppm-pvalue {
                          type uint32;
                          description
                            "PPMP Value";
                        }
    
                        leaf is-large-community-present {
                          type boolean;
                          description
                            "Large Community attribute present";
                        }
    
                        list community {
                          description
                            "Community attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Community attribute";
                          }
                        }  // list community
    
                        list extended-community {
                          description
                            "Extended community attribute";
                          leaf entry {
                            type uint8;
                            description
                              "Extended community attribute";
                          }
                        }  // list extended-community
    
                        list unknown-attribute {
                          description
                            "BGP common set of unknown attributes ";
                          leaf entry {
                            type uint8;
                            description
                              "BGP common set of unknown attributes ";
                          }
                        }  // list unknown-attribute
    
                        list cluster {
                          description
                            "Cluster list attribute";
                          leaf entry {
                            type uint32;
                            description
                              "Cluster list attribute";
                          }
                        }  // list cluster
    
                        list l2tpv3-cookie {
                          description
                            "L2TPv3 Cookie";
                          leaf entry {
                            type uint8;
                            description
                              "L2TPv3 Cookie";
                          }
                        }  // list l2tpv3-cookie
    
                        list connector-value {
                          description
                            "BGP attribute Connector Value";
                          leaf entry {
                            type uint8;
                            description
                              "BGP attribute Connector Value";
                          }
                        }  // list connector-value
    
                        list pmsi-value {
                          description
                            "PMSI Value";
                          leaf entry {
                            type uint8;
                            description
                              "PMSI Value";
                          }
                        }  // list pmsi-value
    
                        list ls-attr {
                          description
                            "BGP LS attribute";
                          leaf entry {
                            type uint8;
                            description
                              "BGP LS attribute";
                          }
                        }  // list ls-attr
    
                        list pe-distinguisher-label {
                          description
                            "PE distinguisher label attribute";
                          leaf pe-address {
                            type inet:ipv4-address;
                            description
                              " PE address";
                          }
    
                          leaf label {
                            type uint32;
                            description "Label";
                          }
                        }  // list pe-distinguisher-label
    
                        list large-community {
                          description
                            "Large Community attribute";
                          leaf global-admin {
                            type uint32;
                            description
                              "Global Administrator";
                          }
    
                          leaf local-data1 {
                            type uint32;
                            description
                              "Local Data 1";
                          }
    
                          leaf local-data2 {
                            type uint32;
                            description
                              "Local Data 2";
                          }
                        }  // list large-community
                      }  // container attr-set
    
                      container rnh-addr {
                        description
                          "RNH Address";
                        leaf len {
                          type Bgp-rnh-addr-len;
                          description "len";
                        }
    
                        leaf ipv4-address {
                          when "../len = 'v4'" {
                            description
                              "../len = 'v4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv6-address {
                          when "../len = 'v6'" {
                            description
                              "../len = 'v6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Addr";
                        }
    
                        leaf mac-address {
                          when "../len = 'mac'" {
                            description
                              "../len = 'Mac'";
                          }
                          type Mac-address;
                          description "MAC Addr";
                        }
                      }  // container rnh-addr
    
                      container ribrnh-ip {
                        description
                          "RIB RNH IP Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container ribrnh-ip
    
                      leaf is-as-path2-byte {
                        type boolean;
                        description
                          "AS path encoded as 2-byte";
                      }
    
                      leaf is-application-gateway-present {
                        type boolean;
                        description
                          "Flag to indicate if BGP application gateway is
    present";
                      }
    
                      leaf is-attr-set-present {
                        type boolean;
                        description
                          "BGP ATTR_SET attribute present";
                      }
    
                      leaf set-aigp-inbound-igp {
                        type boolean;
                        description
                          "AIGP set by policy inbound IGP ";
                      }
    
                      leaf set-aigp-inbound-metric {
                        type boolean;
                        description
                          "AIGP set by policy inbound metric";
                      }
    
                      leaf is-rnh-present {
                        type boolean;
                        description
                          "RNH Attribute  present";
                      }
    
                      leaf is-ribrnh-present {
                        type boolean;
                        description
                          "RIB RNH Attribute  present";
                      }
    
                      leaf attribute-key-number {
                        type uint32;
                        description
                          "Number which is stored per bgp routing table on
    attribute key";
                      }
    
                      leaf attribute-reuse-id-config {
                        type boolean;
                        description
                          "Attribute reuse ID Configured";
                      }
    
                      leaf attribute-reuse-id-max-id {
                        type uint32;
                        description
                          "Attribute reuse ID maximum ID";
                      }
    
                      leaf attribute-reuse-id-node {
                        type uint32;
                        description
                          "BGP Attribute reuse ID nodes";
                      }
    
                      leaf attribute-reuse-id-current {
                        type uint32;
                        description
                          "BGP Attribute reuse ID current ID";
                      }
    
                      leaf attribute-reuse-id-keys {
                        type uint32;
                        description
                          "Attribute reuse ID allocated keys";
                      }
    
                      leaf attribute-reuse-id-recover-sec {
                        type uint32;
                        units "second";
                        description
                          "Attribute reuse ID timer in seconds";
                      }
    
                      leaf vpn-distinguisher {
                        type uint32;
                        description
                          "VPN Distinguisher";
                      }
    
                      leaf rnh-type {
                        type uint16;
                        description "RNH Type";
                      }
    
                      leaf rnh-len {
                        type uint8;
                        description "RNH Length";
                      }
    
                      leaf rnh-addr-len {
                        type uint32;
                        description
                          "RNH Address Length";
                      }
    
                      leaf ribrnh-table {
                        type uint32;
                        description
                          "RIB RNH Table";
                      }
    
                      leaf ribrnh-mac {
                        type Mac-address;
                        description
                          "RIB RNH MAC Address";
                      }
    
                      leaf ribrnhip-table {
                        type uint32;
                        description
                          "RIB RNH IP Table";
                      }
    
                      leaf ribrnh-vni {
                        type uint32;
                        description
                          "RIB RNH Vni";
                      }
    
                      leaf ribrnh-encap {
                        type uint8;
                        description
                          "RIB RNH Encapsulation Type";
                      }
                    }  // container attribute-info
    
                    leaf process-instance-id {
                      type uint8;
                      description
                        "BGP attribute process instance ID";
                    }
    
                    leaf attribute-instance-id {
                      type uint8;
                      description
                        "Instance ID for BGP attribute context ";
                    }
    
                    leaf attribute-structure-id {
                      type uint32;
                      description
                        "BGP ID of attribute structure information";
                    }
    
                    leaf attribute-structure-hash-value {
                      type uint32;
                      description
                        "Hash value for attribute structure";
                    }
    
                    leaf reference-count {
                      type uint32;
                      description
                        "Number of paths which use this attribute
    structure";
                    }
                  }  // list attribute
                }  // container attributes
    
                container rt-entries {
                  description
                    "BGP Route Target Sets Table";
                  list rt-entry {
                    description
                      "BGP Route Target Set Entry";
                    leaf route-target-lower-bytes {
                      type uint32;
                      description
                        "Lower 4 bytes of RT";
                    }
    
                    leaf route-target-upper-bytes {
                      type uint32;
                      description
                        "Upper 4 bytes of RT";
                    }
    
                    leaf af-name {
                      type dt1:Bgp-address-family;
                      description
                        "Address family";
                    }
    
                    leaf request-id {
                      type uint32;
                      description
                        "Random Request ID";
                    }
    
                    container rt {
                      description
                        "BGP virtual routing andforwarding route target";
                      leaf route-target {
                        type string;
                        description
                          "VRF Route Target value";
                      }
                    }  // container rt
    
                    leaf afs {
                      type string;
                      description
                        "Address-families of BGPvrf route target";
                    }
                  }  // list rt-entry
                }  // container rt-entries
    
                container attribute-filter-groups {
                  description
                    "All attribute-filter groups in this instance";
                  list attribute-filter-group {
                    key "group-name";
                    description
                      "The BGP Attribute filter group Table Entry";
                    leaf group-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "The BGP Attribute filter group table entry
    name";
                    }
    
                    leaf attribute-filter-group-name {
                      type string;
                      description
                        "String for BGP attribute-filter group name";
                    }
    
                    leaf attribute-filter-total-group-count {
                      type uint32;
                      description
                        "Total number of attriute-filter groups";
                    }
    
                    list attribute-filter-entry {
                      description
                        "List of attriute-filter entries";
                      leaf attribute-filter-entry-requested-action {
                        type Bgp-bag-upd-filter-action;
                        description
                          "Requested filtering action";
                      }
    
                      leaf attribute-filter-entry-range-start {
                        type uint32;
                        description
                          "Start of attribute range";
                      }
    
                      leaf attribute-filter-entry-range-end {
                        type uint32;
                        description
                          "End of attribute range";
                      }
                    }  // list attribute-filter-entry
                  }  // list attribute-filter-group
                }  // container attribute-filter-groups
    
                container orr-group-global-table-entries {
                  description
                    "The BGP Optimal Route Reflection Group Table";
                  list orr-group-global-table-entry {
                    key "orr-grp-name";
                    description
                      "A BGP Optimal Route Reflection Group Global
    Table Entry";
                    leaf orr-grp-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "The BGP Optimal Route Reflection Group Name";
                    }
    
                    container orr-root-address {
                      description
                        "ORR Root Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container orr-root-address
    
                    container orr-sec-root-address {
                      description
                        "ORR Sec Root Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container orr-sec-root-address
    
                    container orr-ter-root-address {
                      description
                        "ORR ter Root Address";
                      container l2vpn-vpls-address {
                        when
                          "../afi = 'l2vpn-vpls'" {
                          description
                            "../AFI = 'L2VPN_VPLS'";
                        }
                        description
                          "L2VPN VPLS Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the protocol BGP";
                        }
                      }  // container l2vpn-vpls-address
    
                      container l2vpn-evpn-address {
                        when
                          "../afi = 'l2vpn-evpn'" {
                          description
                            "../AFI = 'L2VPN_EVPN'";
                        }
                        description
                          "L2VPN EVPN Addr";
                        leaf l2vpn-evpn-address {
                          type yang:hex-string;
                          description
                            "l2vpn evpn address";
                        }
                      }  // container l2vpn-evpn-address
    
                      container l2vpn-mspw-address {
                        when
                          "../afi = 'l2vpn-mspw'" {
                          description
                            "../AFI = 'L2VPN_MSPW'";
                        }
                        description
                          "L2VPN MSPW Addr";
                        leaf l2vpn-address {
                          type yang:hex-string;
                          description
                            "L2vpn address of the BGP mspw";
                        }
                      }  // container l2vpn-mspw-address
    
                      container ipv4-sr-policy-address {
                        when
                          "../afi = 'ipv4-sr-policy'" {
                          description
                            "../AFI = 'IPv4SRPolicy'";
                        }
                        description
                          "IPV4 Policy Addr";
                        leaf ipv4-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv4 address of thesrpolicy";
                        }
                      }  // container ipv4-sr-policy-address
    
                      container ipv6-sr-policy-address {
                        when
                          "../afi = 'ipv6-sr-policy'" {
                          description
                            "../AFI = 'IPv6SRPolicy'";
                        }
                        description
                          "IPV6 Policy Addr";
                        leaf ipv6-srpolicy-address {
                          type yang:hex-string;
                          description
                            "IPv6 address of thesrpolicy";
                        }
                      }  // container ipv6-sr-policy-address
    
                      leaf afi {
                        type Bgp-afi;
                        description "AFI";
                      }
    
                      leaf ipv4-address {
                        when "../afi = 'ipv4'" {
                          description
                            "../AFI = 'IPv4'";
                        }
                        type inet:ipv4-address;
                        description "IPv4 Addr";
                      }
    
                      leaf ipv4-mcast-address {
                        when
                          "../afi = 'ipv4-multicast'" {
                          description
                            "../AFI = 'IPv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Mcast Addr";
                      }
    
                      leaf ipv4-label-address {
                        when
                          "../afi = 'ipv4-labeled'" {
                          description
                            "../AFI = 'IPv4Labeled'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 Label Addr";
                      }
    
                      leaf ipv4-tunnel-address {
                        when
                          "../afi = 'ipv4-tunnel'" {
                          description
                            "../AFI = 'IPv4Tunnel'";
                        }
                        type Ipv4-tunnel-address;
                        description
                          "IPv4 Tunnel";
                      }
    
                      leaf ipv4-mdt-address {
                        when
                          "../afi = 'ipv4-mdt'" {
                          description
                            "../AFI = 'IPv4MDT'";
                        }
                        type Ipv4-mdt-address;
                        description
                          "IPv4 MDT Addr";
                      }
    
                      leaf ipv4vpn-address {
                        when "../afi = 'vpnv4'" {
                          description
                            "../AFI = 'VPNv4'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Addr";
                      }
    
                      leaf ipv4vpna-mcastddress {
                        when
                          "../afi = 'vpnv4-multicast'" {
                          description
                            "../AFI = 'VPNv4Multicast'";
                        }
                        type inet:ipv4-address;
                        description
                          "IPv4 VPN Mcast Addr";
                      }
    
                      leaf ipv6-address {
                        when "../afi = 'ipv6'" {
                          description
                            "../AFI = 'IPv6'";
                        }
                        type Ipv6-address;
                        description "IPV6 Addr";
                      }
    
                      leaf ipv6-mcast-address {
                        when
                          "../afi = 'ipv6-multicast'" {
                          description
                            "../AFI = 'IPv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPV6 Mcast Addr";
                      }
    
                      leaf ipv6-label-address {
                        when
                          "../afi = 'ipv6-labeled'" {
                          description
                            "../AFI = 'IPv6Labeled'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 Label Addr";
                      }
    
                      leaf ipv6vpn-address {
                        when "../afi = 'vpnv6'" {
                          description
                            "../AFI = 'VPNv6'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Addr";
                      }
    
                      leaf ipv6vpn-mcast-address {
                        when
                          "../afi = 'vpnv6-multicast'" {
                          description
                            "../AFI = 'VPNv6Multicast'";
                        }
                        type Ipv6-address;
                        description
                          "IPv6 VPN Mcast Addr";
                      }
    
                      leaf rt-constraint-address {
                        when
                          "../afi = 'rt-constraint'" {
                          description
                            "../AFI = 'RTConstraint'";
                        }
                        type Rt-constraint-address;
                        description
                          "RT Constrt Addr";
                      }
    
                      leaf ipv6mvpn-address {
                        when
                          "../afi = 'ipv6-mvpn'" {
                          description
                            "../AFI = 'IPv6MVPN'";
                        }
                        type Ipv6mvpn-address;
                        description "MVPN addr";
                      }
    
                      leaf ipv4mvpn-address {
                        when
                          "../afi = 'ipv4-mvpn'" {
                          description
                            "../AFI = 'IPv4MVPN'";
                        }
                        type Ipv4mvpn-address;
                        description "MVPN4 addr";
                      }
    
                      leaf ls-ls-address {
                        when "../afi = 'ls-ls'" {
                          description
                            "../AFI = 'LS_LS'";
                        }
                        type Ls-ls-address;
                        description
                          "LINKSTATE LINKSTATE Addr";
                      }
    
                      leaf ipv4-flowspec-address {
                        when
                          "../afi = 'ipv4-flowspec'" {
                          description
                            "../AFI = 'IPv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 Flowspec Addr";
                      }
    
                      leaf ipv6-flowspec-address {
                        when
                          "../afi = 'ipv6-flowspec'" {
                          description
                            "../AFI = 'IPv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 Flowspec Addr";
                      }
    
                      leaf ipv4vpn-flowspec-address {
                        when
                          "../afi = 'vpnv4-flowspec'" {
                          description
                            "../AFI = 'VPNv4Flowspec'";
                        }
                        type Ipv4-flowspec-address;
                        description
                          "IPV4 VPN Flowspec Addr";
                      }
    
                      leaf ipv6vpn-flowspec-address {
                        when
                          "../afi = 'vpnv6-flowspec'" {
                          description
                            "../AFI = 'VPNv6Flowspec'";
                        }
                        type Ipv6-flowspec-address;
                        description
                          "IPV6 VPN Flowspec Addr";
                      }
                    }  // container orr-ter-root-address
    
                    leaf orr-group-name {
                      type string;
                      description
                        "ORR Group Name";
                    }
    
                    leaf is-orr-group-ipv4 {
                      type boolean;
                      description
                        "Is v4 ORR group";
                    }
    
                    leaf is-orr-global-defined {
                      type boolean;
                      description
                        "Is ORR group configured globally";
                    }
    
                    leaf orrafi-ref-count {
                      type uint32;
                      description
                        "Number of used afis";
                    }
    
                    leaf orr-tableid {
                      type uint32;
                      description
                        "ORR Group tableid";
                    }
    
                    leaf is-orr-root-address-configured {
                      type boolean;
                      description
                        "ORR Root address configured";
                    }
    
                    leaf is-orr-sec-root-address-configured {
                      type boolean;
                      description
                        "ORR Sec Root address configured";
                    }
    
                    leaf is-orr-ter-root-address-configured {
                      type boolean;
                      description
                        "ORR Ter Root address configured";
                    }
    
                    list used-af {
                      min-elements 25;
                      max-elements 25;
                      description
                        "Is ORR group used by af";
                      leaf entry {
                        type boolean;
                        description
                          "Array entry.";
                      }
                    }  // list used-af
                  }  // list orr-group-global-table-entry
                }  // container orr-group-global-table-entries
    
                container vrfdbvrf-table-entries {
                  description
                    "A BGP VRF DB VRFs table";
                  list vrfdbvrf-table-entry {
                    description
                      "A BGP VRF DB VRF TABLE";
                    leaf index {
                      type uint32;
                      description
                        "BGP VRF DB TBL index";
                    }
    
                    leaf id {
                      type uint32;
                      description
                        "BGP VRF DB TBL ID";
                    }
    
                    container entry {
                      description "entry";
                      leaf name {
                        type string;
                        description "name";
                      }
    
                      leaf af {
                        type int32;
                        description "af";
                      }
    
                      leaf id {
                        type uint32;
                        description "id";
                      }
    
                      leaf index {
                        type uint8;
                        description "index";
                      }
    
                      leaf rsi-handle {
                        type uint64;
                        description "rsi handle";
                      }
    
                      leaf reg-pending {
                        type boolean;
                        description
                          "reg pending";
                      }
    
                      leaf refcount {
                        type uint32;
                        description "refcount";
                      }
    
                      leaf import-policy {
                        type string;
                        description
                          "import policy";
                      }
    
                      leaf export-policy {
                        type string;
                        description
                          "export policy";
                      }
    
                      list import-rt {
                        description "import rt";
                        leaf entry {
                          type uint64;
                          description
                            "import rt";
                        }
                      }  // list import-rt
    
                      list export-rt {
                        description "export rt";
                        leaf entry {
                          type uint64;
                          description
                            "export rt";
                        }
                      }  // list export-rt
    
                      list import-rt-s {
                        description
                          "import rt s";
                        leaf entry {
                          type uint64;
                          description
                            "import rt s";
                        }
                      }  // list import-rt-s
    
                      list export-rt-s {
                        description
                          "export rt s";
                        leaf entry {
                          type uint64;
                          description
                            "export rt s";
                        }
                      }  // list export-rt-s
                    }  // container entry
                  }  // list vrfdbvrf-table-entry
                }  // container vrfdbvrf-table-entries
    
                container rpki-server-list {
                  description
                    "RPKI Server Table";
                  list rpki-server {
                    description
                      "Array of RPKI servers";
                    leaf name {
                      type string;
                      description "Server Name";
                    }
    
                    leaf preference {
                      type uint32;
                      description
                        "Server Preference";
                    }
    
                    leaf port {
                      type uint32;
                      description
                        "Server TCP Port number";
                    }
    
                    leaf state {
                      type Bgp-rpki-state;
                      description
                        "Server Internal State";
                    }
    
                    leaf state-time {
                      type uint32;
                      description
                        "Server Internal State timestamp (unix time)";
                    }
    
                    leaf shutdown {
                      type boolean;
                      description
                        "Server Shutdown";
                    }
    
                    leaf retries {
                      type uint32;
                      description
                        "Number of connection retries";
                    }
    
                    leaf close-reason {
                      type Bgp-rpki-creason;
                      description
                        "Server close reason";
                    }
    
                    leaf close-time {
                      type uint32;
                      description
                        "Server close elapsed time";
                    }
    
                    leaf close-time-real {
                      type uint32;
                      description
                        "Server close real timestamp (unix time)";
                    }
    
                    leaf read-bytes {
                      type uint32;
                      units "byte";
                      description
                        "Number of bytes read from the server";
                    }
    
                    leaf write-bytes {
                      type uint32;
                      units "byte";
                      description
                        "Number of bytes written to the server";
                    }
    
                    leaf transport {
                      type uint32;
                      description
                        "Server transport type";
                    }
    
                    leaf username {
                      type string;
                      description
                        "Server SSH username";
                    }
    
                    leaf password {
                      type string;
                      description
                        "Server SSH password";
                    }
    
                    leaf sshpid {
                      type uint32;
                      description
                        "Server SSH process ID";
                    }
    
                    leaf proto-state {
                      type Bgp-rpki-pstate;
                      description
                        "Server Protocol state";
                    }
    
                    leaf proto-state-time {
                      type uint32;
                      description
                        "Server Protocol state timestamp (unix time)";
                    }
    
                    leaf serial {
                      type uint32;
                      description
                        "Server serial number";
                    }
    
                    leaf nonce {
                      type uint32;
                      description "Server nonce";
                    }
    
                    leaf refresh-time {
                      type int32;
                      units "second";
                      description
                        "Server refresh time (seconds)";
                    }
    
                    leaf response-time {
                      type int32;
                      units "second";
                      description
                        "Server response time (seconds)";
                    }
    
                    leaf purge-time {
                      type int32;
                      units "second";
                      description
                        "Server purge time (seconds)";
                    }
    
                    leaf ipv4roa {
                      type uint32;
                      description
                        "Total IPv4 ROAs currently recv'd from server";
                    }
    
                    leaf ipv4roa-announce {
                      type uint32;
                      description
                        "Total IPv4 ROAs announced by the server";
                    }
    
                    leaf ipv4roa-withdraw {
                      type uint32;
                      description
                        "Total IPv4 ROAs withdrawn by the server";
                    }
    
                    leaf ipv6roa {
                      type uint32;
                      description
                        "Total IPv6 ROAs currently recv'd from server";
                    }
    
                    leaf ipv6roa-announce {
                      type uint32;
                      description
                        "Total IPv6 ROAs announced by the server";
                    }
    
                    leaf ipv6roa-withdraw {
                      type uint32;
                      description
                        "Total IPv6 ROAs withdrawn by the server";
                    }
    
                    leaf proto-error {
                      type Bgp-rpki-perror;
                      description
                        "Protocol Error Reason";
                    }
    
                    leaf bindsrc {
                      type string;
                      description
                        "Server transport bind source ";
                    }
    
                    leaf identifier {
                      type uint8;
                      description "Allocated Id";
                    }
                  }  // list rpki-server
                }  // container rpki-server-list
    
                container rpki-routes {
                  description
                    "BGP RPKI ROA table";
                  list rpki-route {
                    description
                      "RPKI Path Group";
                    leaf af-name {
                      type Bgp-rpki-edm-af;
                      description
                        "IPv4 or IPV6  Address family";
                    }
    
                    leaf address {
                      type xr:Cisco-ios-xr-string;
                      description
                        "IPv4 or IPv6 route prefix contained in the
    Route Origin Authorization";
                    }
    
                    leaf minimum {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the shortest prefix allowed";
                    }
    
                    leaf maximum {
                      type uint32 {
                        range "0..128";
                      }
                      description
                        "Length of the longest prefix allowed";
                    }
    
                    list rpki-route {
                      description
                        "Array or RPKI routes";
                      leaf af-name {
                        type Bgp-rpki-af;
                        description
                          "Address Family";
                      }
    
                      leaf address {
                        type string;
                        description
                          "Address Prefix";
                      }
    
                      leaf min-prefix-len {
                        type uint8;
                        description
                          "Minimum Prefix Length";
                      }
    
                      leaf max-prefix-len {
                        type uint8;
                        description
                          "Maximum Prefix Length";
                      }
    
                      leaf as {
                        type uint32;
                        description "AS number";
                      }
    
                      leaf server {
                        type string;
                        description
                          "Source Server";
                      }
    
                      leaf stale {
                        type boolean;
                        description
                          "ROA is stale";
                      }
    
                      leaf version {
                        type uint32;
                        description
                          "ROA version";
                      }
                    }  // list rpki-route
                  }  // list rpki-route
                }  // container rpki-routes
    
                container update-inbound-error-process {
                  description
                    "Update inbound error information for the process";
                  container last-update-malformed-timestamp {
                    description
                      "Last malformed messages received time: time
    elapsed since 00:00:00 UTC, January 1, 1970";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description
                        "Seconds part of time value";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description
                        "Nanoseconds part of time value";
                    }
                  }  // container last-update-malformed-timestamp
    
                  leaf update-error-handling-basic-ebgp {
                    type boolean;
                    description
                      "Is basic error-handling for EBGP enabled";
                  }
    
                  leaf update-error-handling-basic-ibgp {
                    type boolean;
                    description
                      "Is basic error-handling for IBGP enabled";
                  }
    
                  leaf update-error-handling-extended-ebgp {
                    type boolean;
                    description
                      "Is extended error-handling for EBGP enabled";
                  }
    
                  leaf update-error-handling-extended-ibgp {
                    type boolean;
                    description
                      "Is extended error-handling for IBGP enabled";
                  }
    
                  leaf update-malformed-message-count {
                    type uint32;
                    description
                      "BGP malformed messages received count update";
                  }
    
                  leaf update-malformed-neighbor-count {
                    type uint32;
                    description
                      "Count of neighbors that received malformed
    messages";
                  }
    
                  leaf last-update-malformed-age {
                    type uint32;
                    units "second";
                    description
                      "Time since last malformed messages received
    event (in seconds)";
                  }
                }  // container update-inbound-error-process
    
                container rpki-summary {
                  description
                    "RPKI Summary Info";
                  leaf servers {
                    type uint32;
                    description
                      "Number of RPKI Servers configured";
                  }
    
                  leaf ipv4roa-nets {
                    type uint32;
                    description
                      "Number of IPv4 ROA Nets";
                  }
    
                  leaf ipv4roa-paths {
                    type uint32;
                    description
                      "Number of IPv4 ROA Paths";
                  }
    
                  leaf ipv6roa-nets {
                    type uint32;
                    description
                      "Number of IPv6 ROA Nets";
                  }
    
                  leaf ipv6roa-paths {
                    type uint32;
                    description
                      "Number of IPv6 ROA Paths";
                  }
    
                  leaf ipv4-table-version {
                    type uint32;
                    description
                      "RPKI IPv4 Table Version";
                  }
    
                  leaf ipv4-table-scanner-version {
                    type uint32;
                    description
                      "RPKI IPv4 Scanner Version";
                  }
    
                  leaf ipv6-table-version {
                    type uint32;
                    description
                      "RPKI IPv6 Table Version";
                  }
    
                  leaf ipv6-table-scanner-version {
                    type uint32;
                    description
                      "RPKI IPv6 Scanner Version";
                  }
                }  // container rpki-summary
    
                container rt-hash-table-entries {
                  description
                    "BGP Route Target Hash Table";
                  list rt-hash-table-entry {
                    description
                      "BGP Route Target Hash Table Entry";
                    leaf imp-exp {
                      type uint32 {
                        range "0..1";
                      }
                      description
                        "Flag to indicate RT import or export";
                    }
    
                    leaf af-name {
                      type dt1:Bgp-address-family;
                      description
                        "Address family";
                    }
    
                    leaf rt-hash {
                      type uint32;
                      description
                        "Route Target Hash Index";
                    }
    
                    leaf route-target-hash-value {
                      type uint32;
                      description
                        "Hash value calculated from Route Target value
    used to save in BGP's internal hash table";
                    }
    
                    list rt {
                      description "rt";
                      leaf route-target {
                        type string;
                        description
                          "VRF Route Target value";
                      }
                    }  // list rt
                  }  // list rt-hash-table-entry
                }  // container rt-hash-table-entries
    
                container ot-prov-nbr-af-entries {
                  description
                    "BGP Object Tracking Provider Neighbor AF Table";
                  list ot-prov-nbr-af-entry {
                    description
                      "BGP Object Tracking Provider Nbr Af Database
    Entry";
                    leaf vrf-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Name of the VRF";
                    }
    
                    leaf af-name {
                      type dt1:Bgp-address-family;
                      description
                        "Address family";
                    }
    
                    leaf neighbor-address {
                      type inet:ip-address-no-zone;
                      description
                        "IPv4 or IPv6 Address of the BGP Neighbor";
                    }
    
                    container entry {
                      description "entry";
                      container neighbor-address {
                        description
                          "BGP neighbor Address";
                        container l2vpn-vpls-address {
                          when
                            "../afi = 'l2vpn-vpls'" {
                            description
                              "../AFI = 'L2VPN_VPLS'";
                          }
                          description
                            "L2VPN VPLS Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the protocol BGP";
                          }
                        }  // container l2vpn-vpls-address
    
                        container l2vpn-evpn-address {
                          when
                            "../afi = 'l2vpn-evpn'" {
                            description
                              "../AFI = 'L2VPN_EVPN'";
                          }
                          description
                            "L2VPN EVPN Addr";
                          leaf l2vpn-evpn-address {
                            type yang:hex-string;
                            description
                              "l2vpn evpn address";
                          }
                        }  // container l2vpn-evpn-address
    
                        container l2vpn-mspw-address {
                          when
                            "../afi = 'l2vpn-mspw'" {
                            description
                              "../AFI = 'L2VPN_MSPW'";
                          }
                          description
                            "L2VPN MSPW Addr";
                          leaf l2vpn-address {
                            type yang:hex-string;
                            description
                              "L2vpn address of the BGP mspw";
                          }
                        }  // container l2vpn-mspw-address
    
                        container ipv4-sr-policy-address {
                          when
                            "../afi = 'ipv4-sr-policy'" {
                            description
                              "../AFI = 'IPv4SRPolicy'";
                          }
                          description
                            "IPV4 Policy Addr";
                          leaf ipv4-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv4 address of thesrpolicy";
                          }
                        }  // container ipv4-sr-policy-address
    
                        container ipv6-sr-policy-address {
                          when
                            "../afi = 'ipv6-sr-policy'" {
                            description
                              "../AFI = 'IPv6SRPolicy'";
                          }
                          description
                            "IPV6 Policy Addr";
                          leaf ipv6-srpolicy-address {
                            type yang:hex-string;
                            description
                              "IPv6 address of thesrpolicy";
                          }
                        }  // container ipv6-sr-policy-address
    
                        leaf afi {
                          type Bgp-afi;
                          description "AFI";
                        }
    
                        leaf ipv4-address {
                          when "../afi = 'ipv4'" {
                            description
                              "../AFI = 'IPv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Addr";
                        }
    
                        leaf ipv4-mcast-address {
                          when
                            "../afi = 'ipv4-multicast'" {
                            description
                              "../AFI = 'IPv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Mcast Addr";
                        }
    
                        leaf ipv4-label-address {
                          when
                            "../afi = 'ipv4-labeled'" {
                            description
                              "../AFI = 'IPv4Labeled'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 Label Addr";
                        }
    
                        leaf ipv4-tunnel-address {
                          when
                            "../afi = 'ipv4-tunnel'" {
                            description
                              "../AFI = 'IPv4Tunnel'";
                          }
                          type Ipv4-tunnel-address;
                          description
                            "IPv4 Tunnel";
                        }
    
                        leaf ipv4-mdt-address {
                          when
                            "../afi = 'ipv4-mdt'" {
                            description
                              "../AFI = 'IPv4MDT'";
                          }
                          type Ipv4-mdt-address;
                          description
                            "IPv4 MDT Addr";
                        }
    
                        leaf ipv4vpn-address {
                          when
                            "../afi = 'vpnv4'" {
                            description
                              "../AFI = 'VPNv4'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Addr";
                        }
    
                        leaf ipv4vpna-mcastddress {
                          when
                            "../afi = 'vpnv4-multicast'" {
                            description
                              "../AFI = 'VPNv4Multicast'";
                          }
                          type inet:ipv4-address;
                          description
                            "IPv4 VPN Mcast Addr";
                        }
    
                        leaf ipv6-address {
                          when "../afi = 'ipv6'" {
                            description
                              "../AFI = 'IPv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Addr";
                        }
    
                        leaf ipv6-mcast-address {
                          when
                            "../afi = 'ipv6-multicast'" {
                            description
                              "../AFI = 'IPv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPV6 Mcast Addr";
                        }
    
                        leaf ipv6-label-address {
                          when
                            "../afi = 'ipv6-labeled'" {
                            description
                              "../AFI = 'IPv6Labeled'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 Label Addr";
                        }
    
                        leaf ipv6vpn-address {
                          when
                            "../afi = 'vpnv6'" {
                            description
                              "../AFI = 'VPNv6'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Addr";
                        }
    
                        leaf ipv6vpn-mcast-address {
                          when
                            "../afi = 'vpnv6-multicast'" {
                            description
                              "../AFI = 'VPNv6Multicast'";
                          }
                          type Ipv6-address;
                          description
                            "IPv6 VPN Mcast Addr";
                        }
    
                        leaf rt-constraint-address {
                          when
                            "../afi = 'rt-constraint'" {
                            description
                              "../AFI = 'RTConstraint'";
                          }
                          type Rt-constraint-address;
                          description
                            "RT Constrt Addr";
                        }
    
                        leaf ipv6mvpn-address {
                          when
                            "../afi = 'ipv6-mvpn'" {
                            description
                              "../AFI = 'IPv6MVPN'";
                          }
                          type Ipv6mvpn-address;
                          description
                            "MVPN addr";
                        }
    
                        leaf ipv4mvpn-address {
                          when
                            "../afi = 'ipv4-mvpn'" {
                            description
                              "../AFI = 'IPv4MVPN'";
                          }
                          type Ipv4mvpn-address;
                          description
                            "MVPN4 addr";
                        }
    
                        leaf ls-ls-address {
                          when
                            "../afi = 'ls-ls'" {
                            description
                              "../AFI = 'LS_LS'";
                          }
                          type Ls-ls-address;
                          description
                            "LINKSTATE LINKSTATE Addr";
                        }
    
                        leaf ipv4-flowspec-address {
                          when
                            "../afi = 'ipv4-flowspec'" {
                            description
                              "../AFI = 'IPv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 Flowspec Addr";
                        }
    
                        leaf ipv6-flowspec-address {
                          when
                            "../afi = 'ipv6-flowspec'" {
                            description
                              "../AFI = 'IPv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 Flowspec Addr";
                        }
    
                        leaf ipv4vpn-flowspec-address {
                          when
                            "../afi = 'vpnv4-flowspec'" {
                            description
                              "../AFI = 'VPNv4Flowspec'";
                          }
                          type Ipv4-flowspec-address;
                          description
                            "IPV4 VPN Flowspec Addr";
                        }
    
                        leaf ipv6vpn-flowspec-address {
                          when
                            "../afi = 'vpnv6-flowspec'" {
                            description
                              "../AFI = 'VPNv6Flowspec'";
                          }
                          type Ipv6-flowspec-address;
                          description
                            "IPV6 VPN Flowspec Addr";
                        }
                      }  // container neighbor-address
    
                      container track-created-ts {
                        description
                          "track created ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container track-created-ts
    
                      container track-created-age {
                        description
                          "track created age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container track-created-age
    
                      container nbr-af-event-ts {
                        description
                          "nbr af event ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container nbr-af-event-ts
    
                      container nbr-af-event-age {
                        description
                          "nbr af event age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container nbr-af-event-age
    
                      container status-change-ts {
                        description
                          "status change ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-change-ts
    
                      container status-change-age {
                        description
                          "status change age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-change-age
    
                      container status-notify-ts {
                        description
                          "status notify ts";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-notify-ts
    
                      container status-notify-age {
                        description
                          "status notify age";
                        leaf seconds {
                          type uint32;
                          units "second";
                          description
                            "Seconds part of time value";
                        }
    
                        leaf nanoseconds {
                          type uint32;
                          units "nanosecond";
                          description
                            "Nanoseconds part of time value";
                        }
                      }  // container status-notify-age
    
                      leaf vrf-name {
                        type string;
                        description "vrf name";
                      }
    
                      leaf afi {
                        type uint8;
                        description "afi";
                      }
    
                      leaf state {
                        type Bgp-track-state;
                        description
                          "BGP Track Entry State";
                      }
    
                      leaf flags {
                        type uint8;
                        description "flags";
                      }
    
                      leaf notify-state {
                        type Bgp-track-state;
                        description
                          "BGP Track Entry Previous State";
                      }
    
                      leaf prev-state {
                        type Bgp-track-state;
                        description
                          "BGP Track Entry Previous State";
                      }
                    }  // container entry
                  }  // list ot-prov-nbr-af-entry
                }  // container ot-prov-nbr-af-entries
              }  // container instance-standby
    
              leaf instance-name {
                type xr:Cisco-ios-xr-string;
                description
                  "Name of the BGP instance";
              }
            }  // list instance
          }  // container instances
    
          container bpm-instances-table {
            description
              "BGP instances information";
            container bpm-instances {
              description
                "BGP instances information";
              list instance {
                description
                  "Array of instance information";
                leaf instance-identifier {
                  type uint16;
                  description
                    "The identifier of the BGP instance";
                }
    
                leaf placed-group-id {
                  type uint16;
                  description
                    "Placed Group Identifier";
                }
    
                leaf instance-name-str {
                  type string;
                  description
                    "BGP Instance Name";
                }
    
                leaf as-number {
                  type uint32;
                  description "AS Number";
                }
    
                leaf number-of-vrfs {
                  type uint32;
                  description "Number of VRFs";
                }
    
                leaf read-only-enabled {
                  type boolean;
                  description
                    "Flag to indicate if BGP Read-Only mode is
    enabled";
                }
    
                leaf install-diversion-enabled {
                  type boolean;
                  description
                    "Flag to indicate if BGP Install diversion is
    enabled";
                }
    
                leaf srgb-start-configured {
                  type uint32;
                  description
                    "Configured start value of Segment-routing global
    block";
                }
    
                leaf srgb-end-configured {
                  type uint32;
                  description
                    "Configured end value of Segment-routing global
    block";
                }
    
                list af-array {
                  min-elements 25;
                  max-elements 25;
                  description
                    "Array of Address Families";
                  leaf entry {
                    type boolean;
                    description "Array entry.";
                  }
                }  // list af-array
              }  // list instance
            }  // container bpm-instances
    
            container bpm-orr-group-table-entries {
              description
                "Optimal Route Reflection Group Table in BPM";
              list bpm-orr-group-table-entry {
                key "orr-grp-name";
                description
                  "Optimal Route Reflection Group Table Entry in
                 BPM";
                leaf orr-grp-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The BGP Optimal Route Reflection Group Name";
                }
    
                container orr-root-address {
                  description "ORR Root Address";
                  container l2vpn-vpls-address {
                    when "../afi = 'l2vpn-vpls'" {
                      description
                        "../AFI = 'L2VPN_VPLS'";
                    }
                    description
                      "L2VPN VPLS Addr";
                    leaf l2vpn-address {
                      type yang:hex-string;
                      description
                        "L2vpn address of the protocol BGP";
                    }
                  }  // container l2vpn-vpls-address
    
                  container l2vpn-evpn-address {
                    when "../afi = 'l2vpn-evpn'" {
                      description
                        "../AFI = 'L2VPN_EVPN'";
                    }
                    description
                      "L2VPN EVPN Addr";
                    leaf l2vpn-evpn-address {
                      type yang:hex-string;
                      description
                        "l2vpn evpn address";
                    }
                  }  // container l2vpn-evpn-address
    
                  container l2vpn-mspw-address {
                    when "../afi = 'l2vpn-mspw'" {
                      description
                        "../AFI = 'L2VPN_MSPW'";
                    }
                    description
                      "L2VPN MSPW Addr";
                    leaf l2vpn-address {
                      type yang:hex-string;
                      description
                        "L2vpn address of the BGP mspw";
                    }
                  }  // container l2vpn-mspw-address
    
                  container ipv4-sr-policy-address {
                    when
                      "../afi = 'ipv4-sr-policy'" {
                      description
                        "../AFI = 'IPv4SRPolicy'";
                    }
                    description
                      "IPV4 Policy Addr";
                    leaf ipv4-srpolicy-address {
                      type yang:hex-string;
                      description
                        "IPv4 address of thesrpolicy";
                    }
                  }  // container ipv4-sr-policy-address
    
                  container ipv6-sr-policy-address {
                    when
                      "../afi = 'ipv6-sr-policy'" {
                      description
                        "../AFI = 'IPv6SRPolicy'";
                    }
                    description
                      "IPV6 Policy Addr";
                    leaf ipv6-srpolicy-address {
                      type yang:hex-string;
                      description
                        "IPv6 address of thesrpolicy";
                    }
                  }  // container ipv6-sr-policy-address
    
                  leaf afi {
                    type Bgp-afi;
                    description "AFI";
                  }
    
                  leaf ipv4-address {
                    when "../afi = 'ipv4'" {
                      description
                        "../AFI = 'IPv4'";
                    }
                    type inet:ipv4-address;
                    description "IPv4 Addr";
                  }
    
                  leaf ipv4-mcast-address {
                    when
                      "../afi = 'ipv4-multicast'" {
                      description
                        "../AFI = 'IPv4Multicast'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 Mcast Addr";
                  }
    
                  leaf ipv4-label-address {
                    when
                      "../afi = 'ipv4-labeled'" {
                      description
                        "../AFI = 'IPv4Labeled'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 Label Addr";
                  }
    
                  leaf ipv4-tunnel-address {
                    when
                      "../afi = 'ipv4-tunnel'" {
                      description
                        "../AFI = 'IPv4Tunnel'";
                    }
                    type Ipv4-tunnel-address;
                    description "IPv4 Tunnel";
                  }
    
                  leaf ipv4-mdt-address {
                    when "../afi = 'ipv4-mdt'" {
                      description
                        "../AFI = 'IPv4MDT'";
                    }
                    type Ipv4-mdt-address;
                    description "IPv4 MDT Addr";
                  }
    
                  leaf ipv4vpn-address {
                    when "../afi = 'vpnv4'" {
                      description
                        "../AFI = 'VPNv4'";
                    }
                    type inet:ipv4-address;
                    description "IPv4 VPN Addr";
                  }
    
                  leaf ipv4vpna-mcastddress {
                    when
                      "../afi = 'vpnv4-multicast'" {
                      description
                        "../AFI = 'VPNv4Multicast'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 VPN Mcast Addr";
                  }
    
                  leaf ipv6-address {
                    when "../afi = 'ipv6'" {
                      description
                        "../AFI = 'IPv6'";
                    }
                    type Ipv6-address;
                    description "IPV6 Addr";
                  }
    
                  leaf ipv6-mcast-address {
                    when
                      "../afi = 'ipv6-multicast'" {
                      description
                        "../AFI = 'IPv6Multicast'";
                    }
                    type Ipv6-address;
                    description
                      "IPV6 Mcast Addr";
                  }
    
                  leaf ipv6-label-address {
                    when
                      "../afi = 'ipv6-labeled'" {
                      description
                        "../AFI = 'IPv6Labeled'";
                    }
                    type Ipv6-address;
                    description
                      "IPv6 Label Addr";
                  }
    
                  leaf ipv6vpn-address {
                    when "../afi = 'vpnv6'" {
                      description
                        "../AFI = 'VPNv6'";
                    }
                    type Ipv6-address;
                    description "IPv6 VPN Addr";
                  }
    
                  leaf ipv6vpn-mcast-address {
                    when
                      "../afi = 'vpnv6-multicast'" {
                      description
                        "../AFI = 'VPNv6Multicast'";
                    }
                    type Ipv6-address;
                    description
                      "IPv6 VPN Mcast Addr";
                  }
    
                  leaf rt-constraint-address {
                    when
                      "../afi = 'rt-constraint'" {
                      description
                        "../AFI = 'RTConstraint'";
                    }
                    type Rt-constraint-address;
                    description
                      "RT Constrt Addr";
                  }
    
                  leaf ipv6mvpn-address {
                    when "../afi = 'ipv6-mvpn'" {
                      description
                        "../AFI = 'IPv6MVPN'";
                    }
                    type Ipv6mvpn-address;
                    description "MVPN addr";
                  }
    
                  leaf ipv4mvpn-address {
                    when "../afi = 'ipv4-mvpn'" {
                      description
                        "../AFI = 'IPv4MVPN'";
                    }
                    type Ipv4mvpn-address;
                    description "MVPN4 addr";
                  }
    
                  leaf ls-ls-address {
                    when "../afi = 'ls-ls'" {
                      description
                        "../AFI = 'LS_LS'";
                    }
                    type Ls-ls-address;
                    description
                      "LINKSTATE LINKSTATE Addr";
                  }
    
                  leaf ipv4-flowspec-address {
                    when
                      "../afi = 'ipv4-flowspec'" {
                      description
                        "../AFI = 'IPv4Flowspec'";
                    }
                    type Ipv4-flowspec-address;
                    description
                      "IPV4 Flowspec Addr";
                  }
    
                  leaf ipv6-flowspec-address {
                    when
                      "../afi = 'ipv6-flowspec'" {
                      description
                        "../AFI = 'IPv6Flowspec'";
                    }
                    type Ipv6-flowspec-address;
                    description
                      "IPV6 Flowspec Addr";
                  }
    
                  leaf ipv4vpn-flowspec-address {
                    when
                      "../afi = 'vpnv4-flowspec'" {
                      description
                        "../AFI = 'VPNv4Flowspec'";
                    }
                    type Ipv4-flowspec-address;
                    description
                      "IPV4 VPN Flowspec Addr";
                  }
    
                  leaf ipv6vpn-flowspec-address {
                    when
                      "../afi = 'vpnv6-flowspec'" {
                      description
                        "../AFI = 'VPNv6Flowspec'";
                    }
                    type Ipv6-flowspec-address;
                    description
                      "IPV6 VPN Flowspec Addr";
                  }
                }  // container orr-root-address
    
                container orr-sec-root-address {
                  description
                    "ORR Sec Root Address";
                  container l2vpn-vpls-address {
                    when "../afi = 'l2vpn-vpls'" {
                      description
                        "../AFI = 'L2VPN_VPLS'";
                    }
                    description
                      "L2VPN VPLS Addr";
                    leaf l2vpn-address {
                      type yang:hex-string;
                      description
                        "L2vpn address of the protocol BGP";
                    }
                  }  // container l2vpn-vpls-address
    
                  container l2vpn-evpn-address {
                    when "../afi = 'l2vpn-evpn'" {
                      description
                        "../AFI = 'L2VPN_EVPN'";
                    }
                    description
                      "L2VPN EVPN Addr";
                    leaf l2vpn-evpn-address {
                      type yang:hex-string;
                      description
                        "l2vpn evpn address";
                    }
                  }  // container l2vpn-evpn-address
    
                  container l2vpn-mspw-address {
                    when "../afi = 'l2vpn-mspw'" {
                      description
                        "../AFI = 'L2VPN_MSPW'";
                    }
                    description
                      "L2VPN MSPW Addr";
                    leaf l2vpn-address {
                      type yang:hex-string;
                      description
                        "L2vpn address of the BGP mspw";
                    }
                  }  // container l2vpn-mspw-address
    
                  container ipv4-sr-policy-address {
                    when
                      "../afi = 'ipv4-sr-policy'" {
                      description
                        "../AFI = 'IPv4SRPolicy'";
                    }
                    description
                      "IPV4 Policy Addr";
                    leaf ipv4-srpolicy-address {
                      type yang:hex-string;
                      description
                        "IPv4 address of thesrpolicy";
                    }
                  }  // container ipv4-sr-policy-address
    
                  container ipv6-sr-policy-address {
                    when
                      "../afi = 'ipv6-sr-policy'" {
                      description
                        "../AFI = 'IPv6SRPolicy'";
                    }
                    description
                      "IPV6 Policy Addr";
                    leaf ipv6-srpolicy-address {
                      type yang:hex-string;
                      description
                        "IPv6 address of thesrpolicy";
                    }
                  }  // container ipv6-sr-policy-address
    
                  leaf afi {
                    type Bgp-afi;
                    description "AFI";
                  }
    
                  leaf ipv4-address {
                    when "../afi = 'ipv4'" {
                      description
                        "../AFI = 'IPv4'";
                    }
                    type inet:ipv4-address;
                    description "IPv4 Addr";
                  }
    
                  leaf ipv4-mcast-address {
                    when
                      "../afi = 'ipv4-multicast'" {
                      description
                        "../AFI = 'IPv4Multicast'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 Mcast Addr";
                  }
    
                  leaf ipv4-label-address {
                    when
                      "../afi = 'ipv4-labeled'" {
                      description
                        "../AFI = 'IPv4Labeled'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 Label Addr";
                  }
    
                  leaf ipv4-tunnel-address {
                    when
                      "../afi = 'ipv4-tunnel'" {
                      description
                        "../AFI = 'IPv4Tunnel'";
                    }
                    type Ipv4-tunnel-address;
                    description "IPv4 Tunnel";
                  }
    
                  leaf ipv4-mdt-address {
                    when "../afi = 'ipv4-mdt'" {
                      description
                        "../AFI = 'IPv4MDT'";
                    }
                    type Ipv4-mdt-address;
                    description "IPv4 MDT Addr";
                  }
    
                  leaf ipv4vpn-address {
                    when "../afi = 'vpnv4'" {
                      description
                        "../AFI = 'VPNv4'";
                    }
                    type inet:ipv4-address;
                    description "IPv4 VPN Addr";
                  }
    
                  leaf ipv4vpna-mcastddress {
                    when
                      "../afi = 'vpnv4-multicast'" {
                      description
                        "../AFI = 'VPNv4Multicast'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 VPN Mcast Addr";
                  }
    
                  leaf ipv6-address {
                    when "../afi = 'ipv6'" {
                      description
                        "../AFI = 'IPv6'";
                    }
                    type Ipv6-address;
                    description "IPV6 Addr";
                  }
    
                  leaf ipv6-mcast-address {
                    when
                      "../afi = 'ipv6-multicast'" {
                      description
                        "../AFI = 'IPv6Multicast'";
                    }
                    type Ipv6-address;
                    description
                      "IPV6 Mcast Addr";
                  }
    
                  leaf ipv6-label-address {
                    when
                      "../afi = 'ipv6-labeled'" {
                      description
                        "../AFI = 'IPv6Labeled'";
                    }
                    type Ipv6-address;
                    description
                      "IPv6 Label Addr";
                  }
    
                  leaf ipv6vpn-address {
                    when "../afi = 'vpnv6'" {
                      description
                        "../AFI = 'VPNv6'";
                    }
                    type Ipv6-address;
                    description "IPv6 VPN Addr";
                  }
    
                  leaf ipv6vpn-mcast-address {
                    when
                      "../afi = 'vpnv6-multicast'" {
                      description
                        "../AFI = 'VPNv6Multicast'";
                    }
                    type Ipv6-address;
                    description
                      "IPv6 VPN Mcast Addr";
                  }
    
                  leaf rt-constraint-address {
                    when
                      "../afi = 'rt-constraint'" {
                      description
                        "../AFI = 'RTConstraint'";
                    }
                    type Rt-constraint-address;
                    description
                      "RT Constrt Addr";
                  }
    
                  leaf ipv6mvpn-address {
                    when "../afi = 'ipv6-mvpn'" {
                      description
                        "../AFI = 'IPv6MVPN'";
                    }
                    type Ipv6mvpn-address;
                    description "MVPN addr";
                  }
    
                  leaf ipv4mvpn-address {
                    when "../afi = 'ipv4-mvpn'" {
                      description
                        "../AFI = 'IPv4MVPN'";
                    }
                    type Ipv4mvpn-address;
                    description "MVPN4 addr";
                  }
    
                  leaf ls-ls-address {
                    when "../afi = 'ls-ls'" {
                      description
                        "../AFI = 'LS_LS'";
                    }
                    type Ls-ls-address;
                    description
                      "LINKSTATE LINKSTATE Addr";
                  }
    
                  leaf ipv4-flowspec-address {
                    when
                      "../afi = 'ipv4-flowspec'" {
                      description
                        "../AFI = 'IPv4Flowspec'";
                    }
                    type Ipv4-flowspec-address;
                    description
                      "IPV4 Flowspec Addr";
                  }
    
                  leaf ipv6-flowspec-address {
                    when
                      "../afi = 'ipv6-flowspec'" {
                      description
                        "../AFI = 'IPv6Flowspec'";
                    }
                    type Ipv6-flowspec-address;
                    description
                      "IPV6 Flowspec Addr";
                  }
    
                  leaf ipv4vpn-flowspec-address {
                    when
                      "../afi = 'vpnv4-flowspec'" {
                      description
                        "../AFI = 'VPNv4Flowspec'";
                    }
                    type Ipv4-flowspec-address;
                    description
                      "IPV4 VPN Flowspec Addr";
                  }
    
                  leaf ipv6vpn-flowspec-address {
                    when
                      "../afi = 'vpnv6-flowspec'" {
                      description
                        "../AFI = 'VPNv6Flowspec'";
                    }
                    type Ipv6-flowspec-address;
                    description
                      "IPV6 VPN Flowspec Addr";
                  }
                }  // container orr-sec-root-address
    
                container orr-ter-root-address {
                  description
                    "ORR ter Root Address";
                  container l2vpn-vpls-address {
                    when "../afi = 'l2vpn-vpls'" {
                      description
                        "../AFI = 'L2VPN_VPLS'";
                    }
                    description
                      "L2VPN VPLS Addr";
                    leaf l2vpn-address {
                      type yang:hex-string;
                      description
                        "L2vpn address of the protocol BGP";
                    }
                  }  // container l2vpn-vpls-address
    
                  container l2vpn-evpn-address {
                    when "../afi = 'l2vpn-evpn'" {
                      description
                        "../AFI = 'L2VPN_EVPN'";
                    }
                    description
                      "L2VPN EVPN Addr";
                    leaf l2vpn-evpn-address {
                      type yang:hex-string;
                      description
                        "l2vpn evpn address";
                    }
                  }  // container l2vpn-evpn-address
    
                  container l2vpn-mspw-address {
                    when "../afi = 'l2vpn-mspw'" {
                      description
                        "../AFI = 'L2VPN_MSPW'";
                    }
                    description
                      "L2VPN MSPW Addr";
                    leaf l2vpn-address {
                      type yang:hex-string;
                      description
                        "L2vpn address of the BGP mspw";
                    }
                  }  // container l2vpn-mspw-address
    
                  container ipv4-sr-policy-address {
                    when
                      "../afi = 'ipv4-sr-policy'" {
                      description
                        "../AFI = 'IPv4SRPolicy'";
                    }
                    description
                      "IPV4 Policy Addr";
                    leaf ipv4-srpolicy-address {
                      type yang:hex-string;
                      description
                        "IPv4 address of thesrpolicy";
                    }
                  }  // container ipv4-sr-policy-address
    
                  container ipv6-sr-policy-address {
                    when
                      "../afi = 'ipv6-sr-policy'" {
                      description
                        "../AFI = 'IPv6SRPolicy'";
                    }
                    description
                      "IPV6 Policy Addr";
                    leaf ipv6-srpolicy-address {
                      type yang:hex-string;
                      description
                        "IPv6 address of thesrpolicy";
                    }
                  }  // container ipv6-sr-policy-address
    
                  leaf afi {
                    type Bgp-afi;
                    description "AFI";
                  }
    
                  leaf ipv4-address {
                    when "../afi = 'ipv4'" {
                      description
                        "../AFI = 'IPv4'";
                    }
                    type inet:ipv4-address;
                    description "IPv4 Addr";
                  }
    
                  leaf ipv4-mcast-address {
                    when
                      "../afi = 'ipv4-multicast'" {
                      description
                        "../AFI = 'IPv4Multicast'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 Mcast Addr";
                  }
    
                  leaf ipv4-label-address {
                    when
                      "../afi = 'ipv4-labeled'" {
                      description
                        "../AFI = 'IPv4Labeled'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 Label Addr";
                  }
    
                  leaf ipv4-tunnel-address {
                    when
                      "../afi = 'ipv4-tunnel'" {
                      description
                        "../AFI = 'IPv4Tunnel'";
                    }
                    type Ipv4-tunnel-address;
                    description "IPv4 Tunnel";
                  }
    
                  leaf ipv4-mdt-address {
                    when "../afi = 'ipv4-mdt'" {
                      description
                        "../AFI = 'IPv4MDT'";
                    }
                    type Ipv4-mdt-address;
                    description "IPv4 MDT Addr";
                  }
    
                  leaf ipv4vpn-address {
                    when "../afi = 'vpnv4'" {
                      description
                        "../AFI = 'VPNv4'";
                    }
                    type inet:ipv4-address;
                    description "IPv4 VPN Addr";
                  }
    
                  leaf ipv4vpna-mcastddress {
                    when
                      "../afi = 'vpnv4-multicast'" {
                      description
                        "../AFI = 'VPNv4Multicast'";
                    }
                    type inet:ipv4-address;
                    description
                      "IPv4 VPN Mcast Addr";
                  }
    
                  leaf ipv6-address {
                    when "../afi = 'ipv6'" {
                      description
                        "../AFI = 'IPv6'";
                    }
                    type Ipv6-address;
                    description "IPV6 Addr";
                  }
    
                  leaf ipv6-mcast-address {
                    when
                      "../afi = 'ipv6-multicast'" {
                      description
                        "../AFI = 'IPv6Multicast'";
                    }
                    type Ipv6-address;
                    description
                      "IPV6 Mcast Addr";
                  }
    
                  leaf ipv6-label-address {
                    when
                      "../afi = 'ipv6-labeled'" {
                      description
                        "../AFI = 'IPv6Labeled'";
                    }
                    type Ipv6-address;
                    description
                      "IPv6 Label Addr";
                  }
    
                  leaf ipv6vpn-address {
                    when "../afi = 'vpnv6'" {
                      description
                        "../AFI = 'VPNv6'";
                    }
                    type Ipv6-address;
                    description "IPv6 VPN Addr";
                  }
    
                  leaf ipv6vpn-mcast-address {
                    when
                      "../afi = 'vpnv6-multicast'" {
                      description
                        "../AFI = 'VPNv6Multicast'";
                    }
                    type Ipv6-address;
                    description
                      "IPv6 VPN Mcast Addr";
                  }
    
                  leaf rt-constraint-address {
                    when
                      "../afi = 'rt-constraint'" {
                      description
                        "../AFI = 'RTConstraint'";
                    }
                    type Rt-constraint-address;
                    description
                      "RT Constrt Addr";
                  }
    
                  leaf ipv6mvpn-address {
                    when "../afi = 'ipv6-mvpn'" {
                      description
                        "../AFI = 'IPv6MVPN'";
                    }
                    type Ipv6mvpn-address;
                    description "MVPN addr";
                  }
    
                  leaf ipv4mvpn-address {
                    when "../afi = 'ipv4-mvpn'" {
                      description
                        "../AFI = 'IPv4MVPN'";
                    }
                    type Ipv4mvpn-address;
                    description "MVPN4 addr";
                  }
    
                  leaf ls-ls-address {
                    when "../afi = 'ls-ls'" {
                      description
                        "../AFI = 'LS_LS'";
                    }
                    type Ls-ls-address;
                    description
                      "LINKSTATE LINKSTATE Addr";
                  }
    
                  leaf ipv4-flowspec-address {
                    when
                      "../afi = 'ipv4-flowspec'" {
                      description
                        "../AFI = 'IPv4Flowspec'";
                    }
                    type Ipv4-flowspec-address;
                    description
                      "IPV4 Flowspec Addr";
                  }
    
                  leaf ipv6-flowspec-address {
                    when
                      "../afi = 'ipv6-flowspec'" {
                      description
                        "../AFI = 'IPv6Flowspec'";
                    }
                    type Ipv6-flowspec-address;
                    description
                      "IPV6 Flowspec Addr";
                  }
    
                  leaf ipv4vpn-flowspec-address {
                    when
                      "../afi = 'vpnv4-flowspec'" {
                      description
                        "../AFI = 'VPNv4Flowspec'";
                    }
                    type Ipv4-flowspec-address;
                    description
                      "IPV4 VPN Flowspec Addr";
                  }
    
                  leaf ipv6vpn-flowspec-address {
                    when
                      "../afi = 'vpnv6-flowspec'" {
                      description
                        "../AFI = 'VPNv6Flowspec'";
                    }
                    type Ipv6-flowspec-address;
                    description
                      "IPV6 VPN Flowspec Addr";
                  }
                }  // container orr-ter-root-address
    
                leaf orr-group-name {
                  type string;
                  description "ORR Group Name";
                }
    
                leaf is-orr-group-ipv4 {
                  type boolean;
                  description
                    "Is IPv4 ORR Group";
                }
    
                leaf is-orr-global-defined {
                  type boolean;
                  description
                    "Is ORR group configured globally";
                }
    
                leaf orrafi-ref-count {
                  type uint32;
                  description
                    "Number of used afis";
                }
    
                leaf neighbor-count {
                  type uint32;
                  description
                    "Used by Total number of neighbors";
                }
    
                leaf is-orr-root-address-configured {
                  type boolean;
                  description
                    "ORR Root address configured";
                }
    
                leaf is-orr-sec-root-address-configured {
                  type boolean;
                  description
                    "ORR Sec Root address configured";
                }
    
                leaf is-orr-ter-root-address-configured {
                  type boolean;
                  description
                    "ORR Ter Root address configured";
                }
    
                list neighbor-af-count {
                  max-elements 25;
                  description
                    "Used by Total number of neighbors per afi";
                  leaf entry {
                    type uint32;
                    description
                      "Used by Total number of neighbors per afi";
                  }
                }  // list neighbor-af-count
    
                list used-af {
                  min-elements 25;
                  max-elements 25;
                  description
                    "Is ORR group used by af";
                  leaf entry {
                    type boolean;
                    description "Array entry.";
                  }
                }  // list used-af
              }  // list bpm-orr-group-table-entry
            }  // container bpm-orr-group-table-entries
          }  // container bpm-instances-table
        }  // container bgp
      }  // module Cisco-IOS-XR-ipv4-bgp-oper
    

© 2024 YumaWorks, Inc. All rights reserved.